NavBar
A tab panel that provides navigation links to the main areas of an app.
Notes
The BitNavBar is a Multi-API component which can accept the list of Items in 3 different ways: BitNavBarItem class, a custom Generic class, and BitNavBarOption component.Usage
Basic
Disabled
Disabled:
Disabled item:
Manual Mode
Defines the mode in which the selected item is handled manually, instead of automatically using the current url.
IconOnly
Only renders the icon of each navbar item.
FitWidth
Enables fit-content width for the nav bar that sets the width of the component based on its content size.
Templates
Explore BitNavBar's customization capabilities.
ItemTemplate:
Item's template:
Events
Managing NavBar item click event (OnItemClick).
Clicked item:
Binding
This example demonstrates different ways to handle item selection and changes within the component.
DefaultSelectedItem:
Selected item: Home
Two-way SelectedItem:
Reselectable
Enables the ability to trigger select event even when the same item is selected again.
Item click count: 0
Advanced
An illustrative example of integrating this component into a straightforward mobile application.
bit BlazorUI
Products
Color
Offering a range of specialized colors, providing visual cues for specific states within your application.
Primary:
Secondary:
Tertiary:
Info:
Success:
Warning:
SevereWarning:
Error:
PrimaryBackground:
SecondaryBackground:
TertiaryBackground:
PrimaryForeground:
SecondaryForeground:
TertiaryForeground:
PrimaryBorder:
SecondaryBorder:
TertiaryBorder:
Style & Class
Empower customization by overriding default styles and classes, allowing tailored design modifications to suit specific UI requirements.
Component's Style:
Component's Class:
Item's style & class:
Styles:
Classes:
RTL
Use BitNavBar in right-to-left (RTL).
API
BitNavBar parameters
Name |
Type |
Default value |
Description |
---|---|---|---|
BitComponentBase parameters
Name |
Type |
Default value |
Description |
---|---|---|---|
BitComponentBase public members
Name |
Type |
Default value |
Description |
---|---|---|---|
BitNavBarNameSelectors<TItem> properties
Name |
Type |
Default value |
Description |
---|---|---|---|
BitNavBarClassStyles properties
Name |
Type |
Default value |
Description |
---|---|---|---|
BitVisibility enum
Name |
Value |
Description |
---|---|---|
BitDir enum
Name |
Value |
Description |
---|---|---|
- On this page