FeatureRow
Alternating media and copy row for mid-page feature sections.
Design intent
Landing pages alternate a product shot with a short feature story. FeatureRow owns the two-column rhythm and media side without taking over the page h1, which belongs to Hero or PageHeader.
npx @slipstream-ui/cli@latest add feature-rowFor acquirers
Find relevant, actionable insights
Event flow
1,284
events processed
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| title | ReactNode | required | Row heading. |
| description | ReactNode | — | Supporting copy. |
| eyebrow | ReactNode | — | Small overline above the heading. |
| actions | ReactNode | — | Calls to action. |
| media | ReactNode | required | Image, mockup, video or form beside the copy. |
| mediaPosition | 'left' | 'right' | 'right' | Media side at lg and up. |
| level | 2 | 3 | 2 | Heading level. |
| size | 'md' | 'lg' | 'md' | Heading scale. |
Anti-patterns
validate_usage is the MCP tool that rejects these mistakes: the same list agents see over MCP and in the canonical markdown.
Don't use FeatureRow for the page hero
Use Hero for the opening story and h1. FeatureRow defaults to h2 and is intended for mid-page sections.
tsx// Avoid<FeatureRow title="Page title" />// Prefer<Hero title="Page title" />
Accessibility
- Defaults to h2; use level={3} for a nested subsection.
- Media is a slot so the consumer owns alt text.
Composition
Compose with Section: Place FeatureRow inside a Section, usually three to five in sequence
<Section><FeatureRow title="." media={<Media />} /></Section>
Related components: Hero, FeatureGrid, Section
Dependencies
What the registry installs alongside this component. Package imports already include these.
npm packages
- class-variance-authority
- clsx
- tailwind-merge
Browser support
| Browser | Tested versions |
|---|---|
| Chrome | 111+ (Mar 2023) |
| Edge | 111+ (Mar 2023) |
| Firefox | 121+ (Dec 2023) |
| Safari | 17.2+: macOS & iOS (Dec 2023) |
Slipstream components rely only on CSS custom properties, Flexbox/Grid, and ARIA, the everyday baseline of the last two years of evergreen releases. Anything newer is progressive enhancement: unsupported browsers keep full functionality with static behavior instead of animations.