Demos
For examples and details on the usage of this component, visit the component demo page:
Tabs
Properties
| Parameter | Type | Description | Default |
|---|---|---|---|
| ChildContent | RenderFragment |
Gets or sets the content to be rendered inside the tabs component. | - |
| Variant | TabVariant |
Gets or sets the visual variant of the tabs. | Solid |
| Color | ThemeColor |
Gets or sets the color theme of the tabs. | Default |
| Size | Size |
Gets or sets the size of the tabs. | Medium |
| Radius | Radius |
Gets or sets the border radius of the tabs. | Medium |
| FullWidth | bool |
Gets or sets a value indicating whether the tabs container is full-width. | false |
| Disabled | bool |
Gets or sets a value indicating whether all tabs are disabled. | false |
| DisabledItems | ICollection<string> |
Gets or sets a collection of tab IDs that should be disabled. | - |
| SelectedId | string |
Gets or sets the ID of the currently selected tab. | - |
| SelectedIdChanged | EventCallback<string> |
Gets or sets the callback invoked when the selected tab changes. | - |
| Classes | TabsSlots |
Gets or sets the CSS class names for the tabs slots. | - |
| As | string |
Gets or sets an HTML tag of the component. | - |
| Class | string |
Gets or sets CSS class names that will be applied to the component. | - |
| Style | string |
Gets or sets styles that will be applied to the component. | - |
| AdditionalAttributes | IReadOnlyDictionary<string, object> |
Gets or sets a collection of additional attributes that will be applied to the component. | - |
| ElementReference | ElementReference? |
Gets or sets the associated . May be if accessed before the component is rendered. | - |