Button <ndo-button>
Action triggers in primary, ghost, and destructive styles.
Variants
Disabled
As Link
Usage
<ndo-button variant="primary">Create NDO</ndo-button> <ndo-button variant="ghost">Cancel</ndo-button> <ndo-button variant="destructive">Delete</ndo-button> <ndo-button variant="primary" disabled>Disabled</ndo-button> <ndo-button variant="ghost" href="/somewhere">Link</ndo-button>
| Prop | Values | Default |
|---|---|---|
variant | primary · ghost · destructive | primary |
disabled | boolean | false |
href | string | — (renders button) |
type | button · submit · reset | button |