Standard Visualforce Components and Base Lightning Web Components Side by Side

Use this table to find the equivalent base Lightning web component for a specific standard Visualforce component.

Visualforce componentLightning web component
apex:pageBlocklightning-card
apex:pageBlockButtonsSet actions slot on lightning-card
apex:pageBlockSectionlightning-accordion and lightning-accordion-section
apex:pageBlockSectionItemlightning-layout and lightning-layout-item
apex:toolbarGrouplightning-layout and lightning-layout-item
apex:panelGridlightning-layout and lightning-layout-item
apex:panelGrouplightning-layout and lightning-layout-item
apex:tabPanellightning-tabset
apex:tablightning-tab
apex:repeattemplate for:each or iterator
apex:pageBlockTablelightning-datatable
apex:dataTablelightning-datatable
apex:inlineEditSupportlightning-datatable with inline editing in editable columns
apex:imagelightning-platform-resource-loader
apex:stylesheetlightning-platform-resource-loader
apex:includeScriptlightning-platform-resource-loader
apex:maplightning-map
apex:formlightning-record-form, lightning-record-view-form, and lightning-record-edit-form
apex:inputlightning-input and lightning-slider
apex:inputCheckboxlightning-input type=“checkbox” or lightning-input type=“checkbox-button”
apex:inputFilelightning-input type=“file” or lightning-file-upload
apex:inputHiddenlightning-input class=“slds-hide”
apex:inputSecretlightning-input type=“password”
apex:inputTextlightning-input type=“text”
apex:inputTextArealightning-textarea
apex:inputFieldlightning-input-field
apex:selectCheckboxeslightning-checkbox-group
apex:selectListlightning-combobox or lightning-dual-listbox
apex:selectRadiolightning-radio-group
apex:outputLabelSet label attribute on lightning-input
apex:outputFieldlightning-output-field
apex:outputLinklightning-formatted-url
apex:outputTextlightning-formatted-datetime, lightning-formatted-number, lightning-formatted-rich-text, lightning-formatted-text, or lightning-formatted-time
apex:commandButtonlightning-button, lightning-button-stateful, lightning-button-icon, or lightning-button-icon-stateful
apex:commandLinklightning-button with bare variant
apex:pageMessagelightning-platform-show-toast-event
apex:messages or apex:messageCustom validity on lightning-input
apex:pageMessagesAutomatic for lightning-record-form. Use lightning-messages in lightning-record-view-form or lightning-record-edit-form

See Also