AI pieces from Beste UI, drop-in widgets built with shadcn/ui and Tailwind CSS.
| Piece | Title | Category | Install |
|---|---|---|---|
| ai28 | Vision Input | AI | npx shadcn add https://ui.beste.co/piece/r/ai28 |
| ai27 | KB Search Result | AI | npx shadcn add https://ui.beste.co/piece/r/ai27 |
| ai26 | Embedding Preview | AI | npx shadcn add https://ui.beste.co/piece/r/ai26 |
| ai25 | Prompt Template | AI | npx shadcn add https://ui.beste.co/piece/r/ai25 |
| ai24 | Chain of Thought | AI | npx shadcn add https://ui.beste.co/piece/r/ai24 |
| ai23 | Agent Steps | AI | npx shadcn add https://ui.beste.co/piece/r/ai23 |
| ai22 | Function Call | AI | npx shadcn add https://ui.beste.co/piece/r/ai22 |
| ai21 | API Key Input | AI | npx shadcn add https://ui.beste.co/piece/r/ai21 |
| ai20 | Citation Chip | AI | npx shadcn add https://ui.beste.co/piece/r/ai20 |
| ai19 | Model Comparison | AI | npx shadcn add https://ui.beste.co/piece/r/ai19 |
| ai18 | Context Gauge | AI | npx shadcn add https://ui.beste.co/piece/r/ai18 |
| ai17 | AI Summary | AI | npx shadcn add https://ui.beste.co/piece/r/ai17 |
| ai16 | Top-K Tokens | AI | npx shadcn add https://ui.beste.co/piece/r/ai16 |
| ai15 | Feedback Row | AI | npx shadcn add https://ui.beste.co/piece/r/ai15 |
| ai14 | Stop Reason | AI | npx shadcn add https://ui.beste.co/piece/r/ai14 |
| ai13 | Image Variants | AI | npx shadcn add https://ui.beste.co/piece/r/ai13 |
| ai12 | Generated Code | AI | npx shadcn add https://ui.beste.co/piece/r/ai12 |
| ai11 | Thinking Dots | AI | npx shadcn add https://ui.beste.co/piece/r/ai11 |
| ai10 | Usage Ring | AI | npx shadcn add https://ui.beste.co/piece/r/ai10 |
| ai9 | Suggestion Pills | AI | npx shadcn add https://ui.beste.co/piece/r/ai9 |
| ai8 | Chat Exchange | AI | npx shadcn add https://ui.beste.co/piece/r/ai8 |
| ai7 | System Prompt | AI | npx shadcn add https://ui.beste.co/piece/r/ai7 |
| ai6 | Temperature Control | AI | npx shadcn add https://ui.beste.co/piece/r/ai6 |
| ai5 | Token Counter | AI | npx shadcn add https://ui.beste.co/piece/r/ai5 |
Attached image card with a tone-tinted thumbnail tile, a scanning line overlay, filename, dimensions, and detected-object chips.
Use INCR with an EXPIRE TTL to build a fixed-window limiter that resets every minute.
docs/guides/rate-limits.mdKnowledge base hit card with a document title, snippet, source path, and an emerald similarity score badge.
Vector embedding visualizer with a zero baseline, positive values drawn upward in the tone color and negatives drawn downward in muted.
Monospace prompt card with inline handlebars-style variables highlighted in violet against plain body text.
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.
Vertical agent plan with done, active, and pending states indicated by check, spinner, and dot icons.
Tool invocation card with the function name, typed arguments in monospace, and a running or done status pill.
Masked API key field with a show/hide eye toggle and a copy button, tagged with the env var name.
"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.
Two model cards side by side showing name, speed, and cost. The selected card gets a primary border and check.
Context-window card with a tokens-used-of-max readout and a violet-to-fuchsia gradient fill bar.
Summary card with a violet sparkle header, bullet list of key points, and a source attribution below.
Debugger-style panel showing the language model's next-token probabilities, with the top candidate highlighted and bars scaled to softmax weight.
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.
Two-by-two grid of AI-generated image variants. The selected tile gets a primary border.
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.
Monthly quota meter with a tone-colored SVG donut arc, percentage in the middle, used/total request count, and reset countdown.
Paired bubbles: a primary-tinted user message above an assistant reply fronted by a gradient sparkle avatar.
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.