sections
Feature Grid
Marketing feature section with heading and nested feature items in responsive columns.
#features#grid#benefits#marketing
Storyblok Schema
json
{
"$bloktastic": {
"version": "1.0.0"
},
"name": "feature_grid",
"display_name": "Feature Grid",
"is_root": false,
"is_nestable": true,
"schema": {
"eyebrow": {
"type": "text",
"pos": 0,
"display_name": "Eyebrow",
"description": "Optional compact intro label"
},
"headline": {
"type": "text",
"pos": 1,
"display_name": "Headline",
"description": "Main section headline",
"required": true
},
"intro": {
"type": "textarea",
"pos": 2,
"display_name": "Intro",
"description": "Short intro paragraph"
},
"items": {
"type": "bloks",
"pos": 3,
"display_name": "Feature Items",
"description": "List of feature item bloks",
"required": true,
"restrict_components": true,
"component_whitelist": [
"feature_item"
]
},
"columns": {
"type": "option",
"pos": 4,
"display_name": "Columns",
"default_value": "3",
"options": [
{
"name": "2 Columns",
"value": "2"
},
{
"name": "3 Columns",
"value": "3"
},
{
"name": "4 Columns",
"value": "4"
}
],
"description": "Desktop column count"
}
},
"preview_field": "headline"
} Generation Prompt
md
# Feature Grid
## Purpose
Marketing feature section with heading and nested feature items in responsive columns.
## Storyblok Schema Fields
- `eyebrow` (text): Optional compact intro label
- `headline` (text, required): Main section headline
- `intro` (textarea): Short intro paragraph
- `items` (bloks, required): List of feature item bloks
- `columns` (option): Desktop column count
## Visual Requirements
- Design for responsive marketing pages (mobile, tablet, desktop).
- Keep spacing and hierarchy clear for conversion-focused sections.
- Support optional content gracefully without visual gaps.
## Accessibility
- Use semantic sectioning and heading structure.
- Ensure interactive elements are keyboard reachable with visible focus states.
- Maintain WCAG-compliant contrast in all supported styles.
## Example Props Structure
```typescript
interface FeatureGridProps {
// Map Storyblok fields to your frontend props here
}
```
## Edge Cases
- Missing optional media or links.
- Extremely long text content.
- Empty collections in nested blok fields.
README
md
# @bloktastic/feature-grid
Marketing feature section with heading and nested feature items in responsive columns.
## Installation
```bash
bloktastic add @bloktastic/feature-grid
```
## Fields
| Field | Type | Required | Description |
|---|---|---|---|
| eyebrow | text | No | Optional compact intro label |
| headline | text | Yes | Main section headline |
| intro | textarea | No | Short intro paragraph |
| items | bloks | Yes | List of feature item bloks |
| columns | option | No | Desktop column count |
## Notes
- Category: `sections`
- Tags: `features`, `grid`, `benefits`, `marketing`