Blur-In Word Hero with Floating App Window
Left-aligned large tight-tracked headline on near-black, followed by a muted subhead and a wide product window mockup (sidebar, issue detail, agent side panel) with hairline border and a soft gradient halo/edge-fade beneath. A grey logo row with a mono eyebrow follows.
Rebuilt from linear.app in the Obsidian Precision style.
Looks exactly like linear.app: brings its fonts and colours, namespaced so your own theme stays untouched.
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: headline, subhead, eyebrow, logos (string[]). Headline words blur-in on load with 30ms stagger; the app window and halo fade in after 1.3s. Renders standalone with no props.
components/blurred-word-hero.tsx
import { useEffect, useState } from "react"; type Props = { headline?: string; subhead?: string; eyebrow?: string; logos?: string[]; }; export default function BlurInWordHero({ headline = "Plan, build and ship work your whole team can follow", subhead = "A calm workspace for tasks, specs and automated helpers that keeps every project moving.", eyebrow = "Trusted by teams at", logos = ["Northwind", "Altura", "Lumen", "Kitefield", "Brightwave"], }: Props) { const [on, setOn] = useState(false); useEffect(() => { const t = requestAnimationFrame(() => setOn(true)); return () => cancelAnimationFrame(t); }, []); const words = headline.split(" "); const rows = ["Draft onboarding flow", "Fix sync timeout", "Review pricing page", "Update API docs", "Plan Q3 roadmap"]; return ( <section className="relative overflow-hidden bg-canvas font-sans text-primary"> <div className="mx-auto max-w-6xl px-6 pb-20 pt-20 md:pt-28"> <h1 className="max-w-3xl text-4xl font-medium leading-[1.05] tracking-[-0.03em] md:text-6xl"> {words.map((w, i) => ( <span key={i} className="mr-[0.25em] inline-block motion-reduce:!transition-none" style={{ opacity: on ? 1 : 0, filter: on ? "blur(0px)" : "blur(10px)", transform: on ? "translateY(0%)" : "translateY(20%)", transition: "all 1000ms cubic-bezier(0.25,0.1,0.25,1)", transitionDelay: `${400 + i * 30}ms`, }} > {w} </span> ))} </h1> <p className="mt-6 max-w-xl text-lg text-tertiary">{subhead}</p> <div className="relative mt-14"> <div className="pointer-events-none absolute -inset-x-10 -top-10 bottom-0 bg-[radial-gradient(60%_60%_at_50%_0%,var(--color-accent-indigo),transparent)] opacity-20 blur-2xl transition-opacity duration-[1500ms]" style={{ opacity: on ? 0.2 : 0, transitionDelay: "1300ms" }} /> <div className="relative flex h-[380px] overflow-hidden rounded-xl border border-hairline bg-surface shadow-high transition-opacity duration-[1500ms] ease-[cubic-bezier(0.455,0.03,0.515,0.955)] md:h-[460px]" style={{ opacity: on ? 1 : 0, transitionDelay: "1300ms" }} > <aside className="hidden w-52 shrink-0 border-r border-hairline p-3 sm:block"> <div className="mb-4 flex items-center gap-2 text-ui"> <span className="h-5 w-5 rounded-md bg-accent-indigo" /> Acme Team </div> {["Inbox", "My issues", "Projects", "Cycles", "Views"].map((n, i) => ( <div key={n} className={`rounded-md px-2 py-1.5 text-ui ${i === 1 ? "bg-surface-raised text-primary" : "text-tertiary"}`}>{n}</div> ))} <div className="mt-4 space-y-1"> {rows.map((r) => ( <div key={r} className="truncate px-2 py-1 text-micro text-quaternary">{r}</div> ))} </div> </aside> <div className="flex-1 p-6"> <div className="text-mono-eyebrow font-mono text-quaternary">TEAM-142</div> <div className="mt-2 text-xl font-medium tracking-tight">Draft onboarding flow</div> <div className="mt-3 space-y-2"> <div className="h-2 w-full rounded-pill bg-hairline" /> <div className="h-2 w-5/6 rounded-pill bg-hairline" /> <div className="h-2 w-2/3 rounded-pill bg-hairline" /> </div> <div className="mt-6 flex gap-2"> <span className="rounded-pill bg-surface-raised px-2.5 py-1 text-micro text-warning">In progress</span> <span className="rounded-pill bg-surface-raised px-2.5 py-1 text-micro text-info-blue">Design</span> </div> </div> <div className="hidden w-64 shrink-0 space-y-3 border-l border-hairline p-4 md:block"> <div className="text-ui text-tertiary">Assistant</div> <div className="rounded-lg bg-surface-raised p-3 text-ui text-secondary">Summarize open blockers for this issue.</div> <div className="rounded-lg border border-hairline p-3 text-ui text-tertiary">Two blockers found. Drafting a reply…</div> </div> <div className="pointer-events-none absolute inset-x-0 bottom-0 h-1/2 bg-gradient-to-t from-canvas to-transparent" /> </div> </div> <div className="mt-16"> <div className="text-mono-eyebrow font-mono uppercase text-quaternary">{eyebrow}</div> <ul className="mt-6 flex flex-wrap gap-x-10 gap-y-4 text-lg text-tertiary"> {logos.map((l) => ( <li key={l} className="flex items-center gap-2"> <span className="h-4 w-4 rotate-45 rounded-xs bg-quaternary" /> {l} </li> ))} </ul> </div> </div> </section> ); }import { useEffect, useState } from "react"; type Props = { headline?: string; subhead?: string; eyebrow?: string; logos?: string[]; }; export default function BlurInWordHero({ headline = "Plan, build and ship work your whole team can follow", subhead = "A calm workspace for tasks, specs and automated helpers that keeps every project moving.", eyebrow = "Trusted by teams at", logos = ["Northwind", "Altura", "Lumen", "Kitefield", "Brightwave"], }: Props) { const [on, setOn] = useState(false); useEffect(() => { const t = requestAnimationFrame(() => setOn(true)); return () => cancelAnimationFrame(t); }, []); const words = headline.split(" "); const rows = ["Draft onboarding flow", "Fix sync timeout", "Review pricing page", "Update API docs", "Plan Q3 roadmap"]; return ( <section className="relative overflow-hidden bg-background font-sans text-foreground"> <div className="mx-auto max-w-6xl px-6 pb-20 pt-20 md:pt-28"> <h1 className="max-w-3xl text-4xl font-medium leading-[1.05] tracking-[-0.03em] md:text-6xl"> {words.map((w, i) => ( <span key={i} className="mr-[0.25em] inline-block motion-reduce:!transition-none" style={{ opacity: on ? 1 : 0, filter: on ? "blur(0px)" : "blur(10px)", transform: on ? "translateY(0%)" : "translateY(20%)", transition: "all 1000ms cubic-bezier(0.25,0.1,0.25,1)", transitionDelay: `${400 + i * 30}ms`, }} > {w} </span> ))} </h1> <p className="mt-6 max-w-xl text-lg text-muted-foreground">{subhead}</p> <div className="relative mt-14"> <div className="pointer-events-none absolute -inset-x-10 -top-10 bottom-0 bg-[radial-gradient(60%_60%_at_50%_0%,var(--color-primary),transparent)] opacity-20 blur-2xl transition-opacity duration-[1500ms]" style={{ opacity: on ? 0.2 : 0, transitionDelay: "1300ms" }} /> <div className="relative flex h-[380px] overflow-hidden rounded-2xl border border-border bg-card shadow-obsidian-high transition-opacity duration-[1500ms] ease-[cubic-bezier(0.455,0.03,0.515,0.955)] md:h-[460px]" style={{ opacity: on ? 1 : 0, transitionDelay: "1300ms" }} > <aside className="hidden w-52 shrink-0 border-r border-border p-3 sm:block"> <div className="mb-4 flex items-center gap-2 text-obsidian-ui"> <span className="h-5 w-5 rounded-md bg-primary" /> Acme Team </div> {["Inbox", "My issues", "Projects", "Cycles", "Views"].map((n, i) => ( <div key={n} className={`rounded-md px-2 py-1.5 text-obsidian-ui ${i === 1 ? "bg-secondary text-foreground" : "text-muted-foreground"}`}>{n}</div> ))} <div className="mt-4 space-y-1"> {rows.map((r) => ( <div key={r} className="truncate px-2 py-1 text-obsidian-micro text-muted-foreground">{r}</div> ))} </div> </aside> <div className="flex-1 p-6"> <div className="text-obsidian-mono-eyebrow font-mono text-muted-foreground">TEAM-142</div> <div className="mt-2 text-xl font-medium tracking-tight">Draft onboarding flow</div> <div className="mt-3 space-y-2"> <div className="h-2 w-full rounded-full bg-border" /> <div className="h-2 w-5/6 rounded-full bg-border" /> <div className="h-2 w-2/3 rounded-full bg-border" /> </div> <div className="mt-6 flex gap-2"> <span className="rounded-full bg-secondary px-2.5 py-1 text-obsidian-micro text-obsidian-warning">In progress</span> <span className="rounded-full bg-secondary px-2.5 py-1 text-obsidian-micro text-obsidian-info-blue">Design</span> </div> </div> <div className="hidden w-64 shrink-0 space-y-3 border-l border-border p-4 md:block"> <div className="text-obsidian-ui text-muted-foreground">Assistant</div> <div className="rounded-lg bg-secondary p-3 text-obsidian-ui text-muted-foreground">Summarize open blockers for this issue.</div> <div className="rounded-lg border border-border p-3 text-obsidian-ui text-muted-foreground">Two blockers found. Drafting a reply…</div> </div> <div className="pointer-events-none absolute inset-x-0 bottom-0 h-1/2 bg-gradient-to-t from-background to-transparent" /> </div> </div> <div className="mt-16"> <div className="text-obsidian-mono-eyebrow font-mono uppercase text-muted-foreground">{eyebrow}</div> <ul className="mt-6 flex flex-wrap gap-x-10 gap-y-4 text-lg text-muted-foreground"> {logos.map((l) => ( <li key={l} className="flex items-center gap-2"> <span className="h-4 w-4 rotate-45 rounded-sm bg-foreground" /> {l} </li> ))} </ul> </div> </div> </section> ); }
Quality checks
Automated, in a real browser · 4d ago- Accessible: not passedElements must meet minimum color contrast ratio thresholds (1 element)
- 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: not passedNever appears with reduced motion on: <div> "Acme Team"