Hero
Type Split Hero
NewGiant tilted strips of words run across one half of the hero; the other half is a solid panel with the copy.
npx motionsnack add type-split-heroCustomize
Background
<TypeSplitHero />Props
21 properties
| Property | Type | Default | Description |
|---|---|---|---|
| stripColor | string | near-black / white in dark | Colour of the strip lettering. |
| words | string[] | ['Design', 'Motion', 'Brand', 'Build', 'Launch'] | Words on the giant strips behind the section. |
| primaryCta | { label: string; href?: string } | { label: 'Start a project', href: '#' } | Filled button. An empty label hides it. |
| secondaryCta | { label: string; href?: string } | { label: 'See our work', href: '#' } | Outlined button. An empty label hides it. |
| buttonColor | string | near-black / near-white in dark | Colour 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. |
| 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. |
| title | string | 'Bold ideas,
built to move' | Headline. Use \n for line breaks. |
| subtitle | string | 'Strategy, design and build in one small studio. We turn a rough idea into a site people remember and come back to.' | Paragraph under the headline. Leave empty to hide it. |
| showButtons | boolean | true | Show the two buttons. |
| Button | ComponentType | built-in | Button component from the library for the filled button. Without one the section draws its own. |
| side | 'left' | 'right' | 'right' | Which half the solid panel covers. |
| rows | number | 7 | Number of strips. |
| size | number | 26 | Height of the strip lettering, in % of the section height. |
| angle | number | -12 | Tilt of the strips. |
| speed | number | 0.5 | Speed of the strips. 0 stops them. |
| stripOpacity | number | 1 | Opacity of the strip lettering. |
| reveal | boolean | true | Let the panel slide in, the strips fade up and the copy rise when the section opens. |
| background | string | '#000000' | Base colour of the section and of the panel. Without a value: white, black in dark mode. |
About Type Split Hero
A full-screen hero without a photo: the background is a stack of giant, tilted strips of words that drift in opposite directions and fill the whole section, running on under the panel. One half is a solid panel with the badge, the headline, a short paragraph and two buttons, lined up with the page column. When the section opens the panel slides across, the strips fade up and the copy rises in. On a phone the panel covers the lower part. Words, number of strips, letter size, tilt, speed, colour and opacity are props.
What's included
- Giant tilted strips of words
- Strips drift in opposite directions
- Solid panel over half the strips
- Panel slides in, copy rises
- Light and dark look, reduced motion respected
- Type
- Animated hero section for Next.js
- Library
- Sections · Hero
- Stack
- Next.js, React, Tailwind CSS
- Added
- 2026-11-21
- Install
npx motionsnack add type-split-hero