Skip to main content
Version: 1.1.0

Button

A lightweight semantic button component built with native HTML and CSS variables.

The Button component in ignix-lite uses the native <button> element and supports multiple intent variants, loading states, focus styles, and accessibility-friendly interactions.


Intent Variant


Disabled


Loading


Usage


Attributes

AttributeTypeDescription
data-intent'primary' | 'danger' | 'warning' | 'success' | 'neutral' | 'ghost'Applies semantic visual styles
disabledbooleanDisables interactions and reduces opacity
aria-busybooleanDisplays loading spinner state
type'button' | 'submit' | 'reset'Native HTML button type
childrenHTML contentButton label or content