Basic
Basic Split Left
NewA picture or a video on the left, copy on the right.
npx motionsnack add basic-split-leftCustomize
Background
<BasicSplitLeft />Props
11 properties
| Property | Type | Default | Description |
|---|---|---|---|
| media | { type?: 'image' | 'video'; src: string; alt?: string } | sample picture | Picture or video on the left of the copy. Without a `src` the copy takes the whole width. |
| 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 | 'A picture first,
then the words' | Headline. Use \n for line breaks. |
| description | string | 'The same plain section with the sides swapped: the photo or video leads on the left and the label, headline and paragraph follow on the right.' | Paragraph under the headline. Leave empty to hide it. |
| ratio | number | 0.8 | Height of the media compared to its width (1 = square). |
| mediaRadius | number | 28 | Corner radius of the media. |
| gap | number | 64 | Space between the copy and the media on a wide screen. |
| 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 Split Left
The mirror of Basic Split: a photo or a short video on the left and a label, a headline and a paragraph on the right. Alternate the two down a page to keep it moving. A video plays muted in a loop while it is on screen and shows its poster with reduced motion. Media shape, corner radius and the gap are props. On a narrow screen the copy comes first and the media sits under it.
What's included
- Media on the left, copy on the right
- Picture or video, with a poster
- Pairs with Basic Split
- 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-split-left