Skip to Content

ActionButton

Компактная кнопка действия с текстом и декоративным слотом start.

Использование

Варианты

Размеры

Стиль

Доступность

Нативная button поддерживает Enter/Space и disabled. Для кнопки без видимого текста обязательны aria-label или aria-labelledby. Иконка скрыта от скринридера; фокус обозначен через :focus-visible.

API

ПропТипПо умолчаниюОписание
textReactNode—Visible action label. Omit for an icon-only action with aria-label.
startReactNode—Leading decorative icon or content. Inherits the button color.
appearance"default" | "inverted"defaultContrast on the surrounding surface.
size"small" | "base" | "large"largeCompact control size.
variant"filled" | "ghost"ghostFilled background or transparent surface.
Last updated on