Code Block vs similar
4 options side by side. Our @design-infra pieces render live under the design system you choose; upstream pieces show their live demo where the host allows embedding, otherwise a screenshot with a link to the real thing. Pick or pass, then copy the feedback for your agent.
- drop-inTechnicalCalmRefined
A line-numbered listing and a unified diff.
$npx shadcn@latest add @beautifui/code-block - No preview yetOpen live demo ↗drop-inTechnicalTrustworthyRefined
A syntax-highlighted code surface with stable streaming updates, line numbers, focused lines, smooth following, and copy feedback.
$npx shadcn@latest add @beui/code-block - No preview yetOpen live demo ↗state · loop — subtledrop-inCalmRefinedTechnical
motion · medium cost · respects reduced motion
Collapsible reasoning trace: the label shimmers 'Thinking' only while isStreaming, then settles to 'Thought for 3.2s' (measured, or pass duration) and auto-collapses — until the user toggles it, after which it stops deciding for them. Muted-foreground chrome, inherits the theme; no shimmer under reduced motion.
$npx shadcn@latest add @smoothui/ai-reasoning - enter · hover — subtledrop-inTechnicalCalmRefined
css · low cost · respects reduced motion
Compact chips for tool calls an agent made. Requires the Beautiful UI foundation.css, which redefines --accent (collides with shadcn).
$npx shadcn@latest add @beautifui/tool-chips
Feedback for your agent
Pick or pass on each option (add a reason if you like), then paste this back into your agent's chat.
From design-infra compare — Code Block vs similar: (no picks yet) Compare: https://www.owencoonahan.xyz/design-infra/compare?ids=beautifui/code-block,beui/code-block,smoothui/ai-reasoning,beautifui/tool-chips&label=Code+Block+vs+similar