Layout
TwSidebar
TwSidebar is a Blazor sidebar for navigation. Build it from SidebarContent markup or data-driven NavigationItems, with IsSearchable and a collapsible layout.
Last updated
Theme Configuration
Styling is controlled by
TwBlazorTheme.Components (a TwSidebarTheme), configured via the
AddTwBlazor() options callback described on the Get Started page.
Every property is a set of Tailwind classes, so changes are picked up by your own Tailwind build.
| Property | Type | Controls |
|---|---|---|
SkipLink |
string | |
MobileOverlay |
string | |
MobileClosed |
string | |
MobileOpen |
string | |
NavigationList |
string | |
NavbarFixedInset |
string | |
NavbarNavigationResponsive |
string | |
NavbarNavigationExpanded |
string | |
Navbar |
string | |
NavbarContent |
string | |
NavbarBrand |
string | |
NavbarNavigation |
string | |
NavbarActions |
string | |
NavbarToggle |
string | |
NavbarToggleIcon |
string | |
NavbarLink |
string | |
NavbarLinkActive |
string | |
NavbarMobileMenu |
string | |
Sidebar |
string | |
MainContent |
string | |
MainContentRoot |
string | |
NavigationItemBase |
string | |
NavigationItemActive |
string | |
NavigationDropdownContainer |
string | |
NavigationItemActiveLevelDeep |
string | |
NavigationDropdownContainerDeep |
string | |
NavigationGroupRailDeep |
string | |
NavigationItemToggleLabel |
string | |
NavigationItemToggleIcon |
string |
Full reference: TwSidebarTheme on the API docs.