Tabs
Last updated
Was this helpful?
Last updated
Was this helpful?
The Tabs
component provides a set of layered sections displayed one at a time, allowing for organized content presentation.
className
custom style
optional
SCSS or Tailwind
defaultValue
default selected tab name
required
string
The Tabs
component uses TabsPrimitive
from @radix-ui/react-tabs
for tab functionality.
The className
prop allows for custom styling to be applied.
The defaultValue
prop specifies the default selected tab.
For more details, refer to the .