Cards & content / Badges & tags

Dark Tag Chip

Small 4px-radius near-black chip with white label overlaid on photography, used to mark customer category.

Rebuilt from mercury.com in the Twilight Ledger style.

npx shadcn@latest add https://justyoink.it/r/twilight-ledger-0e1ecf/blocks/quote-tag-chip.json

Looks exactly like mercury.com: brings its fonts and colours, namespaced so your own theme stays untouched.

ImagesSwap it for a library image or one of your own.All images in this style →

Choose an image

Image

Loading…

Usage

Props: label (chip text), quote, name, role, imageSrc. The chip is a 4px-radius near-black label positioned over the photo; renders standalone with defaults.

components/quote-tag-chip.tsx
export default function DarkTagChip({ label = "Fintech", quote = "Unlike most legacy tools, Northwind is built around the product. Every task can be finished inside the app in a minute or two.", name = "Elena Marsh", role = "Founder, Altura", imageSrc = "https://yoink-app.fly.dev/stock/people-1.jpg" }: { label?: string; quote?: string; name?: string; role?: string; imageSrc?: string }) {
  return (
    <section className="bg-canvas px-4 py-12 sm:px-8">
      <div className="relative mx-auto aspect-[4/5] w-full max-w-[1024px] overflow-hidden rounded-xl sm:aspect-[2/1]">
        <img src={imageSrc} alt="Customer portrait" width={1600} height={1200} className="absolute inset-0 h-full w-full object-cover" />
        <div aria-hidden="true" className="absolute inset-0 bg-[linear-gradient(90deg,rgba(0,0,0,0.45)_0%,rgba(0,0,0,0.2)_40%,transparent_70%)]" />
        <div aria-hidden="true" className="absolute inset-x-0 bottom-0 h-2/3 bg-[linear-gradient(0deg,rgba(0,0,0,0.55),transparent)] sm:hidden" />
        <span className="absolute left-8 top-8 rounded-[4px] bg-[#0b0b12] px-2 py-1.5 text-label leading-none text-ink">{label}</span>
        <figure className="absolute bottom-8 left-8 right-8 max-w-[380px] text-ink">
          <blockquote className="text-lead">
            <p className="-indent-2">“{quote}”</p>
          </blockquote>
          <figcaption className="mt-6">
            <div className="text-lead">{name}</div>
            <div className="text-lead text-ink-muted">{role}</div>
          </figcaption>
        </figure>
      </div>
    </section>
  );
}

Quality checks

Automated, in a real browser · 4d ago
—

More from Twilight Ledger

The whole style →

Light Release Notes Header

Changelog

Cinematic Landscape Hero

Heroes

Frosted Transparent Header

Headers & nav bars

Glass Email Capture Pill

Forms

Accordion Feature List with Product Mock

Feature sections

Dark Glass Account Panel Mockup

Media & mockups