Button
Button - Sizes
Different size variants available for the button component
Loading...
Available Sizes
The Button component comes with several predefined size variants to suit different use cases:
default: Standard button size (h-10 with balanced padding)heightless: Flexible height with consistent horizontal paddingxs: Extra small buttons for compact interfacessm: Small buttons for secondary actionslg: Large buttons for primary actionsxl: Extra large buttons for high-emphasis actionsicon: Square buttons for icon-only contentsmallIcon: Compact square buttons for small icons
Usage
| Prop | Type | Default |
|---|---|---|
size? | "default" | "heightless" | "xs" | "sm" | "lg" | "xl" | "icon" | "smallIcon" | "default" |