For more examples, visit the Storybook.

Example
<StudsTabNav>
    <StudsTabNavLink Text="Home" Href="/" Selected="true" />
    <StudsTabNavLink Text="Orders" Href="/orders" />
    <StudsTabNavLink Text="Employees" Href="/employees" />
    <StudsTabNavLink Text="Customers" Href="/customers" />
</StudsTabNav>

StudsTabNav Parameters

ChildContent
RenderFragment

Gets or sets the child content containing the tab navigation links.

Attributes
Dictionary<string, object>

Specifies additional custom attributes that will be rendered by the component.

MouseEnter
EventCallback<ElementReference>

Gets or sets the callback that is invoked when the mouse enters an item.

MouseLeave
EventCallback<ElementReference>

Gets or sets the callback that is invoked when the mouse leaves an item.

ContextMenu
EventCallback<MouseEventArgs>

A callback that will be invoked when the user right-clicks the component. Commonly used to display a context menu.

Culture
CultureInfo
default:"CultureInfo.CurrentCulture"

Gets or sets the culture used to display localizable data (numbers, dates). Set by default to “CultureInfo.CurrentCulture”.

Style
string

Gets or sets the inline CSS style.

Visible
bool
default:"true"

Gets or sets a value indicating whether this “T:Studs.StudsComponent” is visible. Invisible components are not rendered.

Text
string

Gets or sets the text content of the navigation link.

Href
string

Gets or sets the URL that the link points to.

Selected
bool
default:"false"

Gets or sets whether this navigation link is selected.

Disabled
bool
default:"false"

Gets or sets whether this navigation link is disabled.

Visible
bool
default:"true"

Gets or sets whether this navigation link is visible.

Style
string

Gets or sets additional CSS styles for the navigation link.

Attributes
IDictionary<string, object>

Gets or sets additional attributes for the navigation link element.