CTA Contact
Avatar Float CTA
NewA rounded banner with a headline and button, and portraits floating around them.
npx motionsnack add avatar-float-ctaCustomize
Background
<AvatarFloatCta />Props
14 properties
| Property | Type | Default | Description |
|---|---|---|---|
| avatars | { image: { src: string; alt?: string } }[] | 10 sample pictures | Round pictures floating around the copy. Up to ten are shown. |
| surface | string | light grey / near-black | Colour of the banner. |
| buttonColor | string | near-black / white | Colour of the filled button. |
| buttonTextColor | string | white / black | Text colour of the filled button. |
| buttonRadius | number | fully round | Corner radius of the buttons in px. |
| title | string | 'Ready to get started?' | Headline. Use \n for line breaks. |
| description | string | 'Join the people already building with us. Set up takes a few minutes and you can invite the whole team for free.' | Paragraph under the headline. Leave empty to hide it. |
| float | number | 9 | How far the pictures drift. 0 keeps them still. |
| speed | number | 1 | How fast they drift. |
| parallax | number | 14 | How far the pictures follow the pointer. 0 turns it off. |
| avatarScale | number | 1 | Size of the pictures (1 = as designed). |
| 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 Avatar Float CTA
A rounded banner with a headline, a short paragraph and a button in the middle. Up to ten round portraits sit on both sides of the copy: they pop in one after another, drift slowly and lean towards the pointer, the bigger ones further than the small ones. On narrow screens the portraits move into a band above and below the copy. Drift, speed, pointer follow, picture size and the banner radius are props. With reduced motion the pictures stay still.
What's included
- Rounded banner with headline, text and button
- Up to ten floating portraits
- Pictures follow the pointer with depth
- Separate layout for narrow screens
- Light and dark, reduced motion respected
- Type
- Animated cta contact section for Next.js
- Library
- Sections · CTA Contact
- Stack
- Next.js, React, Tailwind CSS
- Added
- 2026-11-20
- Install
npx motionsnack add avatar-float-cta