Skip to main content
Clever Ops

Contact Email Spotlight

Minimal contact block that commits to one channel, the email address set at display scale as a working mailto with copy-to-clipboard and a quiet response promise. React + Tailwind.

Preview & code

Loading Contact Email Spotlight preview

Installation

pnpm dlx shadcn@latest add @cleverui/contact-email-spotlight

Requires the @cleverui registry in your components.json, a one-off, two-line setup.

Usage

tsx
import { ContactEmailSpotlight } from '@/components/blocks/contact-email-spotlight'
Exampletsx
'use client'

import { ContactEmailSpotlight } from '@/components/blocks/contact-email-spotlight'

export default function ContactEmailSpotlightDemo() {
  return (
    <ContactEmailSpotlight
      email="hello@fielddesk.studio"
      eyebrow="Contact"
      lead="No forms. No queues. Write to us about brand sites, product UI, or the brief sitting on your desk."
      promise="Replies within one business day."
      copyLabel="Copy address"
      copiedLabel="Copied"
      links={[
        { label: 'LinkedIn', href: 'https://www.linkedin.com/company/fielddesk' },
        { label: 'GitHub', href: 'https://github.com/fielddesk' },
        { label: 'Dribbble', href: 'https://dribbble.com/fielddesk' },
      ]}
    />
  )
}

API reference

ContactEmailSpotlight accepts the following props.

PropTypeDefaultDescription
email*stringthe address itself, rendered as the block's display type and mailto href
eyebrowstring'Contact'mono micro-label above the address, preceded by the primary tick
leadstring'No forms. No queues. Write to us.'one short sentence above the address
promisestring'Replies within one business day.'quiet mono response-time line, honest text, never a status pill
copyLabelstring'Copy address'label of the copy control
copiedLabelstring'Copied'label shown briefly after a successful copy
links{ label: string; href: string }[][]secondary rail of mono micro-label anchors
headingLevel2 | 32

…plus everything from React.HTMLAttributes<HTMLElement>: className, event handlers, aria attributes and the rest pass straight through.

Frequently asked questions

How do I install the Contact Email Spotlight component?

Register the @cleverui registry in your components.json ("@cleverui": "https://cleverops.com.au/r/{name}.json"), then run `npx shadcn@latest add @cleverui/contact-email-spotlight`. The shadcn CLI copies the source into your project, you own the code from that point. You can also copy the source directly from this page.

What dependencies does Contact Email Spotlight require?

Contact Email Spotlight uses motion and lucide-react on top of React and Tailwind CSS. You don't need to install them manually, the shadcn CLI resolves and installs npm dependencies automatically when you add the component.

Can I theme Contact Email Spotlight to match my brand?

Yes. The component is styled entirely with Tailwind utilities over standard design tokens (primary, background, muted, border), so it inherits your existing shadcn/ui theme automatically. Change your CSS variables and the component follows, no source edits needed for palette, radius, or fonts.

Want this built for you?

CleverUI is built by the Clever Ops web team. If you'd rather ship a hand-coded, fast, custom website than assemble one, we build them for Australian businesses every week.

Explore web development services