Skip to content
Components

Actions

Things a person presses, and the chrome that gathers them.

8 documented entries in this family.

ButtonReviewed page

The action primitive: a real `<button>`, six intents, three sizes, and a variant helper for anchors.

@luc/ui/components/button
IconButtonGenerated from the public API

A square, icon-only action that always carries an accessible name.

@luc/ui
IconGenerated from the public API

One wrapper for the library's glyphs: size, tone and accessibility settled in one place, plus the named set it draws with.

@luc/ui
FloatButtonGenerated from the public API

An action that stays reachable: pinned to a corner, with the offsets, stacking and disclosure a stack of them needs.

@luc/ui
ButtonGroupGenerated from the public API

Grouped actions behind one joint, and the toolbar shell that gives a strip one tab stop.

@luc/ui
ToggleReviewed page

A two-state button, and the group that turns several of them into a choice.

@luc/ui
LinkGenerated from the public API

A real anchor with a visible focus ring, rather than a span styled to look like one.

@luc/ui
KbdGroupGenerated from the public API

Keyboard chords rendered as keycaps, with the modifier names of the reader's own platform.

@luc/ui

Accessibility

Controls here render the platform element, so Enter, Space, focus order and the accessible name come from the browser; the variants style an anchor without turning it into a button. Every control needs a name — its text, or a label when the control is an icon.

Luc UI v1.0Homedark theme