AntJanusCatalog of works · est. 2012
Pattern library.40 cards · 0 deps
005.437 J33p 2026

UI Patterns

A UI pattern library built for coding agents. 40 patterns, each shipping a copy-paste prompt that rebuilds it inside your own codebase — plus a live preview and the source behind it.

1. User interfaces (Computer systems). 2. Prompts. 3. CSS. I. Title.

A blueprint drawing of interface parts: dialled gauges, dimensioned panels, and a grid of repeated tiles
blueprint plate

Every pattern, three ways

Card 1 of 3

Preview

The pattern running live in an isolated frame, in whichever theme you are reading in.

Card 2 of 3

Source

Its markup, styles and behaviour, plus a single runnable file carrying its own palette.

Card 3 of 3

Prompt

A written spec that rebuilds the pattern from scratch — including why each decision is the way it is. Paste it into Claude Code, Cursor, or any coding agent.

The prompts are the point. Each one is written to survive being handed to an agent with no other context: it names the surfaces the pattern belongs on, spells out the constraint that makes it work, and calls out the failure it exists to prevent. Nothing here is a dependency you install.

Pattern catalog

40 patterns

No patterns match that search.

Try a shorter term, or clear the filters to see all 40.

005.437 · P01Added 2026-08-11

Data display · Added 2026-08-11

Windowed schedule grid

Rows of resources against a fixed time window, where each block is sized by its overlap with the window rather than by its own duration.

1. schedule. 2. timeline. 3. grid. 4. flexbox.

005.437 · P02Added 2026-08-11

Data display · Added 2026-08-11

Benchmark progress bar

Places a raw figure on a scale of external benchmarks instead of printing it plain.

1. progress. 2. benchmarks. 3. css-only. 4. data-viz.

005.437 · P03Added 2026-08-11

Data display · Added 2026-08-11

Cross-highlight matrix

A two-axis lookup table with both headers sticky, hover lighting the full row and column at once, and a durable click-to-pin selection for touch.

1. table. 2. matrix. 3. sticky. 4. accessibility.

005.437 · P04Added 2026-08-11

Data display · Added 2026-08-11

Left-truncating paths

Shortens a long path by dropping whole segments from the left, because the tail is what tells two paths apart.

1. truncation. 2. paths. 3. text-overflow. 4. breadcrumbs.

005.437 · P05Updated

Data display · Updated 2026-08-21

Shape-mark sequence

A sequence compressed into a row of small marks whose shape carries the state.

1. stepper. 2. sparkline. 3. series. 4. truncation.

005.437 · P06Added 2026-08-21

Data display · Added 2026-08-21

Linked month bars

A month-by-month volume timeline built from plain divs where every aggregate row links to the filtered view that produced it.

1. timeline. 2. drill-down. 3. css-only. 4. data-viz.

005.437 · P07Added 2026-08-21

Data display · Added 2026-08-21

Glass vial meter

A vertical potion-vial meter whose liquid fills a wide bulb first and then rises into a narrow neck — all CSS, no images.

1. meter. 2. skeuomorphic. 3. css-only. 4. reduced-motion.

005.437 · P08Added 2026-09-12

Data display · Added 2026-09-12

Partitioned stage bar

Progress for work with several possible endings, drawn as a census rather than a fraction.

1. progress. 2. stacked-bar. 3. batch. 4. legend.

005.437 · P09Added 2026-09-12

Data display · Added 2026-09-12

Term-by-term derivation

A computed figure shown with the audit trail behind it — the number is the product and the derivation is the receipt.

1. explainability. 2. calculator. 3. disclosure. 4. formula.

005.437 · P10Updated

Data display · Updated 2026-09-12

Plan preview tree

A dry run shown as a before-and-after tree with counts now, after, and the difference.

1. dry-run. 2. diff. 3. tree. 4. preview.

005.437 · P11Added 2026-09-12

Data display · Added 2026-09-12

Uniform slot shell

One card shell many independent sources render through, where the shell does the capping.

1. dashboard. 2. widgets. 3. cards. 4. empty-state.

005.437 · P12Updated

Layout · Updated 2026-08-11

Object-shaped cards

Where a record stands for a physical thing, the card is drawn as that thing — nine variations in pure gradients.

1. cards. 2. css-only. 3. gradients. 4. variations.

005.437 · P13Added 2026-08-11

Layout · Added 2026-08-11

Adaptive tile mosaic

A container with no artwork draws one from up to four member tiles, grid tracks following tile count.

1. css-grid. 2. css-only. 3. no-assets. 4. cards.

005.437 · P14Updated

Layout · Updated 2026-08-11

Ground-scrimmed artwork

Text printed over unreviewed artwork, scrimmed to an alpha that can be written down rather than guessed.

1. layout. 2. css-only. 3. gradients. 4. contrast.

005.437 · P15Updated

Layout · Updated 2026-08-21

Hairline stat strip

Stat tiles joined by hairlines that are grid gap, not borders.

1. stats. 2. css-grid. 3. css-only. 4. hairline.

005.437 · P16Added 2026-08-21

Layout · Added 2026-08-21

Annotated transcript

Conversation bubbles with a speaker-colored spine and a fixed metadata gutter.

1. conversation. 2. gutter. 3. status-roles. 4. contrast.

005.437 · P17Added 2026-08-21

Layout · Added 2026-08-21

Cork notice board

Pinned paper notes on a cork board where every texture is layered CSS gradients.

