

Every state


default


hover


focus


starting


one-online


offline


offline-hover


narrow
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| title | string | "Chat with an adviser" | Title text. |
| text | string | null | "Questions about your policy, a claim or a payment? Ask us in the chat." | One line on what to ask. Null or left out: no line. |
| team | ContactCardChatPhoto[] | null | [ { src: "/components/people/nadia.webp", alt: "", width: 400, height: 400 }, { src: "/components/people/samuel.webp"… | Faces of the team, up to four are shown. Null or left out: no faces. |
| online | number | 3 | Advisers online right now, from your chat system; 0 shows the offline state. |
| replyMinutes | number | null | 2 | Usual reply time in minutes. Null or left out: no reply line. |
| privacy | string | null | "We keep the chat for 30 days so you can read it back." | A short line on how chats are kept. Null or left out: no line. |
| offline | { title: string; text: string; email: string; emailLabel: string; emailNote?: string | null } | { title: "The chat is closed", text: "We're back tomorrow from 08:00. Send us an email in the meantime.", email: "hel… | The offline state: when the chat is back and an email address instead. |
| onStart | () => void | Promise<void> | () => new Promise((done) => setTimeout(done, 2500)) | Called by the start button; return a promise to keep "Opening chat…" until your widget is open. |
| labels | ContactCardChatLabels | { online: "{n} advisers online", oneOnline: "1 adviser online", offline: "Offline", reply: "Usually replies in about … | Labels. |
| className | string | – | Extra classes on the outer element. |
More contact cards
All 8contact-card-02 is in UI ProGet UI Pro, €199


