Motion & effects / Animated graphics
Dashed Orbit Integration Ring
Concentric dashed circles around a central black triangle, with white circular icon chips with colored soft shadows placed on the rings, over a pale pink-blue radial glow.
Rebuilt from vercel.com/solutions/turborepo in the Monochrome Precision style.
npx shadcn@latest add https://yoink-app.fly.dev/r/monochrome-precision/blocks/orbit-integrations.json
Looks exactly like vercel.com: brings its fonts and colours, namespaced so your own theme stays untouched.
npx shadcn@latest add https://yoink-app.fly.dev/r/monochrome-precision/mine/orbit-integrations.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: title and body set the right-hand copy. The chips fade in one by one (580ms stagger) when the graphic scrolls into view.
components/orbit-integrations.tsx
import { useEffect, useRef, useState } from "react"; type Props = { title?: string; body?: string; }; const rings = [64, 120, 180, 240]; function Glyph({ i }: { i: number }) { const c = ["#2563eb", "#171717", "#ea580c", "#06b6d4", "#171717", "#eab308", "#7c3aed"][i]; const common = { fill: "none", stroke: c, strokeWidth: 2.5, strokeLinecap: "round" as const, strokeLinejoin: "round" as const }; switch (i % 4) { case 0: return <svg width="26" height="26" viewBox="0 0 24 24" aria-hidden><circle cx="12" cy="12" r="8" {...common} /><circle cx="12" cy="12" r="2.5" {...common} /></svg>; case 1: return <svg width="26" height="26" viewBox="0 0 24 24" aria-hidden><path d="M12 3l8 4.5v9L12 21l-8-4.5v-9z" {...common} /></svg>; case 2: return <svg width="26" height="26" viewBox="0 0 24 24" aria-hidden><path d="M3 9c3-4 5 4 9 0s6 4 9 0M3 16c3-4 5 4 9 0s6 4 9 0" {...common} /></svg>; default: return <svg width="26" height="26" viewBox="0 0 24 24" aria-hidden><rect x="5" y="5" width="14" height="14" rx="4" {...common} /></svg>; } } const chips = [ { ring: 1, a: -90, glow: "#60a5fa" }, { ring: 2, a: -50, glow: "#a78bfa" }, { ring: 2, a: 10, glow: "#fb923c" }, { ring: 3, a: 70, glow: "#67e8f9" }, { ring: 3, a: 125, glow: "#a1a1aa" }, { ring: 2, a: 180, glow: "#fde047" }, { ring: 3, a: -135, glow: "#93c5fd" }, ]; export default function DashedOrbitIntegrationRing({ title = "Connect your stack", body = "Our team works alongside the makers of the tools you rely on, keeping every integration aligned, stable, and a pleasure to use.", }: Props) { const ref = useRef<HTMLDivElement>(null); const [on, setOn] = useState(false); useEffect(() => { const el = ref.current; if (!el) return; const io = new IntersectionObserver(([e]) => { if (e.isIntersecting) { setOn(true); io.disconnect(); } }); io.observe(el); return () => io.disconnect(); }, []); return ( <section className="relative overflow-hidden bg-canvas"> <div className="mx-auto grid max-w-6xl items-center gap-10 px-6 py-16 md:grid-cols-2"> <div ref={ref} className="relative mx-auto h-[480px] w-full max-w-[520px]"> <div className="absolute inset-0 bg-[radial-gradient(closest-side,var(--color-aurora-pink),var(--color-aurora-blue)_60%,transparent)] opacity-70 blur-2xl" /> <div className="absolute left-1/2 top-1/2 h-0 w-0"> {rings.map((r, i) => ( <div key={r} className="absolute rounded-full border border-dashed border-ink/70" style={{ width: r * 2, height: r * 2, left: -r, top: -r }} /> ))} <svg className="absolute -left-7 -top-7" width="56" height="56" viewBox="0 0 56 56" aria-label="Center mark"> <path d="M28 8l26 40H2z" fill="#000" /> </svg> {chips.map((c, i) => { const r = rings[c.ring]; const rad = (c.a * Math.PI) / 180; return ( <div key={i} className="absolute flex h-[72px] w-[72px] items-center justify-center rounded-full bg-white transition-opacity duration-500 ease-linear motion-reduce:transition-none" style={{ left: Math.cos(rad) * r * 0.9 - 36, top: Math.sin(rad) * r * 0.9 - 36, opacity: on ? 1 : 0, transitionDelay: `${i * 580}ms`, boxShadow: `0 4px 18px ${c.glow}66, 0 0 0 1px ${c.glow}33`, }} > <Glyph i={i} /> </div> ); })} </div> </div> <div className="max-w-md"> <h2 className="text-h2 font-sans tracking-[-0.03em] text-ink">{title}</h2> <p className="mt-5 text-lead text-secondary">{body}</p> </div> </div> </section> ); }import { useEffect, useRef, useState } from "react"; type Props = { title?: string; body?: string; }; const rings = [64, 120, 180, 240]; function Glyph({ i }: { i: number }) { const c = ["#2563eb", "var(--color-foreground)", "#ea580c", "#06b6d4", "var(--color-foreground)", "#eab308", "#7c3aed"][i]; const common = { fill: "none", stroke: c, strokeWidth: 2.5, strokeLinecap: "round" as const, strokeLinejoin: "round" as const }; switch (i % 4) { case 0: return <svg width="26" height="26" viewBox="0 0 24 24" aria-hidden><circle cx="12" cy="12" r="8" {...common} /><circle cx="12" cy="12" r="2.5" {...common} /></svg>; case 1: return <svg width="26" height="26" viewBox="0 0 24 24" aria-hidden><path d="M12 3l8 4.5v9L12 21l-8-4.5v-9z" {...common} /></svg>; case 2: return <svg width="26" height="26" viewBox="0 0 24 24" aria-hidden><path d="M3 9c3-4 5 4 9 0s6 4 9 0M3 16c3-4 5 4 9 0s6 4 9 0" {...common} /></svg>; default: return <svg width="26" height="26" viewBox="0 0 24 24" aria-hidden><rect x="5" y="5" width="14" height="14" rx="4" {...common} /></svg>; } } const chips = [ { ring: 1, a: -90, glow: "#60a5fa" }, { ring: 2, a: -50, glow: "#a78bfa" }, { ring: 2, a: 10, glow: "#fb923c" }, { ring: 3, a: 70, glow: "#67e8f9" }, { ring: 3, a: 125, glow: "#a1a1aa" }, { ring: 2, a: 180, glow: "#fde047" }, { ring: 3, a: -135, glow: "#93c5fd" }, ]; export default function DashedOrbitIntegrationRing({ title = "Connect your stack", body = "Our team works alongside the makers of the tools you rely on, keeping every integration aligned, stable, and a pleasure to use.", }: Props) { const ref = useRef<HTMLDivElement>(null); const [on, setOn] = useState(false); useEffect(() => { const el = ref.current; if (!el) return; const io = new IntersectionObserver(([e]) => { if (e.isIntersecting) { setOn(true); io.disconnect(); } }); io.observe(el); return () => io.disconnect(); }, []); return ( <section className="relative overflow-hidden bg-background"> <div className="mx-auto grid max-w-6xl items-center gap-10 px-6 py-16 md:grid-cols-2"> <div ref={ref} className="relative mx-auto h-[480px] w-full max-w-[520px]"> <div className="absolute inset-0 bg-[radial-gradient(closest-side,var(--color-muted-foreground),var(--color-muted-foreground)_60%,transparent)] opacity-70 blur-2xl" /> <div className="absolute left-1/2 top-1/2 h-0 w-0"> {rings.map((r, i) => ( <div key={r} className="absolute rounded-full border border-dashed border-foreground/70" style={{ width: r * 2, height: r * 2, left: -r, top: -r }} /> ))} <svg className="absolute -left-7 -top-7" width="56" height="56" viewBox="0 0 56 56" aria-label="Center mark"> <path d="M28 8l26 40H2z" fill="#000" /> </svg> {chips.map((c, i) => { const r = rings[c.ring]; const rad = (c.a * Math.PI) / 180; return ( <div key={i} className="absolute flex h-[72px] w-[72px] items-center justify-center rounded-full bg-background transition-opacity duration-500 ease-linear motion-reduce:transition-none" style={{ left: Math.cos(rad) * r * 0.9 - 36, top: Math.sin(rad) * r * 0.9 - 36, opacity: on ? 1 : 0, transitionDelay: `${i * 580}ms`, boxShadow: `0 4px 18px ${c.glow}66, 0 0 0 1px ${c.glow}33`, }} > <Glyph i={i} /> </div> ); })} </div> </div> <div className="max-w-md"> <h2 className="text-monochrome-h2 font-sans tracking-[-0.03em] text-foreground">{title}</h2> <p className="mt-5 text-monochrome-lead text-muted-foreground">{body}</p> </div> </div> </section> ); }
Quality checks
Automated, in a real browser · 4d ago- Accessible: passedNo serious accessibility problems (axe-core): readable contrast, labelled buttons and images.
- 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: not passed1 hard-coded colour (#000). These ignore the theme and break dark mode.
- Animates cleanly: passedIts animation plays and finishes with everything visible, and it stays still for people who turn on reduced motion.