Component Tab

The tabs component is used to create a container that wraps all other tab components.

Code

Example

Tab oneTab twoTab three

Props

AttrTypeDefaultDocs

active

boolean

This boolean controls if the tab is active.

dark

boolean

false

name

string

This property sets the name of the tab.

tab-id

string

generateId('som-tab')

This property can be used to specifically set an ID to the tab. If an ID is not provided, it will be dynamically generated.

Events

EventDetailDocs

tabClick

any

Get in touch

Do you have an idea, or want to help us improve this page? Reach out to us via email.

DTMB-DG-Support@michigan.gov

Need help? Visit our Support page to learn how to get assistance, troubleshoot issues, and connect with the team.