Hero
Notched Slider Hero
A photo slideshow framed by notched corners, with a slide counter, stats and a glass card.
npx motionsnack add notched-slider-heroCustomize
Frame
<NotchedSliderHero />Props
24 properties
| Property | Type | Default | Description |
|---|---|---|---|
| slides | { image: { src: string; alt: string }; title: string }[] | 3 demo slides | Photos and their headlines, up to six. Use \n in a title for line breaks. The flat { src, alt, title } form works too. |
| navLinks | { label: string; href?: string }[] | Home, About, Gallery, Features | Links in the top-left nav, up to six. The first one is shown as active. |
| stats | { value: string; label: string }[] | 3 sample stats | Numbers in the bottom-left notch, up to four. |
| socials | { icon: 'instagram' | 'x' | 'youtube'; href?: string }[] | Instagram, X, YouTube | Round icon links in the top-right notch (from sm screens up). |
| logo | { src: string; alt: string } | { src: '', alt: 'Home' } | Own logo image. Without a src the built-in mark is shown; alt names the home link. |
| logoHref | string | '#' | Where the logo links to. |
| primaryCta | { label: string; href?: string } | { label: 'Explore now', href: '#' } | Filled button in the top-right notch. An empty label hides it. |
| secondaryCta | { label: string; href?: string } | { label: 'Watch film', href: '#' } | Play button under the headline. An empty label hides it. |
| cardCta | { label: string; href?: string } | { label: 'Explore the series', href: '#' } | Button in the glass card. An empty label hides it. |
| buttonColor | string | light/dark class | Colour of the filled button. |
| buttonTextColor | string | light/dark class | Text colour of the filled button. |
| buttonRadius | number | light/dark class (fully round) | Corner radius of the buttons in px. |
| badgeTag | string | 'New' | One short word in the chip of the badge. Leave empty for no chip. |
| badgeIcon | boolean | true | Small spark icon at the start of the badge. |
| cardTitle | string | 'Behind the motion' | Title of the glass card. |
| cardText | string | 'Follow the crews, the light and the craft behind every frame — a closer look at how each story comes to life.' | Text in the glass card. |
| Button | ComponentType | built-in | Button component from the library for the filled button. Without one the section draws its own. |
| background | string | '#000000' | Colour of the frame and the notches. Unset: white, black in dark mode. |
| interval | number | 6 | Seconds each slide stays on screen. |
| zoom | number | 0.08 | How much the photo slowly zooms out during a slide. 0 turns it off. |
| overlay | number | 0.45 | Darkening over the photo for legibility. |
| showNav | boolean | true | Show the logo and links in the top-left corner. |
| showStats | boolean | true | Show the stats in the bottom-left notch. |
| showCard | boolean | true | Show the glass card (from md screens up). |
About Notched Slider Hero
A full-screen photo card whose top-right and bottom-left corners are carved out for the call to action and the stats. Slides cross-fade with a slow zoom-out, the uppercase headline swaps with each slide and a vertical counter tracks progress. A glass info card sits bottom-right.
What's included
- Notched card with concave corners
- Auto-playing photo slideshow
- Slow zoom-out per slide
- Vertical progress counter
- Glass info card and stats
- Reduced-motion fades
- Type
- Animated hero section for Next.js
- Library
- Sections · Hero
- Stack
- Next.js, React, Framer Motion, Tailwind CSS
- Added
- 2026-09-20
- Install
npx motionsnack add notched-slider-hero