Production default
Balanced spacing, hierarchy, and content for the most common product workflow.
<FeatureGrid
align="start"
/>
// Generated by scripts/generate-showcase.mjs. Do not edit directly.
page FeatureGridDetail {
layout = "showcase"
state playground_color = ctx.url.searchParams.get("pg_color") ?? "primary"
state playground_size = ctx.url.searchParams.get("pg_size") ?? "default"
state playground_columns = ctx.url.searchParams.get("pg_columns") ?? "3"
state playground_tabletColumns = ctx.url.searchParams.get("pg_tabletColumns") ?? "2"
state playground_mobileColumns = ctx.url.searchParams.get("pg_mobileColumns") ?? "1"
state playground_gap = ctx.url.searchParams.get("pg_gap") ?? "md"
state playground_minItemWidth = ctx.url.searchParams.get("pg_minItemWidth") ?? ""
state playground_equalHeight = ctx.url.searchParams.get("pg_equalHeight") ?? "true"
state playground_align = ctx.url.searchParams.get("pg_align") ?? "start"
state playground_maxWidth = ctx.url.searchParams.get("pg_maxWidth") ?? "full"
state playground_class = ctx.url.searchParams.get("pg_class") ?? "showcase-instance showcase-instance--1"
seo {
title = "Feature Grid"
description = "Responsive equal-height grid for feature and service cards."
}
view {
Responsive equal-height grid for feature and service cards. Change any prop and inspect the server-rendered component immediately.Feature Grid
Configure Feature Grid
<FeatureGrid
align="start"
/>
Compare configurations and resize the browser to check responsive behavior.
Balanced spacing, hierarchy, and content for the most common product workflow.
<FeatureGrid
align="start"
/>
A tighter variation for dashboards, side panels, tables, and operational interfaces.
<FeatureGrid
size="sm"
align="center"
/>
A more expressive variation using additional data, stronger emphasis, and optional states.
<FeatureGrid
size="lg"
align="end"
/>
Public events declared by this component. Custom events bubble from the component root and expose state through event.detail.
All content and behavior shown above is supplied through these props and slots.
| Prop | Type | Default | Required |
|---|---|---|---|
color | string | "primary" | No |
size | string | "default" | No |
columns | number | 3 | No |
tabletColumns | number | 2 | No |
mobileColumns | number | 1 | No |
gap | string | "md" | No |
minItemWidth | string | "" | No |
equalHeight | boolean | true | No |
align | string | "stretch" | No |
maxWidth | string | "full" | No |
class | string | "" | No |