Split Card
Rounded two-column promo card with copy on one side and a picture or scene on the other, stacking when narrow. Flip swaps the sides, and a hairline divider beside the media is optional.
pnpm dlx shadcn add @01orbital/split-cardThe source comes with full access.
One payment of $149 opens the source right here and lets the CLI install every paid component, with lifetime updates.
The example also uses button, poster and section. Install them too:
pnpm dlx shadcn add @01orbital/button @01orbital/poster @01orbital/sectionnpx shadcn add @01orbital/button @01orbital/poster @01orbital/sectionyarn shadcn add @01orbital/button @01orbital/poster @01orbital/sectionbunx --bun shadcn add @01orbital/button @01orbital/poster @01orbital/sectionUsage
import { SplitCard } from "@/components/card/split-card"Examples
Paper Color Washsplit-card-paper-color-wash
Example of the Split Card on paper: a full-height color wash beside the copy, a mono label above a serif title and a divider between the halves.
pnpm dlx shadcn add @01orbital/split-card-paper-color-washThe source comes with full access.
One payment of $149 opens the source right here and lets the CLI install every paid component, with lifetime updates.
Frost Moon Reversedsplit-card-frost-moon-reversed
Example of the Split Card, reversed, with a frosted surface and a moon sphere on the left, a serif title and two links.
pnpm dlx shadcn add @01orbital/split-card-frost-moon-reversedThe source comes with full access.
One payment of $149 opens the source right here and lets the CLI install every paid component, with lifetime updates.
Sand Print Postersplit-card-sand-print-poster
Example of the Split Card: a tilted slab poster in a white border beside the copy, with a sample price and an add-to-bag button.
pnpm dlx shadcn add @01orbital/split-card-sand-print-posterThe source comes with full access.
One payment of $149 opens the source right here and lets the CLI install every paid component, with lifetime updates.
Sage Pool Insetsplit-card-sage-pool-inset
Example of the Split Card, reversed, with a rounded, inset pool-of-light panel on the left and a short note under the link.
pnpm dlx shadcn add @01orbital/split-card-sage-pool-insetThe source comes with full access.
One payment of $149 opens the source right here and lets the CLI install every paid component, with lifetime updates.
Frost Newsletter Signupsplit-card-frost-newsletter-signup
Example of the Split Card: a planet limb scene beside a newsletter note and a one-field email signup.
pnpm dlx shadcn add @01orbital/split-card-frost-newsletter-signupThe source comes with full access.
One payment of $149 opens the source right here and lets the CLI install every paid component, with lifetime updates.
Gold Forge Panelsplit-card-gold-forge-panel
Example of the Split Card where the copy half is a gold metal face with a dark text panel, beside a full-bleed forge color wash, built from Card parts.
pnpm dlx shadcn add @01orbital/split-card-gold-forge-panelThe source comes with full access.
One payment of $149 opens the source right here and lets the CLI install every paid component, with lifetime updates.
Reversed Split Card Quotesplit-card-clay-interview-quote
Example of the Split Card, reversed: a backlit blocks scene beside a quotation title, the speaker's name and a closed note with more of the quote.
pnpm dlx shadcn add @01orbital/split-card-clay-interview-quoteThe source comes with full access.
One payment of $149 opens the source right here and lets the CLI install every paid component, with lifetime updates.
Blue Progress Ringssplit-card-blue-progress-rings
Example of the Split Card: a concentric progress rings panel carrying a large 75% figure, beside a short list of sample progress.
pnpm dlx shadcn add @01orbital/split-card-blue-progress-ringsThe source comes with full access.
One payment of $149 opens the source right here and lets the CLI install every paid component, with lifetime updates.
Outline Workshop Calendarsplit-card-outline-workshop-calendar
Example of the Split Card: a square, outlined card on paper with a November calendar beside the workshop copy and a closed note with the afternoon's plan.
pnpm dlx shadcn add @01orbital/split-card-outline-workshop-calendarThe source comes with full access.
One payment of $149 opens the source right here and lets the CLI install every paid component, with lifetime updates.
Plum Blue Hour Windowsplit-card-plum-blue-hour-window
Example of the Split Card, reversed, with a glass pane surface and a blue hour scene in a rounded window on the left, a link and a save button.
pnpm dlx shadcn add @01orbital/split-card-plum-blue-hour-windowThe source comes with full access.
One payment of $149 opens the source right here and lets the CLI install every paid component, with lifetime updates.
Anatomy
Split Card is built from 7 parts. In the example they nest like this:
SplitCard
├─ SplitCardContent
│ ├─ SplitCardHeader
│ │ ├─ SplitCardTitle
│ │ └─ SplitCardDescription
│ └─ SplitCardActions
└─ SplitCardMediaSplitCard: A wide card with copy on one side and a picture or scene on the other. Compose it from its parts: aSplitCardContentholding aSplitCardHeader(meta,SplitCardTitle,SplitCardDescription) andSplitCardActions, then aSplitCardMedia. It is the kit'sCardand its parts, styled. Every part takesclassName.SplitCardContent: The copy half: centered, its padding growing with the section, holding the header and the actions 24px apart.SplitCardHeader: The copy's top block: an optional line of meta, the title and the description, 24px apart, capped at 28rem so a line stays readable. The stockcard-headercontainer, without the card's padding, since the content half pads.SplitCardTitle: The card's title, read as a level-3 heading: 24px, 30px once the section is 48rem wide.SplitCardDescription: Muted supporting text under the title, 16px with 28px lines.SplitCardActions: The card's buttons or links, in a row that wraps when they do not fit.SplitCardMedia: The picture half: at least 24rem tall, centered and clipped. A scene fills it withabsolute inset-0; animgneedssize-full object-cover.divider(on by default) draws the hairline between the halves: along the top while they stack, along the inner edge once they sit side by side.
API reference
SplitCard
A wide card with copy on one side and a picture or scene on the other. Compose it from its parts: a SplitCardContent holding a SplitCardHeader (meta, SplitCardTitle, SplitCardDescription) and SplitCardActions, then a SplitCardMedia. It is the kit's Card and its parts, styled. Every part takes className.
It responds to the width of the enclosing Section, not the screen. The two halves stack until the section is 48rem wide, then sit side by side, and the padding, title size and divider change at the same width. Outside a Section, the halves always stack. As in the stock Card, the header is the card-header container.
Prop
Type
It also accepts the HTML attributes of the element it renders.
SplitCardContent
The copy half: centered, its padding growing with the section, holding the header and the actions 24px apart.
It accepts the HTML attributes of the element it renders.
SplitCardHeader
The copy's top block: an optional line of meta, the title and the description, 24px apart, capped at 28rem so a line stays readable. The stock card-header container, without the card's padding, since the content half pads.
It accepts the HTML attributes of the element it renders.
SplitCardTitle
The card's title, read as a level-3 heading: 24px, 30px once the section is 48rem wide.
It accepts the HTML attributes of the element it renders.
SplitCardDescription
Muted supporting text under the title, 16px with 28px lines.
It accepts the HTML attributes of the element it renders.
SplitCardActions
The card's buttons or links, in a row that wraps when they do not fit.
It accepts the HTML attributes of the element it renders.
SplitCardMedia
The picture half: at least 24rem tall, centered and clipped. A scene fills it with absolute inset-0; an img needs size-full object-cover. divider (on by default) draws the hairline between the halves: along the top while they stack, along the inner edge once they sit side by side.
Prop
Type
It also accepts the HTML attributes of the element it renders.
Dependencies
npm: cn. The CLI installs them for you. cn merges Tailwind class names, in place of clsx and tailwind-merge.
Registry pieces it installs with it:
Used in blocks
3 blocks are built with Split Card: