Tabs
The Tabs component provides a set of layered sections displayed one at a time, allowing for organized content presentation.
Preview

Usage
Props
Prop
Description
Required
Value
className
custom style
optional
SCSS or Tailwind
defaultValue
default selected tab name
required
string
Notes
The
Tabscomponent usesTabsPrimitivefrom@radix-ui/react-tabsfor tab functionality.The
classNameprop allows for custom styling to be applied.The
defaultValueprop specifies the default selected tab.For more details, refer to the Shadcn Tabs documentation.
Last updated
Was this helpful?