Hero Section With Painted Sky Background
A painted golden-hour sky with a paper plane gliding across, a Instrument Serif headline and coral pill buttons.
Features
- A full-bleed painted sky behind a centered Instrument Serif headline
- A paper plane that glides and banks across the sky
- Coral and frosted pill buttons with a star rating
- Bring your own sky and flyer images
Best for: Travel, lifestyle and consumer brands that want warmth and wonder in the first screen.
Installation
npm install motion lucide-react @radix-ui/react-slot class-variance-authority clsx tailwind-mergeThen copy the files from the Code tab into the same paths in your project, in TypeScript or JavaScript.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | - | The headline. |
| accent | string | - | Optional ending set apart in the hero's accent colour. |
| description | string | - | The line under the headline. |
| primaryCta | { label: string; href: string } | - | The main button. |
| secondaryCta | { label: string; href: string } | - | Optional second button. |
| nav | { brand: { name; icon }; links: Cta[]; cta: Cta } | - | Optional built-in navbar in this hero's style. |
| className | string | - | Extra classes for the section. |
FAQ
Is the Hero Section With Painted Sky Background free to use?
Yes. Hero Section With Painted Sky Background is free to copy into your own projects. Open the Code tab and paste the files into your app.
Does Hero Section With Painted Sky Background work with Next.js and React?
Yes. It's a React client component made for the Next.js App Router, styled with Tailwind CSS and animated with Framer Motion (the motion package).
Can I use Hero Section With Painted Sky Background in JavaScript instead of TypeScript?
Yes. Every file comes in TypeScript and JavaScript. Switch the language in the Code tab.
What does Hero Section With Painted Sky Background need installed?
motion, lucide-react, @radix-ui/react-slot, class-variance-authority, clsx, tailwind-merge, plus the shared helpers from the Installation page.
Is Hero Section With Painted Sky Background accessible?
Every link and button is reachable by keyboard with a visible focus ring, and the animation stays still for visitors who ask for reduced motion.