Motion & effects / Text effects
Centered Pull Quote
Large 36–40px centered statement in quotes, with a muted 'From …' attribution and an orange Read more arrow link.
Rebuilt from cursor.com/blog in the Warm Paper Editorial style.
npx shadcn@latest add https://justyoink.it/r/warm-paper-editorial/blocks/pull-quote-statement.json
Looks exactly like cursor.com: brings its fonts and colours, namespaced so your own theme stays untouched.
npx shadcn@latest add https://justyoink.it/r/warm-paper-editorial/mine/pull-quote-statement.json
Restyled to your project: uses your shadcn colours, fonts and radius, so it matches the rest of your app. Layout, type sizes and motion stay as designed.
Usage
Props: quote, source, linkLabel, href. Renders standalone with defaults; place it on a canvas-colored page section.
components/pull-quote-statement.tsx
export default function CenteredPullQuote({ quote = "“We’re designing toward a future of self-tending workspaces, where assistants file reports, schedule handoffs, and watch over every launch.”", source = "From “Notes on quiet workspaces”", linkLabel = "Read more", href = "#" }: { quote?: string; source?: string; linkLabel?: string; href?: string }) { return ( <section className="bg-canvas px-6 py-24 text-ink font-sans"> <figure className="mx-auto flex max-w-[720px] flex-col items-center text-center"> <blockquote> <p className="text-[28px] leading-[1.2] tracking-[-0.02em] sm:text-[36px] md:text-[40px] text-balance">{quote}</p> </blockquote> <figcaption className="mt-8 flex flex-wrap items-center justify-center gap-x-3 gap-y-1 text-ui text-ink-muted"> <span>{source}</span> <a href={href} className="text-accent transition-opacity duration-hover-color ease-hover-color hover:opacity-75 focus-visible:outline focus-visible:outline-2 focus-visible:outline-accent rounded-xs"> {linkLabel} <span aria-hidden="true">→</span> </a> </figcaption> </figure> </section> ); }export default function CenteredPullQuote({ quote = "“We’re designing toward a future of self-tending workspaces, where assistants file reports, schedule handoffs, and watch over every launch.”", source = "From “Notes on quiet workspaces”", linkLabel = "Read more", href = "#" }: { quote?: string; source?: string; linkLabel?: string; href?: string }) { return ( <section className="bg-background px-6 py-24 text-foreground font-sans"> <figure className="mx-auto flex max-w-[720px] flex-col items-center text-center"> <blockquote> <p className="text-[28px] leading-[1.2] tracking-[-0.02em] sm:text-[36px] md:text-[40px] text-balance">{quote}</p> </blockquote> <figcaption className="mt-8 flex flex-wrap items-center justify-center gap-x-3 gap-y-1 text-warm-ui text-muted-foreground"> <span>{source}</span> <a href={href} className="text-primary transition-opacity duration-warm-hover-color ease-warm-hover-color hover:opacity-75 focus-visible:outline focus-visible:outline-2 focus-visible:outline-primary rounded-sm"> {linkLabel} <span aria-hidden="true">→</span> </a> </figcaption> </figure> </section> ); }
Quality checks
Automated, in a real browser · 4d ago- Accessible: not passedElements must meet minimum color contrast ratio thresholds (2 elements)
- Responsive: passedRenders at phone (390px), tablet (768px) and desktop width without sideways scrolling.
- Dark mode: passedStill readable when installed in your theme and switched to dark mode.
- Themeable: passedUses design tokens rather than hard-coded colours, so it follows your theme cleanly.
- Animates cleanly: doesn't applyDoesn't animate, so there's nothing to check.