I've begun to work on lightning component last days ago and I wonder why two different tags exist for the same things. For example, what is the different between lightning:select and ui:inputSelect? All of them are used in lightning apps and more lightning:select already have "lightning style", so why should I use ui:inputSelect instead of lightning:select? Thanks in advance.

2 Answers 2


You can find the answer in the Winter 17 release notes here

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.


The ui namespace components are being retired and won't be supported beyond Summer 21.

See the release notes. They include a list of suggested replacements within the lightning namespace.

The ui components are scheduled for retirement in all Salesforce orgs in Summer ’21. Use similar components in the lightning namespace instead. Retiring our legacy components enables us to focus on components that match the latest web standards in performance, accessibility, user experience, and internationalization.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .