Tailwind UI Pattern Registry for humans and agents

code preview split two-column steps how-it-works terminal code preview split two-column step how-it-works description terminal side-by-side description and code block how it works step with terminal preview

Code Preview Split

Fetch pattern JSON: curl https://webspire.de/patterns/code-preview/split.json

Details

Family
code-preview
Tier
enhanced
Kind
component
Extends
code-preview/base
Responsive Dark Mode Tailwind Only SSR Safe Copy & Paste
Stable Published
codepreviewsplittwo-columnstepshow-it-worksterminal

Slots

Name Required Description
stepBadge No Numbered badge indicating the step.
heading Yes Step or section heading text.
description Yes Descriptive paragraph for the step.
bullets No Bullet list of key points or features.
code Yes Code or terminal content in the right column.

Two-column layout pairing a step description (numbered badge, heading, paragraph, bullet list) with a dark terminal code block. Ideal for how-it-works sections and step-by-step installation guides. Stacks vertically on mobile.