FeatureGrid
What a product does, as a ledger: an icon, a name in the voice and one or two sentences each, in two or three columns.
import { FeatureGrid, FeatureGridSkeleton } from '@sypnia/ui/react'
Three features, and loading
Code
import { FeatureGrid, FeatureGridSkeleton } from '@sypnia/ui/react';
export default function Features() {
return (
<div className="sy-stack" style={{ '--gap': 'var(--s-6)' } as React.CSSProperties}>
<FeatureGrid label="What it does" items={[
{ icon: 'traces', title: 'Traces', text: 'The path of one request through your services, step by step.', href: '#' },
{ icon: 'replay', title: 'Replays', text: 'What the person saw before it failed, without their data.', href: '#' },
{ icon: 'agent', title: 'An agent that fixes', text: 'It reads the trace, writes the fix and opens a pull request.', meta: 'On Cloud' },
]} />
<FeatureGridSkeleton items={3} />
</div>
);
} Small, for the key facts under a hero
The icon sits beside the name, and the name is in the interface face: four facts fit in one short row.
Open source
Engine in Rust, built in the open.
Free to self-host
One template. Your data stays yours.
Cloud from $10 a month
With a free tier to start.
Web, Node, any backend
Our SDKs, plus OpenTelemetry for the rest.
Code
import { FeatureGrid, FeatureGridSkeleton } from '@sypnia/ui/react';
export default function Facts() {
return (
<div className="sy-stack" style={{ '--gap': 'var(--s-6)' } as React.CSSProperties}>
<FeatureGrid size="sm" columns={4} label="Key facts" items={[
{ icon: 'open-source', title: 'Open source', text: 'Engine in Rust, built in the open.' },
{ icon: 'self-host', title: 'Free to self-host', text: 'One template. Your data stays yours.' },
{ icon: 'cloud', title: 'Cloud from $10 a month', text: 'With a free tier to start.' },
{ icon: 'sdk', title: 'Web, Node, any backend', text: 'Our SDKs, plus OpenTelemetry for the rest.' },
]} />
<FeatureGridSkeleton size="sm" columns={4} items={4} />
</div>
);
} When to use it
Use it when
- The middle of a product page: what it does, in its own words.
- Small (size sm): the key facts in the row under a hero, so they fit on the first screen.
Do not use it when
- More than nine: group them, or link to the docs.
- Boxes and shadows: a rule above each is enough.
For everyone
- A list; a whole item is the link when it has one, and the focus ring wraps it.
Props
| FeatureGrid | Type | Default |
|---|---|---|
itemsrequired | Feature[] | |
columns | 2 | 3 | 4 | 3 |
label | string | |
size`sm`: the key facts under a hero, short and in a row: the icon beside a name in the interface face. | "sm" | "md" | md |
| FeatureGridSkeleton | Type | Default |
|---|---|---|
columns | 2 | 3 | 4 | 3 |
items | number | 3 |
size | "sm" | "md" | md |