A button triggers an action or event, such as submitting a form or opening a dialog.
0.3.0 – 7 November 2026
Fixed: Primary and Danger did not change colour when pressed, because the hover rule outweighed the pressed rule.
Subtle and Default buttons: stronger hover and pressed fills (translucent graphite 3 and 4, so they show on grey surfaces too) through two component tokens, button.background.subtle.hover and button.background.subtle.pressed. Rows and menu items are unchanged.
Default button: the border darkens one step on hover and while pressed (color.border.hover).
Toggle on (aria-pressed="true"): fill button.background.selected with a bold border.
Subtle, Subtle danger and Link: no fill and no border when unavailable or disabled; only the text turns grey.
An open menu trigger keeps the pressed look (aria-expanded="true").
The loading spinner is the Lucide loader-circle, shown after 1 second (it was 300 ms), one turn a second.
Icons now come from the Lucide package instead of hand-written SVG.
New Style tab: anatomy, colour tokens per variant and state, sizes, spacing and motion.
Examples: the preview can sit on a transparent checkerboard, a light surface or a dark one.
Fixed: a loading button showed its icon and the spinner together; the spinner now takes the icon’s place.
Unavailable: the reason moved from a line under the button to a tooltip (new Tooltip component), as Cloudscape and Fluent do.
Examples are real Vue files: copy, open in StackBlitz, collapse long code, see the file name.
Fixed: text inside a light or dark preview kept the page’s colour.
0.2.0 – 7 November 2026
Pressed state for every variant, small and large sizes, icon-only, full width, and the danger tone on a subtle button.
Loading (aria-busy) and unavailable (aria-disabled with the reason) states.
New Code tab: classes, attributes, design tokens and limitations.
shadcn-vue: a Beehexa registry with the Button and a theme that maps shadcn-vue variables to Beehexa tokens (/r/button.json, /r/beehexa-theme.json).
Usage: anatomy, allowed combinations, placement and order, and an English–Vietnamese verb list for labels.