Basic
Basic Stack
NewA label, a headline and a paragraph with a wide picture or video under them.
npx motionsnack add basic-stackCustomize
Background
<BasicStack />Props
11 properties
| Property | Type | Default | Description |
|---|---|---|---|
| media | { type?: 'image' | 'video'; src: string; alt?: string } | sample picture | Picture or video under the copy. Without a `src` only the copy shows. |
| poster | { src: string; alt?: string } | - | Still shown before a video loads, and instead of it with reduced motion. |
| kicker | string | 'About' | Small label above the headline. Leave empty to hide it. |
| title | string | 'Say it first,
then show it' | Headline. Use \n for line breaks. |
| description | string | 'A label, a headline and a paragraph on top, and a wide photo or video under them across the whole column.' | Paragraph under the headline. Leave empty to hide it. |
| align | 'center' | 'left' | 'center' | Where the copy sits and how its lines are aligned. |
| ratio | number | 0.5 | Height of the media compared to its width (1 = square). |
| mediaRadius | number | 28 | Corner radius of the media. |
| autoplay | boolean | true | Play a video muted in a loop while it is in view. Off shows its controls instead. |
| reveal | boolean | true | Let the copy and the media rise in when the section scrolls into view. |
| background | string | '#000000' | Section background. |
About Basic Stack
The copy on top, centred or aligned left, and a wide photo or video under it across the whole column. For showing a piece of work, a place or a product after a short introduction. A video plays muted in a loop while it is on screen and shows its poster with reduced motion. Media shape and corner radius are props.
What's included
- Copy on top, media under it
- Picture or video, with a poster
- Centred or left aligned copy
- Staggered reveal on scroll, optional
- Light and dark, reduced motion respected
- Type
- Animated basic section for Next.js
- Library
- Sections · Basic
- Stack
- Next.js, React, Tailwind CSS
- Added
- 2026-11-20
- Install
npx motionsnack add basic-stack