Patterns

Everyday scenarios built from the same components. Copy the recipe; there is nothing new to install.

01 · Confirm

Confirm a destructive action

Only for what can't be undone. Button tone danger opens the alert Dialog from where you clicked; the action needs a hold.

Trigger
Button · Dialog
Duration
fast / fill
Easing
ease-out

02 · Edit

Rename

A Button opens a small Dialog with one field. Save and Cancel are Buttons too.

Trigger
Button · Dialog · Input
Duration
fast / quick
Easing
bounce / ease-in

03 · Save

Save with feedback

The button answers itself: dots while saving, then a check. No toast needed.

Trigger
Button status
Duration
fill
Easing
bounce

04 · Undo

  • Brief.pdf
  • Moodboard.fig
  • Notes.md

Undo a removal

Reversible actions happen at once. Undo appears inside the same list, in its ToastRegion, not a screen corner.

Trigger
Button · ToastRegion
Duration
signature
Easing
bounce

05 · Approve

Proposed plan

  1. Create the branch

    , waiting
  2. Update 12 components

    , waiting
  3. Run the checks

    , waiting
  4. Open a pull request

    , waiting

Plan and approve

Trace shows the plan; a held Button approves it and the steps tick in sequence. Reject collapses it to a Marker.

Trigger
Trace · Button · Marker
Duration
stagger / fill
Easing
bounce

06 · Rate

Feedback on an answer

A segmented control of thumbs; thumbs down grows a field to say what went wrong.

Trigger
Segmented control · Input
Duration
settle
Easing
bounce

07 · Copy

Copy a value

A read-only field and a Button that shows its own check. No toast.

Trigger
Input · Button status
Duration
fast
Easing
bounce

08 · Pick

Model or agent picker

A Select with an avatar and a note in each item.

Trigger
Select · Avatar
Duration
fast
Easing
bounce