Contact, bands


Install
npx shadcn add https://ui.klarhimmel.com/r/contact-bands.jsonDetailsAbout, usage, props and more
Three full-width bands one after another: a header (label, heading and lead), a tinted band with a picture and caption beside a card of badge, place, address, contact…
Import
Import
- contact/bands
- About
- Three full-width bands one after another: a header (label, heading and lead), a tinted band with a picture and caption beside a card of badge, place, address, contact links and three actions, then a band with a short heading beside…
- Category
- A form, a booking panel or office details. The page wires the submit. New project? Set it up once: /get-started/installation.
Notes
When to use it
Pick it for a location and hours page that reads as three stacked bands: a header, then a tinted band with a picture beside a card of address and contact, then opening hours as ruled rows. For one office only choose contact-map; for several places choose contact-offices.
Writing for it
- Title up to 120 characters, lead up to 240, place name 80, address 100. - Hours take one to seven rows with a label of 40 and a time of 40. - Phone and email are links with a label of 40; leave a label empty to drop an action.
Watch out for
The card carries five contact items, so cut the three actions to one or two when the address and number already say enough. Write times in one format across all rows so the right column lines up.
Pairs well with
Usage
The block in a page, with its default content (long lists shortened). Every prop is in the table below.
Props
The type, default and text limit of every prop. On a real page, over-limit text is kept and checkSections flags it (Installation, Check a page before you ship); this live preview shows the default until it fits. The panel above edits all props.
| Prop | Type | Default | Description |
|---|---|---|---|
eyebrow | string | 'Section name' | Text, up to 60 characters. |
title | string | 'Say where and when the visitor can …' | Text, up to 120 characters. |
description | string | 'Say in one or two sentences what th…' | Text, up to 240 characters. |
media | Media | {…} | See the type. |
caption | string | 'Say what the picture shows' | Text, up to 100 characters. |
badge | string | 'Label' | Text, up to 24 characters. |
placeTitle | string | 'Name the place' | Text, up to 80 characters. |
address | string | 'Give the full address' | Text, up to 100 characters. |
phone | Link | {…} | See the type. |
email | Link | {…} | See the type. |
primary | Link | {…} | See the type. |
secondary | Link | {…} | See the type. |
tertiary | Link | {…} | See the type. |
hoursTitle | string | 'Say what the times below cover' | Text, up to 80 characters. |
hoursDescription | string | 'Say in one line what the visitor sh…' | Text, up to 200 characters. |
hours | { label, time }[] | 3 items | List of 1 to 7. Each item: label, time. |
note | string | 'Say what changes the times, in one …' | Text, up to 160 characters. |
headingLevel | '1' | '2' | - | One of '1', '2'. Optional; empty is not rendered. |