Skip to content
Link 1 Link 2 Link 3 Link 4
Link 1 Link 2 Link 3 Link 4
MobileNavBar 🟠 Not ready
The MobileNavBar component can be used imported from:
Mobile component
This component is only visible for mobile sizes (under 768px
of container width);
Playground
Parameters
Events
This component has events. Check the documentation about how to use the events.
Name | Payload | Description |
---|---|---|
change | number | Emitted when the current page changes |
Parameters use
Check the documentation about how to use the parameters.
routes
For setting the routes of the MobileNavBar
, you can use the routes
attribute. It should be an array of objects with the following keys:
text
: The text of the link.icon
: The icon of the link.href
: The href of the link.disabled
: (optional) flag to disable the link.
We can also use Button
components to define the links:
config
The config
attribute is used to define the style of the MobileNavBar
. You can set it as rounded
to make it rounded.
Browser support
Detected engine:
Chromium
Webkit
Gecko