Cover Card
Card with a full-bleed cover image that zooms while the whole card lifts on hover or focus, plus header, title, description, action and a one-line truncated footer. Built on the stock Card.
The 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.
Installation
pnpm dlx shadcn add @01orbital/cover-cardnpx shadcn add @01orbital/cover-cardyarn shadcn add @01orbital/cover-cardbunx --bun shadcn add @01orbital/cover-cardPart of the 01orbital library. With a license, put ORBITAL_TOKEN in .env.local and the same command installs it (licensed install, pricing).
It lands at components/card/cover-card.tsx, as source you own and edit.
The example also uses section. Install it too:
pnpm dlx shadcn add @01orbital/sectionnpx shadcn add @01orbital/sectionyarn shadcn add @01orbital/sectionbunx --bun shadcn add @01orbital/sectionUsage
import { CoverCard } from "@/components/card/cover-card"
import {
Section,
SectionContent,
} from "@/components/editorial/section"
const COPY = {
items: [
{
title: "Halcyon",
description: "Technology",
image:
"https://01orbital.dev/art/kit/celestograph-369187-meridian-1b.png",
footer: "A support workspace built around palette-driven agents",
},
{
title: "Lantern",
description: "Healthcare",
image: "https://01orbital.dev/art/kit/celestograph-61495-gesso-2b.png",
footer: "Lantern's intake agent greets patients in calm teal",
},
],
} as const
export default function CoverCardDemo() {
return (
<Section>
<SectionContent className="items-center">
<div className="grid w-full max-w-4xl gap-5 sm:grid-cols-2">
{COPY.items.map((item) => (
<CoverCard
key={item.title}
className="aspect-square"
title={item.title}
description={item.description}
href="#"
linkLabel={`Read about ${item.title}`}
image={{ src: item.image }}
footer={item.footer}
/>
))}
</div>
</SectionContent>
</Section>
)
}API reference
Prop
Type
It also accepts the HTML attributes of the element it renders.
Dependencies
npm: @phosphor-icons/react, cn. The CLI installs them for you.
Registry pieces it installs with it:
More Card
Bevel Card
A finished card with a bevelled media preview, title, description and optional footer. Supply an image or component for the preview and customize the stock Card through className.
Engraved Card
ISO-proportioned metal card painted with a ContourField strata pattern in metals from graphite to lime, with a contact chip, an optional printed wordmark and horizontal or vertical orientation.