Services
Folding Panels Services
NewServices as tall panels side by side: a click unfolds one, its blurred glow sharpens into a picture and the description rises in.
npx motionsnack add folding-panels-servicesCustomize
<FoldingPanelsServices />Props
14 properties
| Property | Type | Default | Description |
|---|---|---|---|
| primaryCta | { label: string; href?: string } | { label: 'Start a project', href: '#' } | Filled button next to the headline. An empty label hides it. |
| services | { title: string; description?: string; image?: { src: string; alt?: string }; tags?: string[] }[] | 6 sample services | One panel each. A click opens a panel; its picture sharpens and the description and tags rise in. |
| background | string | white / black in dark | Base colour of the section. |
| buttonColor | string | near-black / near-white in dark | Fill of the filled button. |
| buttonTextColor | string | white / near-black in dark | Text colour of the filled button. |
| buttonRadius | number | fully round | Corner radius of the buttons in px. |
| kicker | string | 'Services' | Small label above the headline. Leave empty to hide it. |
| title | string | 'Pick a service,
see what is inside' | Headline. A line break splits it. |
| subtitle | string | 'Six ways to work together. Open a panel to see what each one covers and how it starts.' | Paragraph next to the headline. Leave empty to hide it. |
| Button | ComponentType | built-in | Button component from the library for the filled button. Without one the section draws its own. |
| defaultOpen | number | 0 | Panel that is open first, counted from 0. |
| height | number | 520 | Height of the panels on wide screens. |
| radius | number | 22 | Corner radius of the panels. |
| blur | number | 22 | Blur of the closed panels' pictures. 0 shows them sharp. |
About Folding Panels Services
A services section with a split header above a row of tall panels, one per service. Closed panels are narrow, with an upright title, a small icon at the foot and their picture blurred into a soft glow. A click unfolds the panel while the others fold in: the picture sharpens and settles from a slow zoom, the icon fades away and the description and a link rise in from a blur. On phones the panels stack into an accordion with the title across. Height, corner radius and the blur of the closed panels are props; every panel has its own icon, picture and link.
What's included
- Panels that unfold on click
- Blurred glow that sharpens into a picture
- Upright titles and foot icons
- Description and link rising from a blur
- Accordion on phones
- Light and dark look
- Respects reduced motion
- Type
- Animated services section for Next.js
- Library
- Sections · Services
- Stack
- Next.js, React, Tailwind CSS
- Added
- 2026-11-21
- Install
npx motionsnack add folding-panels-services