Contact, overlay aside


Install
npx shadcn add https://ui.klarhimmel.com/r/contact-overlay-aside.jsonDetailsAbout, usage, props and more
A wide picture with the heading laid over its foot beside a narrow ruled card holding the lead, address, phone and email, a one-field form, three actions and a profile…
Import
Import
- contact/overlay-aside
- About
- A wide picture with the heading laid over its foot beside a narrow ruled card holding the lead, address, phone and email, a one-field form, three actions and a profile link with the legal line. On a phone the picture sits above the card.
- 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 when a contact section needs one wide picture carrying the heading and a narrow column that holds everything a visitor can do: read the address, type one thing, press a button. For a form with a long message field pick contact-form; for a short details card over a picture pick contact-overlap-card.
Writing for it
- Heading up to 80 characters, drawn over the picture in about two lines. - Lead up to 240 characters; one field with a label, a placeholder and a help line. - Up to three round profile links, each with a name that is read aloud.
Watch out for
The picture is darkened by half so the heading reads, so a pale photo works best. Set the form action and method or the send button does nothing on a live page.
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 |
|---|---|---|---|
media | Media | {…} | See the type. |
eyebrow | string | 'Name the section' | Text, up to 60 characters. |
title | string | 'Say how a visitor reaches you' | Text, up to 80 characters. |
description | string | 'Say in one or two sentences when yo…' | Text, up to 240 characters. |
detailsTitle | string | 'Name the place or the team' | Text, up to 60 characters. |
address | string | 'Give the street and town' | Text, up to 120 characters. |
phone | Link | {…} | Optional; empty is not rendered. |
email | Link | {…} | Optional; empty is not rendered. |
fieldLabel | string | 'Name the one thing you ask for' | Text, up to 60 characters. |
fieldName | string | - | Text, up to 40 characters. Optional; empty is not rendered. |
fieldPlaceholder | string | - | Text, up to 80 characters. Optional; empty is not rendered. |
fieldHelp | string | 'Say in a few words how the answer i…' | Text, up to 120 characters. |
submit | string | 'Send' | Text, up to 40 characters. |
primary | Link | {…} | See the type. |
secondary | Link | {…} | Optional; empty is not rendered. |
textLink | Link | {…} | Optional; empty is not rendered. |
profiles | Link[] | 1 item | List of up to 3. |
legal | string | 'Say in a few words what applies.' | Text, up to 120 characters. |
action | string | - | Text, up to 300 characters. Optional; empty is not rendered. |
method | 'post' | 'get' | - | One of 'post', 'get'. Optional; empty is not rendered. |
hidden | { } | - | Optional; empty is not rendered. |
captcha | boolean | - | Optional; empty is not rendered. |
captchaSitekey | string | - | Text, up to 100 characters. Optional; empty is not rendered. |
headingLevel | '1' | '2' | - | One of '1', '2'. Optional; empty is not rendered. |