Activity Forums Salesforce® Discussions What is the difference between lightning:input and ui:input in Salesforce

  • What is the difference between lightning:input and ui:input in Salesforce

    Posted by Shweta on August 7, 2020 at 2:51 pm

    <div>What is the difference between lightning:input and ui:input in Salesforce Lightning?</div>

    Sumit replied 2 years, 1 month ago 3 Members · 2 Replies
  • 2 Replies
  • Aditya

    Member
    August 8, 2020 at 8:04 pm

    You can find base Lightning components in the lightning namespace to complement the existing ui namespace components. In instances where there are matching ui and lightning namespace components, we recommend that you use the lightning namespace component. The lightning namespace components are optimized for common use cases. Beyond being equipped with the Lightning Design System styling, they handle accessibility, real-time interaction, and enhanced error messages.

  • Sumit

    Member
    August 9, 2020 at 9:41 am

    You can find base Lightning components in the lightning namespace to complement the existing ui namespace components. In instances where there are matching ui and lightning namespace components, we recommend that you use the lightning namespace component. The lightning namespace components are optimized for common use cases. Beyond being equipped with the Lightning Design System styling, they handle accessibility, real-time interaction, and enhanced error messages.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos