+ Start a Discussion
Nilesh Borse 9Nilesh Borse 9 

Difference between Lightning:input & ui:input in lightning component

I am littile bit confuse about <lightnign:input /> & <ui:input /> when to use which and what differences does it makes?
 
Best Answer chosen by Nilesh Borse 9
Rahul KumarRahul Kumar (Salesforce Developers) 
Hi Nilesh,

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.

Please refer the below link for reference. hope it will help.

Please mark it as best answer if the information is informative.so that question is removed from an unanswered question and appear as a proper solution.

Thanks
Rahul Kumar