Contact, minimal


Install
npx shadcn add @klarhimmel/contact-minimalDetailsAbout, usage, props and more
Typographic contact: one oversized email link as the call to action, then up to three quiet details (phone, visit, hours) in columns. No form, no map.
Import
Import
- contact/minimal
- 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
Typographic contact: one oversized email address as the call to action, then up to three quiet details in columns. No form, no map. Use contact-form if you want messages to arrive in a structured form.
Writing for it
- The title (100) is set small and grey, as a lead-in, while the email is the big element, so word the title as the question the email answers. - Details take label (30), value (120) and an optional href, up to three. Give the phone an href of tel and the address none. - Use the note (160) for a promise about reply time. It sits right under the email.
Watch out for
The email is wrapped as a mailto link, with break-all, so a long address will break mid-word on narrow screens. A detail with a value but no href is plain text, not a link.
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 | 'Name the topic' | Text, up to 60 characters. |
title | string | 'Invite them in' | Text, up to 100 characters. |
email | string | 'you@company.example' | Text, up to 80 characters. |
note | string | 'Say who reads it and how fast they …' | Text, up to 160 characters. |
details | { label, value, href }[] | 3 items | List of up to 3. Each item: label, value, href. |
headingLevel | '1' | '2' | - | One of '1', '2'. Optional; empty is not rendered. |