Loading
×Sorry to interrupt
CSS Error
Lightning Web Component

Input

  • Represents interactive controls that accept user input depending on the type attribute.

    Descriptor

    lightning-input

    Targets

    Lightning Experience, Experience Builder Sites, Salesforce Mobile App, Standalone Lightning App, Mobile Offline

Component examples use older versions of SLDS and base Lightning components. Recent color updates for accessibility aren't reflected in the examples. See the Lightning Web Components Developer Guide for more information.

Text input fields are for entering single-line text.
Example
Documentation
Specification