Note: You only need to import a web component once in your code, as it registers itself globally when defined, allowing you to use it anywhere within your application without needing to re-import it each time you want to use the component.
This component is still in development and cannot be imported at this time.
Slots
Name
Description
(default)
The tab panel's content.
Properties
Please note, both DOM properties and HTML attributes are shown in the table below. Unless otherwise specified, the property and attribute names are identical.
Property/Attribute
Reflects
Type
Default
name
string
''
active
boolean
false
Parts
Name
Description
base
The component's base wrapper.
Usage
This section includes guidelines for designers and developers about the usage of this component in different contexts.
Do
Use Tabs to contain multiple panels of content within a single window or container
Use Tabs to organize similar content types related to the user needs
Dont
Use tabs as a primary navigation pattern - use side nav
Use any other components within tab groups other than tabs