since v0.10.0 themeable
NavButtonA Button component. Allows the parent to register click handlers and change the background color dynamically.
Preview
Properties
Name
Type
Default
Value
attention
Boolean
false
click
Function
invert
Boolean
false
secondary
Boolean
false
small
Boolean
false
type
String
submit
Example
<template>
<NavButton>Go to pricing</NavButton>
</template>
<script setup>
import { NavButton } from '@discue/ui-components'
</script>