Trace and Code Block in Figma

The new shadcn/ui Trace and Code Block components are now available in the shadcncraft Pro Figma kit, with editable states and light and dark examples.
PreviousNext

Added Trace and Code Block to the shadcncraft Pro Figma kit, matching the anatomy of the new shadcn/ui components.

Trace

  • Reusable Trace, TraceLine, TraceCollapsibleTrigger and TraceCollapsible components.
  • Default, running, error and pending statuses, hover and focus states, and open and closed variants.
  • Editable titles, descriptions, icons and expanded content.
  • Light and dark examples for activity, sources, reasoning and tool output.

Code Block

  • Composable header, content, line, footer and copy-button components.
  • Default and small sizes, plus default and destructive variants.
  • Line numbers, added and removed lines, highlighted lines, and copy/copied states.
  • Light and dark examples for code, terminal output, diffs and use inside a Trace.

Both additions use the kit's style variables and document their matching React data-slot names. Download the latest Pro Figma kit from your customer portal.

Explore Trace in Figma, explore Code Block in Figma, or read the announcement.

SBIOTJ

Join 16,000+ builders shipping with shadcncraft

Design and assemble full pages faster with production-ready blocks built for real products.
  • Production-ready blocks and components
  • Clean React and Tailwind parity
  • Built for SaaS, marketing, and ecommerce teams
Get the design system
Join Now CTA

Real support from the team behind shadcncraft

Get help within 24 hours from the people who build and maintain the system.
Email
Prefer a direct line? Send us a message and we'll get back to you as soon as possible.
Discord
Get quick support, share feedback, or connect with other builders.
Feedback
Got something to say about anything shadcncraft? We'd love to hear it.