Button

Displays a button or a component that looks like a button.

          
      

Installation

          
      
          
      

Usage

          
      
          
      

Examples

Default

          
      

Outline

          
      

Destructive

          
      

Secondary

          
      

Ghost

          
      
          
      

Sizes

          
      

With Icon

          
      

Loading State

          
      

API Reference

Properties

PropertyTypeDefaultDescription
variant"default" | "destructive" | "outline" | "secondary" | "ghost" | "link""default"The visual variant of the button.
size"default" | "sm" | "lg" | "icon""default"The size of the button.
disabledbooleanfalseWhether the button is disabled.
classstringAdditional CSS classes to apply to the button.

Built with ❤️ by @immohammadjaved • Source code available on GitHub