discue
Components
  • Code Contributions
  • Code of Conduct
  • Security Policy
  • Changelog
GitHub
Components
  • Code Contributions
  • Code of Conduct
  • Security Policy
  • Changelog
GitHub
  • Components
    • BackToTop
    • Banner
    • DropDownMenu
    • DropDownMenuBannerItem
    • DropDownMenuItem
    • FormElementErrorMessage
    • FormElementsContainer
    • FormImmutableText
    • FormInput
    • FormInputRadio
    • FormInputSelect
    • Headline
    • Headlines
    • NavButton
    • NavLink
    • Text
  • Contributions

NavButton since v0.10.0 themeable

A 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>
Improve this page
Last Updated:
Contributors: Stefan Pfaffel
Prev
Headlines
Next
NavLink