A component that displays content as multiple interactive tabs.
For more examples, visit the Storybook.
StudsTabs
PropsIf true, the component will render as a child of the parent component.
The value of the tab that should be active when initially rendered.
The controlled value of the active tab. Should be used with onValueChange
.
Callback that fires when the active tab is changed.
The orientation of the tabs.
The direction of the tabs.
The activation mode of the tabs.
StudsTabsList
PropsIf true, the component will render as a child of the parent component.
If true, the tabs will loop when navigating.
StudsTabsTrigger
PropsIf true, the component will render as a child of the parent component.
A unique value that associates the trigger with a content panel.
When true, prevents the user from interacting with the tab.
StudsTabsContent
PropsIf true, the component will render as a child of the parent component.
A unique value that associates the content with a trigger.
Used to force mounting when more control is needed.
For more examples, visit the Storybook.
StudsTabs
PropsIf true, the component will render as a child of the parent component.
The value of the tab that should be active when initially rendered.
The controlled value of the active tab. Should be used with onValueChange
.
Callback that fires when the active tab is changed.
The orientation of the tabs.
The direction of the tabs.
The activation mode of the tabs.
StudsTabsList
PropsIf true, the component will render as a child of the parent component.
If true, the tabs will loop when navigating.
StudsTabsTrigger
PropsIf true, the component will render as a child of the parent component.
A unique value that associates the trigger with a content panel.
When true, prevents the user from interacting with the tab.
StudsTabsContent
PropsIf true, the component will render as a child of the parent component.
A unique value that associates the content with a trigger.
Used to force mounting when more control is needed.
For more examples, visit the Storybook.
StudsTabs
ParametersGets or sets the render mode for the tabs. Can be either Server or Client.
Gets or sets the index of the selected tab.
Gets or sets the callback that is invoked when the selected index changes.
Gets or sets the callback that is invoked when a tab selection changes.
Gets or sets the tab items to be displayed.
Specifies additional custom attributes that will be rendered by the component.
Gets or sets the callback that is invoked when the mouse enters an item.
Gets or sets the callback that is invoked when the mouse leaves an item.
A callback that will be invoked when the user right-clicks the component. Commonly used to display a context menu.
Gets or sets the culture used to display localizable data (numbers, dates). Set by default to “CultureInfo.CurrentCulture”.
Gets or sets the inline CSS style.
Gets or sets a value indicating whether this “T:Studs.StudsComponent” is visible. Invisible components are not rendered.
StudsTabsItem
ParametersGets or sets the text content of the tab.
Gets or sets the icon for the tab.
Gets or sets the color of the tab icon.
Gets or sets whether this tab is selected.
Gets or sets whether this tab is disabled.
Gets or sets whether this tab is visible.
Gets or sets custom template content for the tab.
Gets or sets the content to be displayed when the tab is selected.
Gets or sets the arbitrary attributes.
Gets or sets the style.