Loading...
Installation
Install the following dependencies:
Copy and paste the following code into your project.
Loading...
Update the import paths to match your project setup.
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
| Input | Type | Default | Description |
|---|---|---|---|
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
| Export | Angular API |
|---|---|
buttonVariants | Style recipe used to reuse the button variants. |
ButtonImports | Readonly collection containing the Angular button directive. |
Angular
React
Solid
Svelte
Vue