Examples
For examples and details on the usage of this component, visit the component demo page: Navbar
Properties
Parameter | Type | Description | Default |
---|---|---|---|
ChildContent | RenderFragment |
Gets or sets content to be rendered inside the navbar. | - |
MaxWidth | MaxWidth |
Gets or sets the maximum width of the navbar wrapper. | XLarge |
Height | string |
Gets or sets the height of the navbar. The value should be a valid CSS unit (e.g., 'px', 'rem', '%'). | - |
Sticky | bool |
Gets or sets a value indicating whether the navbar is sticky. | false |
Bordered | bool |
Gets or sets a value indicating whether the navbar has a bottom border. | false |
Blurred | bool |
Gets or sets a value indicating whether the navbar background is blurred. | true |
Classes | NavbarSlots |
Gets or sets the CSS class names for the navbar 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. | - |