3

Working in a Lightning App, and not sure if all Aura components are supported.

I am currently trying to implement ui:tabset, as follows:

<aura:component >
    <ui:tabset class="tabset">
    <ui:tab title="Tab 1">
        <p>Tab 1</p>
            Tab 1 Content
    </ui:tab>
    <ui:tab title="Tab 2" >
         <p>Tab 2</p>
             Tab 2 Content
         </ui:tab>
    <ui:tab title="Tab 3" active="{!true}" >
        <p>Tab 3</p>
              Tab 3 Content
    </ui:tab>
    <ui:tab title="Tab 4" >
        <p>Tab 4</p>
               Tab 4 Content
    </ui:tab>
</ui:tabset> 
</aura:component>

When saving, I receive the following error -

Failed to save undefined: No COMPONENT named tabset found: Source

Is ui:tabset not available in Lightning components, or am I missing something else?

6

ui:tabset is available as part of the open-source Aura Framework, and not for Lightning Components. You can view the list of supported components in your org by going to https://<mySalesforceInstance>.lightning.force.com/auradocs/reference.app, where <mySalesforceInstance> is the name of the instance hosting your org; for example, na1.

https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/ref_doc_app.htm


EDIT: November 26, 2016

The tabset component is available now under ligthning namespace lightning:tabset however it is still in BETA.

| improve this answer | |
  • That's where I'm currently at - very limited subset. Anyway to enable the additional components? – Kelly J Andrews Feb 24 '15 at 18:21
  • The components are part of the release, so you're seeing what's there. We plan to release additional components in future releases. – Skip Sauls Feb 24 '15 at 18:53
1

There's a tab component available in the SLDSX package on GitHub:

https://github.com/ForceDotComLabs/sldsx

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.