Nav Button
A button for navigation bar
import '@wevisdemo/ui/styles/nav-button.css';
import WvNavButton from '@wevisdemo/ui/{react,vue,svelte}/nav-button';
<WvNavButton>About</WvNavButton>
Props
Name | Type | Default |
---|---|---|
active | boolean | false |
dark | boolean | false |
onClick | () => void | undefined | undefined |
Slot / Children
Button content
Examples
Active button
<WvNavButton active>About</WvNavButton>
With dark theme
<WvNavButton dark active>About</WvNavButton>
<WvNavButton dark>Report</WvNavButton>