Sections
Content Section
A flexible section for displaying text and images.
The ContentSection component is ideal for detailing specific features, telling a story, or presenting complex information with an accompanying image.
Usage
{/* ContentSection demo (component not bundled) */}
Example
Props
| Prop | Type | Default | Description |
|---|---|---|---|
title | string | Required | The main heading of the section. |
image | string | Required | URL of the accompanying image. |
imagePosition | 'left' | 'right' | 'right' | Position of the image relative to the content. |
imageAlt | string | 'Section image' | Alt text for the image. |
id | string | undefined | Optional ID for deep linking. |