Complete Potions Catalog

Browse every potion: UI behavior guides your coding agent can apply to your existing project, with your own framework, components, and styling.

Layouts

Full-page layouts and structural patterns for dashboards, landing pages, documentation layouts, and app shells.

layouts, ecommerce, product-page, product-detail-page, pdp, conversion, reviews, responsive, merchandising
A product page whose gallery and buy box share the first screen: options that say when they're sold out, an Add to cart that is never disabled and points to the missing choice, and a cart request the server prices.
layouts, documentation, sidebar, table-of-contents, responsive, search, scroll-spy, a11y
A documentation site's layout: a sidebar that's a sticky column from 1024 px and a drawer below, the article with code that Copy copies, and a table of contents that marks the section being read without touching the URL.
layouts, blog, article, post, content, responsive, sidebar, pagination, newsletter
A blog's list page and post page: post cards whose title link covers the card, an article with underlined links and code that scrolls inside itself, pagination that marks the current page, and sharing without third-party scripts.
layouts, chat, ai, agent, conversation, messaging, responsive, a11y
A chat layout for an AI assistant: a conversation list, a transcript that stays put while you read, and a composer whose Send button turns into Stop. A message that fails to send stays in the input with a retry.
layouts, landing-page, marketing, hero, feature-highlights, testimonials, cta, responsive, a11y
A marketing page from the header to the footer: a header that sticks with CSS alone and turns solid as the page scrolls, calls to action that are links, social proof from the user's real content, and motion that never leaves a section hidden.
layouts, dashboard, sidebar, app-shell, responsive, admin, a11y
An app shell where the page itself scrolls: a sticky header that never covers the focused element, the sidebar in its own column or as a drawer on small screens, and a footer that scrolls with the content.

Components

Reusable UI building blocks including buttons, dialogs, cards, forms, navigation, data tables, and more.

components, sidebar, navigation, collapsible, multi-level, responsive, drawer, a11y
An app's side navigation: groups and nested lists, a collapsible icon rail that still names every link, a saved collapsed state that never jumps, and the same nav as a drawer on small screens.
components, command-palette, command-menu, omnibox, keyboard-shortcuts, search, combobox, a11y, aria
A search box for commands in a modal dialog: Cmd or Ctrl+K opens it, the first result is highlighted so Enter runs it, the arrows move a highlight while focus stays in the input, and Escape always closes it.
components, tabs, navigation, segmented-content, a11y, aria, keyboard-navigation, responsive, scrollable
Tabs that switch panels in place, after the APG pattern: a named tab list that is one Tab stop, the arrow keys with Home and End, automatic or manual activation, and disabled tabs that can still be found.
components, button, cta, a11y, wcag, aria, focus-visible, loading, icon-button, states, variants, forms
Accessible buttons that build on the project's own: variants, sizes that grow with their labels, icon-only names, toggles, and a busy state that keeps focus and says what's happening.
components, file-upload, dropzone, drag-and-drop, forms, a11y, wcag, aria, keyboard-navigation, progress, validation
A file upload that works by keyboard, pointer, and drag and drop: a button opens the picker, the whole area takes dropped files without the browser opening them, and each file is checked and listed with its own progress and Remove button, while the server checks everything again.
components, dropdown, select, combobox, listbox, form, a11y, wcag, aria, keyboard-navigation
Choosing from a list: the native select for a simple choice, and a combobox for search and several choices that keeps focus in its input, highlights with aria-activedescendant, and never picks or submits anything by accident.
components, toast, notifications, snackbar, feedback, alerts, a11y, wcag, aria, queue
Toasts that screen readers announce and keyboard users can reach: live regions in the page from the start, Undo that stays until dismissed, timers that pause, F8 to the newest toast, and a stack that never covers what has focus.
components, input, form, text-field, validation, a11y, wcag, aria, form-control
An accessible text field on the native input or textarea: a visible label, hint and error text read with the field, required and optional marked in words, autocomplete for personal data, and a character count that never cuts text off.
components, data-table, table, sortable, pagination, filtering, selection, responsive, a11y, wcag, admin, dashboard
A table for browsing records, with sortable headers, a filter field, and pages, and a selection kept across pages with a header checkbox for the page. It stays a real table, with a caption and row headers.
components, navbar, navigation, header, responsive, mobile-menu, sticky, dropdown, a11y
A site's top bar with a skip link, links with disclosure dropdowns, and a menu in a native dialog on small screens. It sticks with CSS alone and keeps focused elements in view below it.
components, modal, dialog, overlay, focus-management, a11y, wcag, aria
An accessible modal dialog for confirmations and short tasks, built on the project's dialog component or the native dialog element: focus that moves in and comes back, Escape and backdrop rules, a busy state that survives a failed action, and a full-screen layout on phones.

Features

Complete user-facing features and flows like pricing tables, authentication, e-commerce, onboarding, and search.

features, form, authentication, login, registration, validation, accessibility, forms
Sign-in and registration forms that follow current NIST password guidance, never reveal whether an email has an account, work with password managers and passkeys, and keep passwords out of URLs, spell-check services, and plain view.
features, pricing, saas, subscription, billing, marketing, responsive, conversion
Pricing plans with a monthly or yearly billing choice: a radio group drawn as a segmented control, prices and savings worked out from each plan's prices, and calls to action that are links.

Patterns

Design and interaction patterns including drag-and-drop, infinite scroll, accessibility patterns, and responsive behaviors.

patterns, ai, agent, approval, review, permissions, undo, audit-log, a11y
A framework-agnostic pattern for reviewing AI-proposed actions before they run: plan preview, risk labels, scoped permissions, approve, reject, and edit controls, undo, progress, and an audit trail.
patterns, ai, streaming, markdown, tool-calls, reasoning, citations, artifacts, a11y
How to render an AI assistant's reply as it streams: Markdown, code, tool-call cards, citations, artifacts, and optional reasoning, with a Stop that keeps partial text, errors shown in place, and model output treated as untrusted. Companion to the AI Agent Chat Layout.
patterns, dark-mode, light-mode, theme, color-scheme, accessibility, design-tokens, responsive
Light, dark, and System themes that never flash: the saved choice applied before the first paint, tokens that set color-scheme, a radio group to choose, and System following the system's setting as it changes.
patterns, validation, forms, ux, accessibility, error-handling, progressive-disclosure, user-experience
When form errors appear, what they say, and where focus goes: errors when someone leaves a field they typed in or tries to submit, never while they type or tab through, an error summary for longer forms, and the browser's checks working with the project's form library.

Tooling

Developer tools and infrastructure including build tools, CLI utilities, third-party integrations, and API patterns.

tooling, eslint, linting, config, code-quality, developer-experience, typescript, accessibility, formatting
ESLint for UI projects: build on the lint setup the project has, flat config for ESLint 10, the framework's accessibility rules, TypeScript and Prettier, and plugins checked against the installed ESLint.

Don't See What You Need?

We're constantly adding new potions. Have a suggestion for a UI specification?

Contribute a Potion