CTA Form
Aurora Form CTA
NewThe Aurora CTA banner with a contact form: a glowing horizon, rising particles and light streaks behind a headline and a glass form.
npx motionsnack add aurora-form-ctaCustomize
Glow
Sky
Ground
Background
<AuroraFormCta />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. |
| 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. |
| shineDuration | number | 5 | Seconds the light takes to run once round a field in focus. |
| glowColor | string | '#0044ff' | Colour of the glowing horizon. |
| skyColor | string | '#020617' | Sky at the top of the banner. |
| groundColor | string | '#000000' | Colour at the bottom of the banner. |
| glowMotion | number | 1 | How much the glow breathes and drifts (0 = still). |
| particles | number | 60 | Number of floating particles. |
| particleSpeed | number | 1 | Rising speed of the particles. |
| streaks | number | 10 | Number of light streaks shooting upwards. |
| streakSpeed | number | 1 | Speed of the light streaks. |
| 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 Aurora Form CTA
The glowing horizon of Aurora CTA, now with a form. In a dark rounded banner a huge horizon glow breathes and drifts, particles rise and thin light streaks shoot upwards. 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, a light that runs slowly round the edge of the field 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
- Glowing horizon, particles and light streaks
- Name, e-mail, phone and message in glass fields
- Floating labels, a light running round the 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 aurora-form-cta