Button

Кнопки (IconButton, ButtonGroup), полиморфный проп <code>as</code>, загрузка и доступность. Таблицы пропсов — в шапке Документация → Button.

Примеры: варианты

Solid / outline / ghost on primary plus secondary palettes.

Примеры: размеры

Button size uses spacing and typography tokens from the theme.

Примеры: вариант link

Link variant: underline, inherits palette; use for low-emphasis actions.

Примеры: иконки

iconSize scales slots; IconButton requires aria-label (typed) and bumps hit area to ≥44px.

Примеры: загрузка

Default loader spins via injected keyframes (no Tailwind). loadingText sets polite aria-live + sr-only copy.

Примеры: disabled

Disabled buttons ignore clicks and show reduced opacity.

Примеры: destructive, fullWidth, pressed, iconSize

variant="destructive", fullWidth, pressed (aria-pressed).

Примеры: проп as (ссылка)

Same styles as a native link — use with React Router Link and cast router props if needed.

Styled anchor

Примеры: IconButton и ButtonGroup

ButtonGroup uses role="group"; attached merges corners for outline buttons.