GitHub55X

Button

Vue button with variants and sizes for primary actions, secondary controls, and icon buttons.

PreviousNext

Installation

Install from the Vuzeno registry:

      
      bunx --bun shadcn-vue@latest add https://vuzeno.com/r/button.json
    

Usage

      
      <script setup lang="ts">
import { Button } from "@/components/ui/button";
</script>

<template>
  <Button variant="outline" size="sm">Button</Button>
</template>
    

Examples

Variants

Use the variant prop to change the visual style of the button.

Sizes

Use the size prop to change the size of the button.

Disabled

Use the native disabled attribute to disable the button.