Build UI easily with these new and changed components.
New Components
These components are new.
- lightning-empty-state (Beta)
- Adds meaningful visuals and content to your components that show empty states. For more information, see Display Consistent Empty State Illustrations With Theme Support (Beta).
- lightning-illustration (Beta)
- Shows empty state illustrations without descriptive text or buttons. For more information, see Display Consistent Empty State Illustrations With Theme Support (Beta).
Changed Lightning Web Components
These components have changed.
- lightning-combobox
- This component now correctly participates in validation and form submissions. The browser can set focus on the component when it contains an invalid value and the form is validated on submission.
- lightning-datatable
- When the status bar appears during inline editing, the height of the table container has been reduced by 3rem when there's more content than can fit the horizontal viewport. Reducing the height of the container makes the horizontal scroller visible above the status bar in the table footer.
- These accessibility behaviors are new.
- When you specify
displayReadOnlyIcon: trueandeditable:false, the lock icon now displays inside a<span>element that containsaria-label="Locked Column Name"androle="image", whereColumn Namerefers to the label that you define for the column. - The
<span>element that contains assistive text for the lock icon has been removed.
- When you specify
- lightning-flexcard
- This attribute is new.
lwr—Determines whether the component is compatible with Lightning Web Runtime (LWR) sites. Set this parameter totrueif you want to embed your Flexcard on an LWR site.
- lightning-input
- The calendar on the input fields of type
dateanddatetimehave these accessibility changes.- The
<select>element for month and year selections now specify thearia-describedbyattribute. The<div>element that specifiesrole="status"contains an empty<div>element. When a field-level error occurs, the element renders assistive text for screen readers. - The
tabindexattribute has been moved from the<td>elements on the calendar to the day buttons, which are inner<span>elements that specifyrole="button". - The
aria-selected,aria-current, andaria-disabledattributes have been moved to the inner<span>element that specifiesrole="button". - The
aria-labelattribute has been added to the<span>element that specifiesrole="button", which indicatesday month year, button. For example:8 October 2025, button, depending on the screen reader.
- The
- Required fields of type
checkbox,date,datetime,time, andfilehave these accessibility changes.- The
<abbr>element specifiesaria-hidden="true".
- The
- lightning-input-address
- If the Geolocation API times out after 10 seconds, the address lookup field defaults to San Francisco, CA with a latitude of 37.790091 and longitude of -122.396848 instead of your current position. A timeout can occur due to factors such as browser security settings, network conditions, and device capabilities.
- lightning-input-field
- The calendar on the input field of type
dateanddatetimehas the same accessibility changes as those forlightning-input. - lightning-input-rich-text
- The default font size is now 13, which you can also select from the font menu.
- This component now supports manual image upload (developer preview). Note Manual image upload is available as a developer preview. This feature isn’t generally available unless or until Salesforce announces its general availability in documentation or in press releases or public statements. All commands, parameters, and other features are subject to change or deprecation at any time, with or without notice. Don't implement functionality in production with these commands or tools.
- This attribute is new.
manual-image-upload—If present, an image is inserted in the rich text editor but not uploaded. To upload images when using this attribute, calluploadPendingImages().
- This method is new.
uploadPendingImages()—Uploads images that you insert in the rich text editor. Returns a promise that resolves with an array of results, one per image:- When an image upload successfully, the results include the
imageId,file,success:true,downloadUrl, andcontentVersionId. - When the image upload fails, the results include the
imageId,file,success: false, anderror.
- When an image upload successfully, the results include the
- These custom events are new.
imageupload—The event fired when an image upload succeeds. The event detail properties include:imageId—The image's tracking ID, which uses pending-img- followed by the timestamp that represents when the image was inserted, and a unique identifier.file—The uploaded file, which includes the file name, size, and type.success—Specifiestruewhen an image upload is successful.downloadUrl—The permanent URL for the uploaded image.contentVersionId—The ContentVersion ID for the image. The ContentVersion ID is prefixed with068.
imageuploaderror—The event fired when an image insert or upload fails. The event detail properties include:error—The upload error message, which can be returned when an upload fails. When the image upload fails, the image continues to be available at the temporary URL until a successful upload.file—The rejected file, which includes the file name, size, and type.imageId—The image's tracking ID, which uses pending-img- followed by the timestamp that represents when the image was inserted, and a unique identifier. The ID is returned when an upload fails.maxSize—The maximum file size in bytes, which is 1 MB or 1,048,576 bytes. Files exceeding this limit are not inserted into the rich text editor.reason—The cause of the image upload error. Possible reasons areSIZE_EXCEEDEDandUPLOAD_FAILED.
- lightning-omniscript
- This attribute is new.
lwr—Determines whether the component is compatible with Lightning Web Runtime (LWR) sites. Set this parameter totrueif you want to embed your Omniscript on an LWR site.
- lightning-radio-group
- A
<div>element that specifiesrole="status"has been added to contain an empty<div>element on load. When a field-level error occurs, the element renders a<span>element with the field label as assistive text for screen readers. - lightning-select
- The
<div>element that specifiesrole="status"now contains an empty<div>element on load. When a field-level error occurs, the element renders a<span>element with the field label as assistive text for screen readers. - lightning-tree
- The chevron icon next to the tree item now uses the bare variant and displays in blue.
- lightning-tree-grid
- After you press the Right Arrow key on a row to expand the row, the subsequent Right Arrow key press now focuses on the checkbox column, if the column isn't hidden.