Each potion is a detailed specification that AI agents can adapt into layouts, components, features, patterns, or tooling for an existing project.
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.
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.
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.
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.
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.