Skip to main content
Clever Ops

Contact Channel Cards

Pick-your-channel contact tiles, email, call, visit, each a working link with a quiet response-time promise; the single recommended channel carries the primary keyline.

Preview & code

Loading Contact Channel Cards preview

Installation

pnpm dlx shadcn@latest add @cleverui/contact-channel-cards

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

Usage

tsx
import { ContactChannelCards } from '@/components/blocks/contact-channel-cards'
Exampletsx
import { ContactChannelCards } from '@/components/blocks/contact-channel-cards'

export default function ContactChannelCardsDemo() {
  return (
    <ContactChannelCards
      heading="Talk to us"
      intro="Three ways in. All of them answered by people, not a ticket queue."
      channels={[
        {
          label: 'Email',
          value: 'hello@northbeam.studio',
          href: 'mailto:hello@northbeam.studio',
          detail: 'Project briefs, pricing, and partnerships',
          promise: 'Replies within 4 hours',
          icon: 'mail',
          recommended: true,
        },
        {
          label: 'Call',
          value: '+61 3 9012 4480',
          href: 'tel:+61390124480',
          detail: 'Front desk, Melbourne office',
          promise: 'Mon – Fri, 9:00 – 17:30 AEST',
          icon: 'phone',
        },
        {
          label: 'Visit',
          value: '14 Flinders Lane',
          href: 'https://maps.google.com/?q=14+Flinders+Lane+Melbourne+VIC+3000',
          detail: 'Melbourne VIC 3000 · Level 3',
          promise: 'By appointment preferred',
          icon: 'map-pin',
        },
      ]}
      recommendedLabel="Fastest response"
    />
  )
}

API reference

ContactChannelCards accepts the following props.

PropTypeDefaultDescription
headingstring'Talk to us'
intro*stringone plain sentence, e.g. 'Three ways in. All of them answered by people.'
channels*ContactChannel[]3–4 tiles
recommendedLabelstring'Fastest response'mono tag on the recommended tile
headingLevel2 | 32

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

Referenced types

Typestsx
export interface ContactChannel {
  label: string
  /** visible address, number, or street */
  value: string
  /** working mailto:, tel:, or maps href */
  href: string
  detail?: string
  /** response-time promise, e.g. 'Replies within 4 hours' */
  promise?: string
  icon?: 'mail' | 'phone' | 'map-pin' | 'message-circle'
  /** at most one recommended channel */
  recommended?: boolean
}

Frequently asked questions

How do I install the Contact Channel Cards 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-channel-cards`. 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 Channel Cards require?

Contact Channel Cards 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 Channel Cards 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