Component

Button

Primary action control with variants and sizes.

Installation

import { Button } from "atroui"

Usage

Prefer one primary button per view.

API Reference

PropTypeDefaultDescription
variant'default' | 'outline' | 'secondary' | 'ghost' | 'destructive' | 'link''default'Visual style.
size'default' | 'xs' | 'sm' | 'lg' | 'icon' | …'default'Control size.
disabledbooleanfalseDisables the button.