The <luna-button> component provides interactive buttons with customizable styles and behaviors.
Paths
/lunadom/components/button/button.js Example
Variants
Sizes & Shapes
Interactive States
Customization
default - Button label/contentprefix - Content before label (icon, etc.)suffix - Content after labelvariant - Visual variant (primary, success, warning, danger, neutral)size - Size preset (sm, md, lg). Defaults to 'md'pill - Full pill border-radiuscircle - Equal width/height with 50% radius (icon-only)outline - Transparent fill with colored border and textdisabled - Disables the buttonloading - Shows spinner and disables interactioncaret - Appends downward caret after label--luna-button-bg - Resting background color--luna-button-color - Label/icon color--luna-button-border - Border color--luna-button-hover-bg - Hover background color--luna-button-active-bg - Active/pressed background color--luna-button-focus - Focus ring color--luna-button-radius - Border radius overrideluna-click - Fired on click when not disabled or loading. detail: { originalEvent }