Burnt Orange Arrow Link
Small inline text link in #f54e00 with trailing → or ↗ glyph, placed under card or panel descriptions.
Rebuilt from cursor.com in the Warm Paper Editorial style.
npx shadcn@latest add https://justyoink.it/r/warm-paper-editorial/blocks/arrow-link.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/arrow-link.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: label, href, glyph (→ or ↗), title, description, className. Renders a small burnt-orange link under a description; hover fades opacity to 75% over 150ms and nudges the glyph.
components/arrow-link.tsx
import { useState } from "react"; type Props = { label?: string; href?: string; glyph?: "→" | "↗"; title?: string; description?: string; className?: string; }; export default function BurntOrangeArrowLink({ label = "Explore the automation guide", href = "#", glyph = "→", title = "Helpers turn plans into progress", description = "Speed up delivery by passing routine chores to your assistant, while you stay focused on the choices that matter.", className = "", }: Props) { const [hover, setHover] = useState(false); return ( <div className={"bg-surface border border-hairline rounded-lg p-6 max-w-md font-sans " + className}> <h3 className="text-lead text-ink">{title}</h3> <p className="text-lead text-ink-muted">{description}</p> <a href={href} onMouseEnter={() => setHover(true)} onMouseLeave={() => setHover(false)} className="mt-4 inline-flex items-center gap-1 text-ui text-accent transition-opacity duration-150 ease-out hover:opacity-75 focus-visible:opacity-75 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent rounded-xs" > <span>{label}</span> <span aria-hidden="true" className={"inline-block transition-transform duration-150 ease-out motion-reduce:transform-none " + (hover ? (glyph === "↗" ? "translate-x-0.5 -translate-y-0.5" : "translate-x-0.5") : "")} > {glyph} </span> </a> </div> ); }import { useState } from "react"; type Props = { label?: string; href?: string; glyph?: "→" | "↗"; title?: string; description?: string; className?: string; }; export default function BurntOrangeArrowLink({ label = "Explore the automation guide", href = "#", glyph = "→", title = "Helpers turn plans into progress", description = "Speed up delivery by passing routine chores to your assistant, while you stay focused on the choices that matter.", className = "", }: Props) { const [hover, setHover] = useState(false); return ( <div className={"bg-card border border-border rounded-lg p-6 max-w-md font-sans " + className}> <h3 className="text-warm-lead text-foreground">{title}</h3> <p className="text-warm-lead text-muted-foreground">{description}</p> <a href={href} onMouseEnter={() => setHover(true)} onMouseLeave={() => setHover(false)} className="mt-4 inline-flex items-center gap-1 text-warm-ui text-primary transition-opacity duration-150 ease-out hover:opacity-75 focus-visible:opacity-75 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary rounded-sm" > <span>{label}</span> <span aria-hidden="true" className={"inline-block transition-transform duration-150 ease-out motion-reduce:transform-none " + (hover ? (glyph === "↗" ? "translate-x-0.5 -translate-y-0.5" : "translate-x-0.5") : "")} > {glyph} </span> </a> </div> ); }
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.