Button
The Button component provides a reusable action control with Panda-based styling and a small set of ergonomic variants.
Usage
Use children for the label content and choose a variant that matches the emphasis of the action.
Variants
Use solid for primary actions, outline for secondary actions, and ghost for low-emphasis actions.
Sizes
The button supports compact, default, and large sizing through the size prop.
Full Width
Enable fullWidth when the button should stretch to match the container width.
Theme Tokens
The component styles are driven by Panda tokens defined in the library theme. Consumers can override the generated CSS variables at the app root or inside a scoped wrapper.
This gives the library a base theme out of the box while still letting consumers customize tokens without changing component code.
API
Button
Renders an accessible action control with Panda-powered size, color, and variant styles.