1. skeuomorphic. 2. gradients. 3. no-assets. 4. cards.

005.437 · P18Updated

Layout · Updated 2026-09-12

Hotspot marker layer

Markers at percentage coordinates over a fixed-aspect picture, turning into a list when too narrow.

1. hotspots. 2. pointer-events. 3. aspect-ratio. 4. container-query.

005.437 · P19Added 2026-09-12

Layout · Added 2026-09-12

Line-art empty states

Inline drawings for empty surfaces stroked in the inherited text colour.

1. empty-state. 2. svg. 3. currentcolor. 4. illustration.

005.437 · P20Added 2026-09-12

Layout · Added 2026-09-12

Column-flow wall

Cards flowing down columns instead of across rows, with the reading-order cost stated plainly.

1. masonry. 2. columns. 3. break-inside. 4. reading-order.

005.437 · P21Added 2026-08-11

Interaction · Added 2026-08-11

Scroll edge shadows

An inset shadow shown only on the edge that has more content behind it.

1. scrolling. 2. affordance. 3. lists. 4. overflow.

005.437 · P22Added 2026-08-11

Interaction · Added 2026-08-11

Frozen-batch deck

A one-card-at-a-time review queue whose batch is snapshotted at mount.

1. queue. 2. review-flow. 3. animation. 4. keyboard.

005.437 · P23Updated

Interaction · Updated 2026-08-11

Controls beside the anchor

Per-card controls over a fully-linked card without nesting interactive elements in the anchor.

1. cards. 2. accessibility. 3. keyboard. 4. focus-within.

005.437 · P24Updated

Interaction · Updated 2026-08-11

Pluggable canvas visualizer

One canvas, a registry of draw modes, each mode owning its entire frame.

1. canvas. 2. visualization. 3. registry. 4. animation.

005.437 · P25Updated

Interaction · Updated 2026-08-21

Roving-grid board

A dense grid of state cells that is one tab stop with arrow-key navigation.

1. keyboard. 2. roving-tabindex. 3. accessibility. 4. states.

005.437 · P26Added 2026-08-21

Interaction · Added 2026-08-21

Section rail

Sticky vertical rail on wide screens, wrapping tab row on narrow ones, from the same markup.

1. navigation. 2. toc. 3. responsive. 4. aria-current.

005.437 · P27Added 2026-08-21

Interaction · Added 2026-08-21

Ledge-press buttons

Buttons on a solid ledge shadow that travel down onto it when pressed.

1. buttons. 2. skeuomorphic. 3. press. 4. tokens.

005.437 · P28Updated

Interaction · Updated 2026-09-12

Guarded control

A blocked control stays focusable, carries the reason as text, and refuses in its handler.

1. aria-disabled. 2. disabled. 3. preconditions. 4. keyboard.

005.437 · P29Updated

Interaction · Updated 2026-09-12

Polled job card

One card for every state a background job passes through.

1. progress. 2. polling. 3. background-job. 4. indeterminate.

005.437 · P30Added 2026-09-12

Interaction · Added 2026-09-12

Entry-transform motion

FLIP-style motion between two rendered states when the old DOM is already gone.

1. animation. 2. transitions. 3. reflow. 4. reduced-motion.

005.437 · P31Updated

Interaction · Updated 2026-09-12

Slot-first picker

Assignment that starts at the destination slot, then narrows the catalogue.

1. assignment. 2. picker. 3. aria-pressed. 4. filtering.

005.437 · P32Added 2026-08-28

Forms · Added 2026-08-28

Undo toast

A destructive action with no confirm dialog, held behind a toast and committed when it expires.

1. undo. 2. toast. 3. destructive. 4. aria-live.

005.437 · P33New

Forms · Added 2026-09-28

Blast-radius confirm

A confirm dialog that names everything a delete cascades and blocks dismissal while it runs.

1. confirm-dialog. 2. destructive. 3. cascade. 4. dialog-element.

005.437 · P34Updated

Forms · Updated 2026-08-28

Batch action bar

A bar that exists only while something is selected, states the count in words, caps at five actions.

1. selection. 2. bulk-actions. 3. toolbar. 4. checkbox.

005.437 · P35Added 2026-09-12

Forms · Added 2026-09-12

Filtered to zero

The three empty states a list actually has, written as three different screens.

1. empty-state. 2. filter. 3. search. 4. zero-results.

005.437 · P36Added 2026-09-12

Forms · Added 2026-09-12

Parsed query chips

A search box that echoes back how it read the text as removable chips.

1. search. 2. query-syntax. 3. chips. 4. facets.

005.437 · P37Added 2026-09-12

Forms · Added 2026-09-12

Compound-value picker

One grouped select whose value carries both the kind and the id.

1. select. 2. optgroup. 3. polymorphic. 4. forms.

005.437 · P38Updated

Color · Updated 2026-08-11

Ground-referenced color

Colors solved against the page's own ground token so they invert correctly between themes.

1. color. 2. contrast. 3. color-mix. 4. accessibility.

005.437 · P39Updated

Color · Updated 2026-08-21

Single-property color variants

One custom property carries the hue; border, fill, spine and dot derive from it.

1. color. 2. color-mix. 3. custom-properties. 4. theming.

005.437 · P40Updated

Color · Updated 2026-09-12

Controls on an unknown fill

Opaque controls, a gradient-darkened fill, and a two-tone focus ring on a surface whose colour arrives from outside.

1. contrast. 2. brand-color. 3. focus-ring. 4. opacity.