Editorial Spread Card

A magazine cover on real CSS 3D: hover and it lifts off its spine, click and it swings open on a hinge while the issue slides to centre, revealing a two-page spread with a pull quote, deck and drop-cap columns.

Try it: Hover to lift the cover; click (or Enter) to open the spread, Esc to close.

Installation

Install with the shadcn CLI:

npx shadcn@latest add https://www.framekitui.live/r/editorial-spread-card.json

Or, with the @framekit namespace registered: npx shadcn@latest add @framekit/editorial-spread-card. You can also copy the source into components/ui/editorial-spread-card.tsx (view on GitHub).

Usage

import { EditorialSpreadCard } from '@/components/ui/editorial-spread-card'

Props

Component props
PropTypeDefaultNotes
masthead / issuestring'Meridian' / 'No. 27 — Autumn'Magazine name and issue line.
coverLine / coverNotesstring / string[]—Main and secondary cover lines.
headline / deck / byline / bodystring / string[]—Right-page article; the first paragraph gets a drop cap.
pullQuote / quoteAttributionstring—Inside-cover pull quote.
coverSrc / coverAltstring—Your own cover image (replaces the generated art).
accentstring'#9f1239'Ink for kickers, rules, the drop cap and the generated cover.
open / defaultOpen / onOpenChangebooleanfalseControlled / uncontrolled open state.

Dependencies

  • motion
  • lucide-react
  • Swipe Carousel Post

    An Instagram-style multi-slide post card: drag or swipe the media and the track snaps on a spring, a segmented bar fills with slide progress, the dot pager shrinks toward the edges and a double-tap…

  • Video Lightbox Dialog

    A cinematic thumbnail with a clear-glass play button that grows into a focused player on a shared-layout spring while the page blurs back. Bring your own video, or use the generated preview with…

  • Folder Fan Showcase

    Social post cards wait inside a frosted-glass folder, peeking over the rim of a blurred front pocket. Hover or focus and they rise and fan out on staggered springs; pick one and it lifts clear of…

  • Neon Halo Card

    A card rimmed by a slow sweep of coloured light: a conic gradient travels a hairline edge while a soft bloom breathes behind it, and the pointer pulls a quiet spotlight across the surface.…

  • Origami Unfold Card

    A trail ticket that unfolds like a paper map: press the cover and two creased panels swing down in sequence on real CSS-3D hinges, catching light as they flatten, while the route draws itself and…

  • Device Frame

    Generic, logo-free device chrome for product shots: a browser with a frosted toolbar and centred address field, or a phone with a machined two-tone rim, punch-hole camera, status bar and floating…

See all 27 Cards components