Blazorise Tab API

Explore the Blazorise Tab API reference for parameters, events, methods, and related types.

For examples and usage guidance, see the Tab documentation.

API

Parameters

Tabs

ParameterDefaultType
AriaLabel—string

Specifies the accessible name of the tab list when no visible label is available.
AriaLabelledBy—string

Specifies the space-separated IDs of elements that label the tab list.
ChildContentnullRenderFragment

Specifies the content to be rendered inside this Tabs.
ContentnullRenderFragment

Container for tab panes.
FullWidthfalsebool

Makes the tab items to extend the full available width.
ItemsnullRenderFragment

Container for tab items.
Justifiedfalsebool

Makes the tab items to extend the full available width, but every item will be the same width.
Pillsfalsebool

Makes the tab items to appear as pills.
RenderModeTabsRenderMode.DefaultTabsRenderMode

Specifies how the tabs content will be rendered.
Possible values:DefaultLazyLoadLazyReload
SelectedTab—string

Specifies the currently selected tab name.
TabPositionTabPosition.TopTabPosition

Position of tab items.
Possible values:TopBottomStartEnd
VerticalItemsColumnSizeAutoIFluentColumn

Controls the size of the items bar when in vertical mode.
When omitted, uses ColumnSize.IsAuto.

Tab

ParameterDefaultType
AriaLabelledBy—string

Specifies the space-separated IDs of elements that label this tab.
ChildContentnullRenderFragment

Specifies the content to be rendered inside this Tab.
Disabledfalsebool

Flag to indicate that the tab is not responsive for user interaction.
Name—string

Specifies the tab name. Must match the corresponding panel name.

TabsContent

ParameterDefaultType
ChildContentnullRenderFragment

Specifies the content to be rendered inside this TabsContent.
RenderModeTabsRenderMode.DefaultTabsRenderMode

Specifies how the tabs content will be rendered.
Possible values:DefaultLazyLoadLazyReload
SelectedPanel—string

Specifies the currently selected panel name.

TabPanel

ParameterDefaultType
ChildContentnullRenderFragment

Specifies the content to be rendered inside this TabPanel.
Focusabletruebool

Gets or sets whether the active panel is included in the keyboard Tab sequence. Defaults to true. Setting this to false does not affect focusable elements inside the panel.
Name—string

Specifies the panel name. Must match the corresponding tab name.

Events

Tabs

EventType
SelectedTabChangedEventCallback<string>

Occurs after the selected tab has changed.

Tab

EventType
ClickedEventCallback<MouseEventArgs>

Notifies when the item is clicked.

TabsContent

EventType
SelectedPanelChangedEventCallback<string>

Occurs after the selected panel has changed.

Methods

Tabs

MethodReturnParameters
SelectTabTaskstring tabName

Sets the active tab by the name.

TabsContent

MethodReturnParameters
SelectPanelTaskstring name

Sets the active panel by the name.