The ultimate button component. Inspired by Nuxt UI, built for Vue.
npx shadcn-vue@latest add https://raya-ui.com/registry/registry/raya-button.jsonmain.css (see the CSS tab) for colors to work. | Prop | Values | Default |
|---|---|---|
| color | primary | secondary | neutral | success | info | warning | error | primary |
| variant | solid | outline | soft | subtle | ghost | link | solid |
| size | xs | sm | md | lg | xl | md |
| as | string | Component | "button" |
| asChild | boolean | false |