

Every state


default


hover


focus


copied


busy


closed


no-wait


narrow
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| title | string | "Customer service" | Title text. |
| text | string | null | "Questions about your bill, meter readings or contract" | What the line is for, in one line. Null or left out: no line. |
| number | string | "0800 020 4410" | The number as people read it ("0800 020 4410"). |
| tel | string | "+318000204410" | The number for the tel: link, in international form ("+318000204410"). |
| note | string | null | "Free from any phone in the Netherlands" | What the call costs or who can call. Null or left out: no line. |
| week | ContactCardPhoneRange[][] | [[weekdays], [weekdays], [weekdays], [weekdays], [weekdays], [{ open: "09:00", close: "17:00" }], []] | Seven days, Monday first, each a list of ranges when the line is open; [] is a closed day. |
| timeZone | string | "Europe/Amsterdam" | The business's IANA time zone. |
| now | string | null | null | The moment to show, as an ISO string. Null or left out: the visitor's clock, read after hydration and every minute. |
| waitMinutes | number | null | 4 | The current wait in minutes, from your call system. Null or left out: no wait line. |
| busyMinutes | number | 10 | The wait from which the line counts as busy. |
| maxMinutes | number | 20 | The wait that fills the meter. |
| busy | { text: string; link?: { label: string; href: string } | null } | null | { text: "Calls are quieter after 15:00 and on Saturday.", link: { label: "Ask us to call you back", href: "/contact/c… | Shown while busy: a tip and a call-back link. Null or left out: only the busy status. |
| closed | { text: string; link?: { label: string; href: string } | null } | null | { text: "Leave a message and we reply within one working day.", link: { label: "Send a message", href: "/contact/mess… | Shown while closed: another way to reach you. Null or left out: only when it opens. |
| labels | ContactCardPhoneLabels | { open: "Open", busy: "Busy", closed: "Closed", until: "until {time}", backAt: "back at {time}", opensToday: "opens a… | Every word the card says around the number and times. |
| locale | string | "en-GB" | Locale for weekday names and times. |
| onCopy | (number: string) => void | – | Called with the number after a copy. |
| className | string | – | Extra classes on the outer element. |
More contact cards
All 8contact-card-08 is in UI ProGet UI Pro, €199


