Button
ActionsEvery button in the app is .btn plus one variant: 44px tall with 12px corners, the same as a field. Buttons and link-buttons share hover feedback without a hover lift; primary buttons settle to 98% when pressed. Disabled controls fade to 45%.
Source
src/app/globals.cssUsage
Guidelines
.btn-primaryfor the main action; one per screen.btn-secondaryfor secondary actions,.btn-outlinefor a clear but lighter alternative,.btn-ghostfor ones that should not draw the eye.btn-dangeronly for deleting and other actions that cannot be undone (signing out is not one).btn-selectedfor a toggle that is on, witharia-pressed.btn-sm(36px) for toolbars only;.btn-iconfor a square, icon-only button (it needs anaria-label)- Use
PendingButtonfor acknowledged asynchronous submissions: reserve both labels, disable repeat submission, exposearia-busy, and keep errors nearby
Accessibility
- An icon-only button needs an
aria-label, and usually a Tooltip - Focus shows a 2px accent ring, 2px out, on every variant