Compact, self-contained widgets that behave like assets. Drop them into any block, card, or page to add a small touch of polish without rewriting the surrounding UI.
Write a landing page hero for a coffee roaster
Chat prompt card with a sparkle glyph, multi-line value, attach button, and a smart send arrow.
The smoothest cup of the morning starts with beans roasted just last
Partial assistant reply bubble with a blinking block cursor on the trailing character.
Gradient sparkle tile inside a pill showing the model name, a speed caption, and a dropdown arrow.
Chat bubble with three bouncing dots signaling that the assistant is composing a reply.
Token-usage card with used of total readout and a fill bar that shifts emerald to amber to rose.
Slider card with a sky-to-rose gradient track, a circular handle, and Focused to Creative end labels.
You are a concise copywriter. Reply in 2 sentences max and avoid em dashes.
Dashed-border card with a violet scroll icon, uppercase label, and an edit button for the system instructions.
Paired bubbles: a primary-tinted user message above an assistant reply fronted by a gradient sparkle avatar.
Wrapping row of pill suggestions that seed the prompt input with common intents.
Monthly quota meter with a tone-colored SVG donut arc, percentage in the middle, used/total request count, and reset countdown.
Three staggered violet-to-fuchsia dots inside a pill next to a Thinking label.
const slug = (s: string) => s.toLowerCase().replace(/\s+/g, '-');
AI code output card with a language tag, copy and regenerate actions, and a monospace block below.
Two-by-two grid of AI-generated image variants. The selected tile gets a primary border.
Completion stop reason card where the icon tile color flips per reason (end_turn, stop_sequence, tool_use, max_tokens) and shows the token count.
Thumbs up and down buttons with tinted active state, alongside copy and share actions.
Debugger-style panel showing the language model's next-token probabilities, with the top candidate highlighted and bars scaled to softmax weight.
Summary card with a violet sparkle header, bullet list of key points, and a source attribution below.
Context-window card with a tokens-used-of-max readout and a violet-to-fuchsia gradient fill bar.
Two model cards side by side showing name, speed, and cost. The selected card gets a primary border and check.
"The onboarding flow now ships with three new interactive steps."
Inline citation card with a numbered violet circle, a quoted excerpt, and an external link icon with the source path.
Masked API key field with a show/hide eye toggle and a copy button, tagged with the env var name.
Tool invocation card with the function name, typed arguments in monospace, and a running or done status pill.
Vertical agent plan with done, active, and pending states indicated by check, spinner, and dot icons.
User wants to rate limit 100 req/min per key.
Leaky bucket gives smoother traffic than fixed window.
Redis INCR with TTL is the simplest implementation.
Collapsible reasoning panel with a brain icon header and italic thought bullets on a left border rail.