- Docs
- Components
- Actions
Button
An action. One solid and one soft per region; everything else ghost.
- Import
- @qeetrix/react
- Status
- StableSince 0.0.2
- Renders
<button>Server-rendered- Tested
- WCAG 2.2 AAaxe on every pull request
01
0.5.1
- A ghost danger button presses in bg.danger.subtle-pressed, so a press no longer looks like a hover.
02
0.5.0
- A full-width button centres its label on the whole button, with or without an icon.
03
0.4.0
- A solid neutral button hovers and presses in graphite, as soft does, not in Ember.
- A ghost danger button keeps the danger tint when it's pressed without the pointer over it, never the brand's.
04
0.3.0
- icon takes an element as well as a component (icon={<PlusIcon />}), so a Server Component can pass one: its type is IconSource.
05
0.2.0
- LinkButton: navigation drawn as a Button, announced as a link.
06
0.1.1
- mirrorInRtl(Icon): an icon that points forward flips in right to left.
07
0.1.0
- Keeps its name in the build (Button, not Button$1) in DevTools.
08
0.0.3
- The neutral tone, for ghost utility actions.
- The icon's own zone (button-zone), behind a 1px rule.
09
0.0.2
- Button, on Base UI's Button.
Every change to @qeetrix/react
Next — ActionsIcon button