Buttons with a trailing badge showing a count or status. Use for notification counts, unread messages, or any button that needs a visual indicator.
Buttons with a trailing badge showing a count or status. Use for notification counts, unread messages, or any button that needs a visual indicator.
A floating action button raised with `elevation="med"`. Use elevation for buttons that hover above content, like a FAB.
Buttons with a leading icon that reinforces the label. Use when the icon helps the user identify the action faster, like a plus for "New" or a trash can for "Delete".
Small, medium, and large buttons side by side. Use small in dense UIs like toolbars, medium for most cases, and large for prominent CTAs.
All 4 button variants in default, disabled, and loading states. Use primary for the main action, secondary for most others, ghost for low-emphasis, and destructive for dangerous actions.
All four button variants side by side: primary, secondary, ghost, and destructive. A quick visual reference for choosing the right variant.
Astryx showcase: ButtonGroup.
Three related actions joined into a single connected control. Provide a group label for accessibility and keep all buttons the same variant so they read as one unit.
A grouped action bar raised with `elevation="med"`. The connected buttons share one surface, so the shadow lifts them as a unit.
A product card that navigates on click but has an independent "Add to cart" button inside.
An icon button with a wrench icon.
Row of ghost icon buttons for a compact action toolbar
A floating action button (FAB). The most common floating-button shape is icon-only. Raised here with `elevation="high"`.
Icon buttons with tooltips that explain each action on hover
Showing 1–14 of 14