CTA Form
Tilted Wall Form CTA
NewThe Tilted Wall CTA banner with a contact form: a slanted wall of drifting photos behind a headline and a glass form.
npx motionsnack add tilted-wall-form-ctaCustomize
Shade
Background
<TiltedWallFormCta />Props
32 properties
| Property | Type | Default | Description |
|---|---|---|---|
| action | string | none | Address the form posts to, as JSON { name, email, phone, message }. Any 2xx answer counts as sent. Without action and onSubmit the form only pretends to send. |
| onSubmit | (data: { name: string; email: string; phone: string; message: string }) => void | Promise<void> | none | Your own sending. Throw or reject to show the error line. Wins over action. |
| images | { image: { src: string; alt?: string } }[] | 12 sample pictures | Photos in the wall behind the copy, dealt into the rows in turn. |
| buttonColor | string | near-white | Colour of the submit button. |
| buttonTextColor | string | near-black | Text colour of the filled button. |
| buttonRadius | number | fully round | Corner radius of the buttons in px. |
| kicker | string | 'Contact' | Small label above the headline. Leave empty to hide it. |
| title | string | 'Tell us what
you are building' | Headline. Use \n for line breaks. |
| description | string | 'A few lines are enough. We read every message ourselves and reply within one working day.' | Paragraph under the headline. Leave empty to hide it. |
| string | 'hello@studio.com' | E-mail shown as a link. Leave empty to hide it. | |
| phone | string | '+1 555 012 345' | Phone shown as a link. Leave empty to hide it. |
| nameLabel | string | 'Your name' | Label of the name field. |
| emailLabel | string | 'E-mail' | Label of the e-mail field. |
| phoneLabel | string | 'Phone' | Label of the phone field. |
| messageLabel | string | 'What are you planning?' | Label of the message field. |
| phoneRequired | boolean | false | Ask for the phone number before the form can be sent. |
| submitLabel | string | 'Send message' | Text of the submit button. |
| sendingLabel | string | 'Sending' | Button text while the message is on its way. |
| sentLabel | string | 'Message sent' | Button text once the message has arrived. |
| errorLabel | string | 'Something went wrong. Please try again or write to us directly.' | Line under the button when sending failed. |
| note | string | 'We use your details only to reply to you.' | Small note next to the button. Leave empty to hide it. |
| tilt | number | -10 | How far the wall is tilted. |
| speed | number | 24 | Drift speed. 0 keeps the wall still. |
| rows | number | 4 | Number of rows in the wall. |
| rowHeight | number | 250 | Height of a row. |
| gap | number | 16 | Space between the photos. |
| imageRadius | number | 26 | Corner radius of the photos. |
| dim | number | 0.72 | How much the wall is darkened so the copy reads. |
| shadeColor | string | '#000000' | Colour the wall is darkened with. |
| radius | number | 28 | Corner radius of the banner. |
| Button | ComponentType | built-in | Button component from the library for the filled button. Without one the section draws its own. |
| background | string | '#000000' | Section background. |
About Tilted Wall Form CTA
The photo wall of Tilted Wall CTA, now with a form. In a dark rounded banner a tilted wall of photos drifts slowly, every other row the other way, darkened so the copy reads. On the left sit the headline, a paragraph and the e-mail and phone as links; on the right a glass form asks for a name, an e-mail, a phone and a message, with labels that float up, fields that brighten with a white edge in focus, ticks on filled fields and a progress that fills as you go. The button shows sending and sent. The form posts JSON to any address, or calls your own function.
What's included
- Tilted wall of drifting photos
- Name, e-mail, phone and message in glass fields
- Floating labels, a brighter field in focus, ticks and a fill progress
- Button with sending and sent states
- Posts JSON to `action` or calls `onSubmit`
- Light and dark page, reduced motion respected
- Type
- Animated cta form section for Next.js
- Library
- Sections · CTA Form
- Stack
- Next.js, React, Tailwind CSS
- Added
- 2026-11-22
- Install
npx motionsnack add tilted-wall-form-cta