Actions

Components that initiate an action: buttons and modal dialogs. One primary action per screen region. Secondary actions sit next to the primary, never alone. Destructive actions are reserved for genuinely irreversible operations and always open a confirm modal.

Button

DaisyUI's btn primitive — primary / outline / ghost variants. Sizing scales by surface: stock .btn on most surfaces, .btn-lg for museum-grade primary actions (landing hero search submit, citation copy button).

Default sizing

.btn .btn-primary stock sizing — both registers

Large sizing

More generous padding for prominent CTAs. Landing hero search submit, citation copy button, other museum-grade primary actions.

.btn .btn-primary .btn-lg generous padding, larger type

Destructive

For genuinely irreversible operations only. Always opens a confirm modal. --error accent, muted not shouting. Never icon-only.

.btn .btn-error use sparingly

Icon-only

For common, recognisable affordances. Mandatory aria-label and tooltip on hover/focus.

.btn.btn-square.btn-ghost mandatory aria-label