Magazine Cover
Magazine cover hero: a full-screen cover on cream paper with grain, an inset hairline frame, monospace corner text for masthead, issue and tagline, and an oversized centered title. Art goes underneath.
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@latest add @01orbital/magazine-covernpx shadcn@latest add @01orbital/magazine-coveryarn dlx shadcn@latest add @01orbital/magazine-coverbunx --bun shadcn@latest add @01orbital/magazine-coverUsage
import { MagazineCover } from "@/components/hero/magazine-cover"
export default function MagazineCoverDemo() {
return (
<MagazineCover
title="Atlas"
masthead={
<>
<span>Zaira</span>
<span>Issue No. 01 — MMXXVI</span>
</>
}
issue="Vol. I"
tagline="A field guide to the quiet parts"
/>
)
}This example installs with everything it uses:
pnpm dlx shadcn@latest add @01orbital/magazine-cover-demonpx shadcn@latest add @01orbital/magazine-cover-demoyarn dlx shadcn@latest add @01orbital/magazine-cover-demobunx --bun shadcn@latest add @01orbital/magazine-cover-demoAPI reference
A full-screen magazine cover: a huge title with a masthead, issue and tagline in the corners. The title is sized from the viewport width, and the frame and corner labels move out 8px from the md breakpoint. Pass the art as children; omit it for plain paper.
Cream stock with ink to match, both literal so the paper never flips with the page's mode; pass dark bg-transparent text-foreground for dark paper.
Prop
Type
It also accepts the HTML attributes of the element it renders.
Dependencies
npm: cn. The CLI installs it for you.
Requires these pieces. The CLI adds each one that is missing and won't replace a file you already have unless you choose to:
font-geist-mono
Last updated on