Blocks · Marketing
Feature grid
A section header and three to six features in open columns: a bare icon, a title, a line and an optional link. No cards, no icon tiles.
81% of 289 about pages and 80% of 671 home pages we studied have a features section.
Features
Everything a deploy needs, nothing it doesn't
Six things you stop thinking about the week you switch.
Deploys on push
Every push to main goes live in under a minute. Every branch gets its own preview link.
Logs you can search
Filter by request, status or deploy, and share the exact view with a link.
Alerts that wait
One message when something breaks, one when it is fixed. Nothing at three in the morning for a blip.
Rollback in one click
Pick any earlier deploy and make it live again. Nothing is rebuilt on the way back.
Roles, not passwords
Invite people by email, give them a role, and remove them in one place when they leave.
Config in the repo
One small file next to your code, reviewed like the rest of it.
Read the config guide
Features
Everything a deploy needs, nothing it doesn't
Six things you stop thinking about the week you switch.
Deploys on push
Every push to main goes live in under a minute. Every branch gets its own preview link.
Logs you can search
Filter by request, status or deploy, and share the exact view with a link.
Alerts that wait
One message when something breaks, one when it is fixed. Nothing at three in the morning for a blip.
Rollback in one click
Pick any earlier deploy and make it live again. Nothing is rebuilt on the way back.
Roles, not passwords
Invite people by email, give them a role, and remove them in one place when they leave.
Config in the repo
One small file next to your code, reviewed like the rest of it.
Read the config guide
Both previews render the same markup; the HTML tab below is that markup without a framework.
Install
- React
- npx shadcn@
latest add https:// www.themes.dev/ ui/ r/ feature-grid.json - Astro
- npx shadcn@
latest add https:// www.themes.dev/ ui/ r/ astro/ feature-grid.json
Or copy the files below into your project. They need clsx, tailwind-merge and the components they import, and the themes.dev UI theme. The HTML needs only the compiled CSS.
import type { IconName } from '@/components/ui/icon';
/** Feature grid: a section header, then three to six features in open columns (an icon, a title, one or two lines and
* an optional link). No cards and no icon tiles: the icon sits bare in the text colour. One column on a phone, two from
* 36rem of the block's own width, three from 56rem (four when there are four or eight features). */
export const featureGrid = {
root: '@container bg-background px-6 py-16 text-foreground @3xl:py-24',
inner: 'mx-auto flex max-w-6xl flex-col gap-12',
list: (count: number) =>
['m-0 grid list-none gap-x-10 gap-y-10 p-0 @xl:grid-cols-2', count % 4 === 0 ? '@4xl:grid-cols-4' : '@4xl:grid-cols-3'].join(' '),
item: 'flex min-w-0 flex-col gap-2',
icon: 'mb-2 size-5',
title: 'text-base leading-snug font-semibold text-balance',
text: 'text-base text-pretty text-muted-foreground',
link: 'mt-1 self-start',
};
export type Feature = { icon: IconName; title: string; text: string; link?: { href: string; label: string } };
export type FeatureGridContent = {
kicker?: string;
title: string;
description?: string;
features: Feature[];
/** Unique on the page; ids the heading. */
id: string;
};import { Icon } from '@/components/ui/icon';
import { Link } from '@/components/ui/link';
import { SectionHeader } from '@/components/ui/section-header';
import { cn } from '@/lib/utils';
import { featureGrid as c, type FeatureGridContent } from './feature-grid.classes';
export type FeatureGridProps = FeatureGridContent & { className?: string };
/** A section header and three to six features in open columns: icon, title, a line and an optional link. */
export function FeatureGrid({ kicker, title, description, features, id, className }: FeatureGridProps) {
return (
<section aria-labelledby={`${id}-title`} className={cn(c.root, className)}>
<div className={c.inner}>
<SectionHeader id={`${id}-title`} kicker={kicker} title={title} description={description} />
<ul role="list" className={c.list(features.length)}>
{features.map((f) => (
<li key={f.title} className={c.item}>
<Icon name={f.icon} className={c.icon} />
<h3 className={c.title}>{f.title}</h3>
<p className={c.text}>{f.text}</p>
{f.link && <Link href={f.link.href} variant="standalone" className={c.link}>{f.link.label}</Link>}
</li>
))}
</ul>
</div>
</section>
);
}---
import Icon from '@/components/ui/icon.astro';
import Link from '@/components/ui/link.astro';
import SectionHeader from '@/components/ui/section-header.astro';
import { cn } from '@/lib/utils';
import { featureGrid as c, type FeatureGridContent } from './feature-grid.classes';
type Props = FeatureGridContent & { class?: string };
const { kicker, title, description, features, id, class: className } = Astro.props;
---
<section aria-labelledby={`${id}-title`} class={cn(c.root, className)}>
<div class={c.inner}>
<SectionHeader id={`${id}-title`} kicker={kicker} title={title} description={description} />
<ul role="list" class={c.list(features.length)}>
{
features.map((f) => (
<li class={c.item}>
<Icon name={f.icon} class={c.icon} />
<h3 class={c.title}>{f.title}</h3>
<p class={c.text}>{f.text}</p>
{f.link && <Link href={f.link.href} variant="standalone" class={c.link}>{f.link.label}</Link>}
</li>
))
}
</ul>
</div>
</section>import type { IconName } from '@/components/ui/icon';
/** Feature grid: a section header, then three to six features in open columns (an icon, a title, one or two lines and
* an optional link). No cards and no icon tiles: the icon sits bare in the text colour. One column on a phone, two from
* 36rem of the block's own width, three from 56rem (four when there are four or eight features). */
export const featureGrid = {
root: '@container bg-background px-6 py-16 text-foreground @3xl:py-24',
inner: 'mx-auto flex max-w-6xl flex-col gap-12',
list: (count: number) =>
['m-0 grid list-none gap-x-10 gap-y-10 p-0 @xl:grid-cols-2', count % 4 === 0 ? '@4xl:grid-cols-4' : '@4xl:grid-cols-3'].join(' '),
item: 'flex min-w-0 flex-col gap-2',
icon: 'mb-2 size-5',
title: 'text-base leading-snug font-semibold text-balance',
text: 'text-base text-pretty text-muted-foreground',
link: 'mt-1 self-start',
};
export type Feature = { icon: IconName; title: string; text: string; link?: { href: string; label: string } };
export type FeatureGridContent = {
kicker?: string;
title: string;
description?: string;
features: Feature[];
/** Unique on the page; ids the heading. */
id: string;
};<section aria-labelledby="ex-features-title" class="@container bg-background px-6 py-16 text-foreground @3xl:py-24">
<div class="mx-auto flex max-w-6xl flex-col gap-12">
<header class="@container w-full">
<div class="flex flex-wrap items-end justify-between gap-x-8 gap-y-4">
<div class="min-w-0 grow basis-[24rem]">
<p class="text-sm font-medium text-muted-foreground">Features</p>
<h2 id="ex-features-title" class="mt-2 text-3xl font-semibold tracking-[-0.03em] text-balance @xl:text-4xl">
Everything a deploy needs, nothing it doesn't
</h2>
<p class="mt-3 max-w-xl text-base text-pretty text-muted-foreground">Six things you stop thinking about the week you switch.</p>
</div>
</div>
</header>
<ul role="list" class="m-0 grid list-none gap-x-10 gap-y-10 p-0 @xl:grid-cols-2 @4xl:grid-cols-3">
<li class="flex min-w-0 flex-col gap-2">
<svg viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="inline-block shrink-0 mb-2 size-5"><path d="M8 2.5v8M4.5 7L8 10.5 11.5 7M2.5 13.5h11"></path></svg>
<h3 class="text-base leading-snug font-semibold text-balance">Deploys on push</h3>
<p class="text-base text-pretty text-muted-foreground">Every push to main goes live in under a minute. Every branch gets its own preview link.</p>
</li>
<li class="flex min-w-0 flex-col gap-2">
<svg viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="inline-block shrink-0 mb-2 size-5"><path d="M7 12.5a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11zM11 11l3.5 3.5"></path></svg>
<h3 class="text-base leading-snug font-semibold text-balance">Logs you can search</h3>
<p class="text-base text-pretty text-muted-foreground">Filter by request, status or deploy, and share the exact view with a link.</p>
</li>
<li class="flex min-w-0 flex-col gap-2">
<svg viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="inline-block shrink-0 mb-2 size-5"><path d="M4 11V7a4 4 0 0 1 8 0v4l1.5 1.5h-11zM6.5 14h3"></path></svg>
<h3 class="text-base leading-snug font-semibold text-balance">Alerts that wait</h3>
<p class="text-base text-pretty text-muted-foreground">One message when something breaks, one when it is fixed. Nothing at three in the morning for a blip.</p>
</li>
<li class="flex min-w-0 flex-col gap-2">
<svg viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="inline-block shrink-0 mb-2 size-5"><path d="M5.5 5.5h8v8h-8zM10.5 3.5V3A1.5 1.5 0 0 0 9 1.5H3A1.5 1.5 0 0 0 1.5 3v6A1.5 1.5 0 0 0 3 10.5h.5"></path></svg>
<h3 class="text-base leading-snug font-semibold text-balance">Rollback in one click</h3>
<p class="text-base text-pretty text-muted-foreground">Pick any earlier deploy and make it live again. Nothing is rebuilt on the way back.</p>
</li>
<li class="flex min-w-0 flex-col gap-2">
<svg viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="inline-block shrink-0 mb-2 size-5"><path d="M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM2.5 14.5a5.5 5.5 0 0 1 11 0"></path></svg>
<h3 class="text-base leading-snug font-semibold text-balance">Roles, not passwords</h3>
<p class="text-base text-pretty text-muted-foreground">Invite people by email, give them a role, and remove them in one place when they leave.</p>
</li>
<li class="flex min-w-0 flex-col gap-2">
<svg viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" class="inline-block shrink-0 mb-2 size-5"><path d="M8 10a2 2 0 1 0 0-4 2 2 0 0 0 0 4zM8 1.5v2M8 12.5v2M1.5 8h2M12.5 8h2M3.4 3.4l1.4 1.4M11.2 11.2l1.4 1.4M3.4 12.6l1.4-1.4M11.2 4.8l1.4-1.4"></path></svg>
<h3 class="text-base leading-snug font-semibold text-balance">Config in the repo</h3>
<p class="text-base text-pretty text-muted-foreground">One small file next to your code, reviewed like the rest of it.</p>
<a href="#config" class="rounded-sm font-medium text-foreground underline-offset-4 transition-[color,text-decoration-color,background-color] active:bg-accent [&_svg]:size-3.5 [&_svg]:shrink-0 [&_svg]:transition-transform group inline-flex min-h-6 items-center gap-1.5 hover:underline active:decoration-2 hover:[&_svg]:translate-x-0.5 mt-1 self-start">
Read the config guide
<svg viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M3 8h10M9 4l4 4-4 4"></path></svg>
</a>
</li>
</ul>
</div>
</section>