Grid section for displaying feature cards with heading and description.
Provides a responsive grid layout with an optional title and description header. Use as a container for feature cards, benefit blocks, or any repeated content that benefits from a grid layout.
Examples
<.feature_section title="Features" description="Everything you need." columns={3}>
<div>Feature 1</div>
<div>Feature 2</div>
<div>Feature 3</div>
</.feature_section>
<.feature_section columns={2} align={:start}>
<div>Left-aligned feature grid</div>
<div>With two columns</div>
</.feature_section>
Summary
Functions
Renders a responsive feature grid section with optional heading and description.
Functions
Renders a responsive feature grid section with optional heading and description.
Attributes
title(:string) - Defaults tonil.description(:string) - Defaults tonil.columns(:integer) - Defaults to3.align(:atom) - Defaults to:center. Must be one of:center, or:start.class(:string) - Defaults tonil.- Global attributes are accepted.
Slots
inner_block(required) - Feature card children.