Search documentation

Search the documentation and open a page.

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

Loading...

Installation

pnpm dlx shadcn@latest add @wirekyt/button

Composition

[app-button] └── content

Examples

Default

Loading...

Disabled

Loading...

Icon Only

Loading...

Leading Icon

Loading...

Loading

Loading...

Sizes

Loading...

Social

Loading...

Trailing Icon

Loading...

Variants

Loading...

API Reference

[app-button]

Inputs

InputTypeDefaultDescription
variant"default" | "destructive" | "ghost" | "link" | "outline" | "secondary""default"Sets the visual style.
size"default" | "icon" | "icon-lg" | "icon-sm" | "icon-xl" | "icon-xs" | "lg" | "sm" | "xl" | "xs""default"Sets the button size.

Utilities

ExportAngular API
buttonVariantsStyle recipe used to reuse the button variants.
ButtonImportsReadonly collection containing the Angular button directive.