Floating Video Circle CTA
Split CTA layout: heading, supporting copy, and two buttons on one side, and on the other a looping video clipped into a circle that gently floats up and down forever, an organic, eye-catching focal point next to the text.
Docs
Installation
A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its button dependencies and any missing npm packages, and installs them straight into your project.
npx shadcn add https://staaarter.com/r/floating-video-circle-cta.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/cta/cta57.tsx instead.
Usage
The file also exports cta57Demo, the exact props behind the preview above. Spread it to get a working section in one line, then replace it with your own data.
import { Cta57, cta57Demo } from "@/components/blocks/cta/cta57"; export default function Page() { return <Cta57 {...cta57Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| eyebrow | string | none | Small label above the heading. |
| heading | string | none | Main CTA heading. |
| description | string | none | Supporting paragraph. |
| primaryLabel | string | "Get started" | Primary button label. |
| primaryHref | string | "#" | Primary button destination. |
| secondaryLabel | string | none | Optional secondary link-style button label. |
| secondaryHref | string | "#" | Secondary button destination. |
| videoSrc | string | none | MP4 source URL for the looping circular video. |
| posterSrc | string | none | Poster image shown before the video loads. |
| className | string | none | Extra classes for the outer section element. |
Behavior notes
- The video loops continuously and is purely decorative, marked `aria-hidden`, muted and autoplaying via native HTML video attributes only, no client-side JS.
- The float animation is a pure CSS `@keyframes` translateY loop on the circular wrapper, 6s ease-in-out infinite, no scroll or hover trigger.
- The video wrapper has a definite size (`size-64 sm:size-80`) so the `size-full object-cover` video always resolves its height, independent of the circular clipping.
More CTA Blocks
View all →centered-newsletter-cta
Centered Newsletter CTA
Minimal centered call-to-action with heading, description, and action buttons.
split-layout-newsletter-cta
Split Layout Newsletter CTA
Two-column call-to-action with a decorative image on one side and a feature list plus subscribe form on the other.
newsletter-social-proof-cta
Newsletter CTA with Social Proof
Newsletter call-to-action with an avatar stack, subscriber count, and a testimonial quote.
banner-cta
Banner CTA
Horizontal banner call-to-action with heading and action buttons side by side.
stats-cta
Stats CTA
Call-to-action section with impressive statistics and trust indicators above action buttons.
multi-card-cta
Multi-Card CTA
Three action cards side by side, each offering a different path to conversion.