# Feature grid

A responsive bento feature section with composable cells, native actions, and custom visual content.

Access: pro. Category: Marketing. Kind: composite.

## When to use

- Use it when a page needs a responsive bento feature section with composable cells, native actions, and custom visual content.
- Choose it as the features region when composing a page from independently reusable TidalUI sections.

## Alternatives

- Choose feature-card instead when layout and repetition are already controlled by the consumer.

## Setup for agents

Use React 19 and TypeScript. Initialize shadcn for your framework, then merge this exact entry into components.json:

```json
{
  "registries": {
    "@tidal-pro": {
      "url": "https://tidalui.com/r/pro/{name}.json",
      "headers": {
        "Authorization": "Bearer ${TIDALUI_TOKEN}"
      }
    }
  }
}
```

The namespace must be named **@tidal-pro** because transitive Pro dependencies use that namespace. Obtain an agent key from your active Pro account at https://tidalui.com/account. Keep TIDALUI_TOKEN in your local environment, never in components.json, client code, Git or logs.

```sh
export TIDALUI_TOKEN='your-private-agent-key'
npx shadcn@latest add @tidal-pro/waitlist-form
npx shadcn@latest add https://tidalui.com/r/tidal-button.json
```

Free command: `npx shadcn@latest add https://tidalui.com/r/<name>.json`.
Pro command: `npx shadcn@latest add @tidal-pro/<name>`.

Import the base stylesheet and every stylesheet listed on the installed item's metadata. For example:

```tsx
import "./components/ui/tidal.css";
import "./components/ui/hero-section.css";
// Place installed components inside this wrapper:
<div className="tidal-scope" data-theme="dark">...</div>
```

Omit data-theme for the default light theme. Put the attribute on the same tidal-scope element for dark mode. Every component installs the shared free tidal-base dependency. After upgrading, run `npx shadcn@latest add https://tidalui.com/r/tidal-base.json --overwrite` to receive current tokens. Review local modifications before overwriting.

Vite: Use React + TypeScript. Map @/* to ./src/* in paths and Vite resolve.alias. Import tidal.css and each component stylesheet in your application entry.

Next.js 15 App Router: Next.js App Router: import tidal.css and component CSS in app/layout.tsx. Interactive examples belong in a client component with "use client". Map @/* to ./* or ./src/* to match your project.

TypeScript 6: use paths without baseUrl:

```json
{
  "compilerOptions": {
    "paths": {
      "@/*": [
        "./src/*"
      ]
    }
  }
}
```

Pro registry requests are server/CLI-only. Use the same-origin account interface in a browser; cross-origin Authorization preflights are intentionally unsupported.


## Install Feature grid

```sh
npx shadcn@latest add @tidal-pro/feature-grid
```

Stylesheets: `components/ui/tidal.css`, `components/ui/feature-grid.css`.

## Minimal example

```tsx
import"./components/ui/tidal.css";
import"./components/ui/feature-grid.css";
import{TidalFeatureGrid}from"./components/ui/feature-grid";
export default()=><div className="tidal-scope"><TidalFeatureGrid children={"value"} title={"Demo"}/></div>;
```

## Structured props

- `TidalFeatureGrid.children: ReactNode`: Required children value accepted by this exported component.
- `TidalFeatureGrid.title: ReactNode`: Required title value accepted by this exported component.
- `TidalFeatureGrid.description?: ReactNode`: Optional description value accepted by this exported component.
- `TidalFeatureGrid.eyebrow?: ReactNode`: Optional eyebrow value accepted by this exported component.
- `TidalFeatureGrid.headingLevel?: TidalFeatureHeadingLevel | undefined` (default "h2"): Optional heading level value accepted by this exported component.
- `TidalFeatureCard.title: ReactNode`: Required title value accepted by this exported component.
- `TidalFeatureCard.children?: ReactNode`: Optional children value accepted by this exported component.
- `TidalFeatureCard.description?: ReactNode`: Optional description value accepted by this exported component.
- `TidalFeatureCard.eyebrow?: ReactNode`: Optional eyebrow value accepted by this exported component.
- `TidalFeatureCard.footer?: ReactNode`: Optional footer value accepted by this exported component.
- `TidalFeatureCard.headingLevel?: TidalFeatureHeadingLevel | undefined` (default "h2"): Optional heading level value accepted by this exported component.
- `TidalFeatureCard.icon?: ReactNode`: Optional icon value accepted by this exported component.
- `TidalFeatureCard.size?: TidalFeatureCardSize | undefined` (default "standard"): Optional size value accepted by this exported component.
- `TidalFeatureCard.tone?: TidalFeatureCardTone | undefined` (default "paper"): Optional tone value accepted by this exported component.
- `TidalFeatureAction.variant?: TidalFeatureActionVariant | undefined` (default "secondary"): Optional variant value accepted by this exported component.
- `TidalFeatureLink.href: string`: Required href value accepted by this exported component.
- `TidalFeatureLink.variant?: TidalFeatureActionVariant | undefined` (default "secondary"): Optional variant value accepted by this exported component.

## Complete usage example

[Source](https://tidalui.com/examples/feature-grid.tsx) | [Manifest](https://tidalui.com/examples/feature-grid.json). Install the listed additional dependencies. Consumer fixture: TypeScript pass; Vite pass. This fixture check is distinct from the actual shadcn install receipt.

```tsx
import "./components/ui/tidal.css";

import { useMemo, useState } from "react";

import { ArrowRight, Check, Clock3, Eye, ListChecks, LockKeyhole, RefreshCw, Sparkles, UsersRound } from "lucide-react";

import { TidalFeatureAction, TidalFeatureCard, TidalFeatureGrid } from "./components/ui/feature-grid";

import "./components/ui/feature-grid.css";

function tidalExampleAvatarDataUri(seed: unknown) {
  const text = String(seed).replace(/[^a-z0-9]/gi, "").slice(-2) || "UI";
  const palette = ["#333333", "#555555", "#777777", "#999999", "#bbbbbb"];
  const color = palette[Array.from(text).reduce((sum, character) => sum + character.charCodeAt(0), 0) % palette.length];
  const svg = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96"><rect width="96" height="96" rx="48" fill="${color}"/><circle cx="48" cy="38" r="17" fill="white" fill-opacity=".92"/><path d="M18 92c3-22 15-34 30-34s27 12 30 34" fill="white" fill-opacity=".92"/></svg>`;
  return `data:image/svg+xml,${encodeURIComponent(svg)}`;
}

function tidalExampleImageDataUri(label: string) {
  const safeLabel = label.replace(/[<>&]/g, "").slice(0, 28) || "Sample image";
  const svg = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 675"><defs><linearGradient id="g" x1="0" x2="1" y1="0" y2="1"><stop stop-color="#171717"/><stop offset="1" stop-color="#555555"/></linearGradient></defs><rect width="1200" height="675" fill="url(#g)"/><circle cx="950" cy="100" r="260" fill="white" fill-opacity=".08"/><text x="80" y="570" fill="white" font-family="system-ui,sans-serif" font-size="64" font-weight="700">${safeLabel}</text></svg>`;
  return `data:image/svg+xml,${encodeURIComponent(svg)}`;
}

const tidalExampleStyles = ".tidal-scope .feature-grid-demo-specimen {\n  position: relative;\n  width: 100%;\n  min-width: 0;\n  padding: clamp(18px, 4vw, 52px);\n  color: var(--t-ink);\n  background: var(--t-subtle);\n  border: 1px solid var(--t-border);\n  border-radius: var(--t-radius-card);\n  container: feature-grid-demo / inline-size;\n}\n\n.tidal-scope .feature-grid-demo-tabs,\n.tidal-scope .feature-grid-demo-filters {\n  display: flex;\n  flex-wrap: wrap;\n  gap: 4px;\n  padding: 4px;\n  background: var(--feature-subtle);\n  border: 1px solid var(--feature-border);\n  border-radius: 12px;\n}\n\n.tidal-scope .feature-grid-demo-tabs button,\n.tidal-scope .feature-grid-demo-filters button {\n  position: relative;\n  flex: 1 1 70px;\n  min-width: 44px;\n  min-height: 44px;\n  padding: 8px 11px;\n  color: var(--feature-muted);\n  font: inherit;\n  font-size: 11px;\n  font-weight: 620;\n  background: transparent;\n  border: 0;\n  border-radius: 8px;\n  cursor: pointer;\n  transition:\n    color 180ms,\n    background 180ms,\n    transform 140ms var(--t-ease-out);\n}\n\n.tidal-scope .feature-grid-demo-tabs button[aria-pressed=\"true\"],\n.tidal-scope .feature-grid-demo-filters button[aria-pressed=\"true\"] {\n  color: var(--feature-surface);\n  background: var(--feature-ink);\n}\n\n.tidal-scope .feature-grid-demo-tabs button:hover,\n.tidal-scope .feature-grid-demo-filters button:hover {\n  color: var(--feature-ink);\n}\n\n.tidal-scope .feature-grid-demo-tabs button:active,\n.tidal-scope .feature-grid-demo-filters button:active {\n  transform: scale(0.97);\n}\n\n.tidal-scope .feature-grid-demo-tabs button:focus-visible,\n.tidal-scope .feature-grid-demo-filters button:focus-visible,\n.tidal-scope .feature-grid-demo-checklist input:focus-visible + span,\n.tidal-scope .feature-grid-demo-switch input:focus-visible ~ i {\n  outline: 2px solid var(--feature-ink);\n  outline-offset: 2px;\n}\n\n.tidal-scope .feature-grid-demo-timeline {\n  display: grid;\n  gap: 0;\n  min-width: 0;\n  margin: 18px 0 0;\n  padding: 0;\n  list-style: none;\n  border-top: 1px solid var(--feature-border);\n}\n\n.tidal-scope .feature-grid-demo-timeline li {\n  display: grid;\n  grid-template-columns: 34px minmax(0, 1fr) auto;\n  align-items: center;\n  gap: 12px;\n  min-width: 0;\n  min-height: 54px;\n  border-bottom: 1px solid var(--feature-border);\n}\n\n.tidal-scope .feature-grid-demo-timeline li > span,\n.tidal-scope .feature-grid-demo-timeline li > small {\n  color: var(--feature-muted);\n  font-size: 11px;\n  font-variant-numeric: tabular-nums;\n}\n\n.tidal-scope .feature-grid-demo-timeline li > strong {\n  min-width: 0;\n  color: var(--feature-ink);\n  font-size: 12px;\n  font-weight: 560;\n  overflow-wrap: anywhere;\n}\n\n.tidal-scope .feature-grid-demo-timeline li > small {\n  padding: 4px 7px;\n  color: var(--feature-ink);\n  background: var(--feature-wash);\n  border-radius: 999px;\n}\n\n.tidal-scope .feature-grid-demo-readiness .tidal-feature-card-content {\n  position: relative;\n}\n\n.tidal-scope .feature-grid-demo-progress {\n  height: 8px;\n  overflow: hidden;\n  background: var(--feature-wash);\n  border-radius: 999px;\n}\n\n.tidal-scope .feature-grid-demo-progress > span {\n  display: block;\n  height: 100%;\n  background: var(--feature-ink);\n  border-radius: inherit;\n  transition: width 420ms var(--t-ease-out);\n}\n\n.tidal-scope .feature-grid-demo-progress-label {\n  display: block;\n  margin-top: 10px;\n  color: var(--feature-muted);\n  font-size: 11px;\n  font-weight: 550;\n  font-variant-numeric: tabular-nums;\n}\n\n.tidal-scope .feature-grid-demo-checklist {\n  display: grid;\n  gap: 7px;\n  margin-top: 24px;\n}\n\n.tidal-scope .feature-grid-demo-checklist label {\n  position: relative;\n  display: grid;\n  grid-template-columns: 44px minmax(0, 1fr) auto;\n  align-items: center;\n  min-width: 0;\n  min-height: 52px;\n  padding-inline-end: 12px;\n  color: var(--feature-muted);\n  background: var(--feature-subtle);\n  border: 1px solid var(--feature-border);\n  border-radius: 11px;\n  cursor: pointer;\n}\n\n.tidal-scope .feature-grid-demo-checklist input,\n.tidal-scope .feature-grid-demo-switch input {\n  position: absolute;\n  inset: 0;\n  z-index: 1;\n  width: 100%;\n  height: 100%;\n  margin: 0;\n  opacity: 0;\n  cursor: pointer;\n}\n\n.tidal-scope .feature-grid-demo-checklist label > span {\n  display: grid;\n  place-items: center;\n  width: 44px;\n  height: 44px;\n  color: transparent;\n  transition:\n    color 180ms,\n    transform 320ms var(--t-ease-spring);\n}\n\n.tidal-scope .feature-grid-demo-checklist input:checked + span {\n  color: var(--feature-ink);\n  transform: rotate(-4deg);\n}\n\n.tidal-scope .feature-grid-demo-checklist label > strong {\n  min-width: 0;\n  color: inherit;\n  font-size: 11px;\n  font-weight: 550;\n  overflow-wrap: anywhere;\n}\n\n.tidal-scope .feature-grid-demo-checklist input:checked ~ strong {\n  color: var(--feature-ink);\n}\n\n.tidal-scope .feature-grid-demo-checklist label > small {\n  color: inherit;\n  font-size: 11px;\n  font-variant-numeric: tabular-nums;\n}\n\n.tidal-scope .feature-grid-demo-orbit {\n  position: relative;\n  display: grid;\n  place-items: center;\n  width: min(100%, 190px);\n  aspect-ratio: 1;\n  margin: auto auto 0;\n}\n\n.tidal-scope .feature-grid-demo-orbit > span {\n  position: absolute;\n  width: 72%;\n  aspect-ratio: 1;\n  border: 1px solid var(--feature-border);\n  border-radius: 50%;\n}\n\n.tidal-scope .feature-grid-demo-orbit > span:nth-child(2) {\n  width: 100%;\n  border-style: dashed;\n  transform: rotate(18deg);\n}\n\n.tidal-scope .feature-grid-demo-orbit > svg {\n  width: 52px;\n  height: 52px;\n  padding: 14px;\n  color: var(--feature-surface);\n  background: var(--feature-ink);\n  border-radius: 14px;\n  box-shadow: 0 18px 32px -22px #000000;\n}\n\n.tidal-scope .feature-grid-demo-switch {\n  position: relative;\n  display: grid;\n  grid-template-columns: minmax(0, 1fr) 52px;\n  align-items: center;\n  gap: 14px;\n  min-width: 0;\n  min-height: 70px;\n  padding: 10px 10px 10px 14px;\n  background: var(--feature-subtle);\n  border: 1px solid var(--feature-border);\n  border-radius: 12px;\n  cursor: pointer;\n}\n\n.tidal-scope .feature-grid-demo-switch > span {\n  min-width: 0;\n}\n\n.tidal-scope .feature-grid-demo-switch strong,\n.tidal-scope .feature-grid-demo-switch small {\n  display: block;\n  overflow-wrap: anywhere;\n}\n\n.tidal-scope .feature-grid-demo-switch strong {\n  color: var(--feature-ink);\n  font-size: 11px;\n  font-weight: 600;\n}\n\n.tidal-scope .feature-grid-demo-switch small {\n  margin-top: 4px;\n  color: var(--feature-muted);\n  font-size: 11px;\n  line-height: 1.45;\n}\n\n.tidal-scope .feature-grid-demo-switch > i {\n  display: flex;\n  align-items: center;\n  width: 48px;\n  height: 30px;\n  padding: 4px;\n  background: var(--feature-wash);\n  border: 1px solid var(--feature-border);\n  border-radius: 999px;\n}\n\n.tidal-scope .feature-grid-demo-switch > i > span {\n  width: 20px;\n  height: 20px;\n  background: var(--feature-ink);\n  border-radius: 50%;\n  transition: transform 320ms var(--t-ease-spring);\n}\n\n.tidal-scope .feature-grid-demo-switch input:checked ~ i > span {\n  transform: translateX(17px);\n}\n\n[dir=\"rtl\"] .tidal-scope .feature-grid-demo-switch input:checked ~ i > span,\n.tidal-scope [dir=\"rtl\"] .feature-grid-demo-switch input:checked ~ i > span {\n  transform: translateX(-17px);\n}\n\n.tidal-scope .feature-grid-demo-members {\n  display: flex;\n  flex-wrap: wrap;\n  align-items: center;\n  gap: 8px;\n  margin-top: auto;\n  padding-top: 22px;\n}\n\n.tidal-scope .feature-grid-demo-members > img {\n  display: block;\n  width: 34px;\n  height: 34px;\n  object-fit: cover;\n  filter: grayscale(1) contrast(1.04);\n  border: 1px solid var(--feature-border);\n  border-radius: 50%;\n}\n\n.tidal-scope .feature-grid-demo-members > strong {\n  display: inline-flex;\n  align-items: center;\n  gap: 6px;\n  min-width: 0;\n  color: var(--feature-muted);\n  font-size: 11px;\n  font-weight: 520;\n  overflow-wrap: anywhere;\n}\n\n.tidal-scope .feature-grid-demo-events {\n  display: grid;\n  gap: 0;\n  min-width: 0;\n  margin: 14px 0 0;\n  padding: 0;\n  list-style: none;\n}\n\n.tidal-scope .feature-grid-demo-events li {\n  display: grid;\n  grid-template-columns: 9px minmax(0, 1fr);\n  gap: 10px;\n  min-width: 0;\n  padding: 11px 2px;\n  border-bottom: 1px solid var(--feature-border);\n}\n\n.tidal-scope .feature-grid-demo-events li > span {\n  width: 7px;\n  height: 7px;\n  margin-top: 5px;\n  background: var(--feature-ink);\n  border-radius: 50%;\n}\n\n.tidal-scope .feature-grid-demo-events p {\n  min-width: 0;\n  margin: 0;\n  color: var(--feature-muted);\n  font-size: 11px;\n  line-height: 1.5;\n  overflow-wrap: anywhere;\n}\n\n.tidal-scope .feature-grid-demo-activity .tidal-feature-card-footer {\n  display: flex;\n}\n\n.tidal-scope .feature-grid-demo-status {\n  position: absolute;\n  width: 1px;\n  height: 1px;\n  margin: -1px;\n  overflow: hidden;\n  clip-path: inset(50%);\n  white-space: nowrap;\n}\n\n@media (prefers-reduced-motion: no-preference) {\n  .tidal-scope .feature-grid-demo-timeline,\n  .tidal-scope .feature-grid-demo-events {\n    animation: feature-grid-demo-content 320ms var(--t-ease-out) both;\n  }\n}\n\n@keyframes feature-grid-demo-content {\n  from {\n    opacity: 0;\n    transform: translateY(7px);\n  }\n  to {\n    opacity: 1;\n    transform: none;\n  }\n}\n\n@container feature-grid-demo (max-width: 430px) {\n  .tidal-scope .feature-grid-demo-timeline li {\n    grid-template-columns: 26px minmax(0, 1fr) auto;\n    gap: 8px;\n  }\n\n  .tidal-scope .feature-grid-demo-orbit {\n    width: 142px;\n  }\n}\n\n@media (prefers-reduced-motion: reduce) {\n  .tidal-scope .feature-grid-demo-tabs button,\n  .tidal-scope .feature-grid-demo-filters button,\n  .tidal-scope .feature-grid-demo-progress > span,\n  .tidal-scope .feature-grid-demo-checklist label > span,\n  .tidal-scope .feature-grid-demo-switch > i > span,\n  .tidal-scope .feature-grid-demo-timeline,\n  .tidal-scope .feature-grid-demo-events {\n    animation: none;\n    transition: none;\n  }\n\n  .tidal-scope .feature-grid-demo-tabs button:active,\n  .tidal-scope .feature-grid-demo-filters button:active,\n  .tidal-scope .feature-grid-demo-checklist input:checked + span {\n    transform: none;\n  }\n}";

type WorkView = "plan" | "build" | "review";

type ActivityFilter = "all" | "updates" | "notes";

const views: ReadonlyArray<{
  id: WorkView;
  label: string;
  focus: string;
  owner: string;
  time: string;
  tasks: readonly string[];
}> = [
  {
    id: "plan",
    label: "Plan",
    focus: "Confirm the release outline",
    owner: "Ava",
    time: "09:30",
    tasks: ["Review scope", "Assign draft", "Set handoff"],
  },
  {
    id: "build",
    label: "Build",
    focus: "Assemble the launch page",
    owner: "Noah",
    time: "11:00",
    tasks: ["Place sections", "Connect actions", "Check mobile"],
  },
  {
    id: "review",
    label: "Review",
    focus: "Complete the final walkthrough",
    owner: "Mila",
    time: "14:15",
    tasks: ["Read every label", "Test keyboard", "Record decision"],
  },
];

const milestoneOptions = [
  { id: "copy", label: "Copy approved" },
  { id: "layout", label: "Layout reviewed" },
  { id: "mobile", label: "Mobile checked" },
] as const;

const baseActivity = [
  { id: "u1", type: "updates", text: "Noah moved the sample page to review." },
  { id: "n1", type: "notes", text: "Mila added a note to the launch outline." },
  { id: "u2", type: "updates", text: "Ava confirmed the handoff window." },
] as const;

export function FeatureGridDemo() {
  const [view, setView] = useState<WorkView>("build");
  const [complete, setComplete] = useState<Set<string>>(
    () => new Set(["copy", "layout"]),
  );
  const [reviewPreview, setReviewPreview] = useState(false);
  const [filter, setFilter] = useState<ActivityFilter>("all");
  const [message, setMessage] = useState("Build view selected.");

  const active = views.find((item) => item.id === view) ?? views[0];
  const progress = Math.round((complete.size / milestoneOptions.length) * 100);
  const activity = useMemo(() => {
    const items = reviewPreview
      ? [
          {
            id: "access",
            type: "updates" as const,
            text: "Local review-link preview turned on. No link was created or shared.",
          },
          ...baseActivity,
        ]
      : baseActivity;
    return filter === "all"
      ? items
      : items.filter((item) => item.type === filter);
  }, [filter, reviewPreview]);

  function chooseView(next: WorkView) {
    setView(next);
    const selected = views.find((item) => item.id === next);
    setMessage(`${selected?.label ?? next} view selected.`);
  }

  function toggleMilestone(id: string, checked: boolean) {
    setComplete((current) => {
      const next = new Set(current);
      if (checked) next.add(id);
      else next.delete(id);
      return next;
    });
    const item = milestoneOptions.find((option) => option.id === id);
    setMessage(
      `${item?.label ?? "Milestone"} marked ${checked ? "complete" : "open"}.`,
    );
  }

  function resetSample() {
    setView("build");
    setComplete(new Set(["copy", "layout"]));
    setReviewPreview(false);
    setFilter("all");
    setMessage("Sample workspace reset.");
  }

  return (
    <div className="feature-grid-demo-specimen">
      <TidalFeatureGrid
        eyebrow="Sample workspace"
        title="One view for the launch plan."
        description="Four connected local tools keep a fictional release plan, readiness checks, access setting, and activity log in one place."
        headingLevel="h2"
      >
        <TidalFeatureCard
          className="feature-grid-demo-focus"
          size="wide"
          eyebrow="Daily focus"
          title={active.focus}
          description="Move between real sample views. The schedule, owner, and working list update together."
          icon={<Clock3 size={20} />}
          footer={
            <span>
              {active.owner} owns this block · {active.time} sample time
            </span>
          }
        >
          <div
            className="feature-grid-demo-tabs"
            role="group"
            aria-label="Work view"
          >
            {views.map((item) => (
              <button
                key={item.id}
                type="button"
                aria-pressed={view === item.id}
                onClick={() => chooseView(item.id)}
              >
                {item.label}
              </button>
            ))}
          </div>
          <ol className="feature-grid-demo-timeline" key={view}>
            {active.tasks.map((task, index) => (
              <li key={task}>
                <span aria-hidden="true">0{index + 1}</span>
                <strong>{task}</strong>
                {index === 0 ? <small>Now</small> : null}
              </li>
            ))}
          </ol>
        </TidalFeatureCard>

        <TidalFeatureCard
          className="feature-grid-demo-readiness"
          size="tall"
          tone="ink"
          eyebrow="Readiness"
          title={`${complete.size} of ${milestoneOptions.length} checked`}
          description="These native checkboxes drive the shared completion rail."
          icon={<ListChecks size={20} />}
          footer={
            progress === 100
              ? "Sample ready for a final decision."
              : "Complete every check before the final decision."
          }
        >
          <div className="feature-grid-demo-progress" aria-hidden="true">
            <span style={{ width: `${progress}%` }} />
          </div>
          <strong className="feature-grid-demo-progress-label">
            {progress}% complete
          </strong>
          <div className="feature-grid-demo-checklist">
            {milestoneOptions.map((item, index) => (
              <label key={item.id}>
                <input
                  type="checkbox"
                  checked={complete.has(item.id)}
                  onChange={(event) =>
                    toggleMilestone(item.id, event.target.checked)
                  }
                />
                <span aria-hidden="true">
                  <Check size={15} />
                </span>
                <strong>{item.label}</strong>
                <small>0{index + 1}</small>
              </label>
            ))}
          </div>
          <div className="feature-grid-demo-orbit" aria-hidden="true">
            <span />
            <span />
            <Sparkles size={22} />
          </div>
        </TidalFeatureCard>

        <TidalFeatureCard
          className="feature-grid-demo-access"
          tone="soft"
          eyebrow="Access"
          title={reviewPreview ? "Review-link preview on" : "Workspace private"}
          description="A native switch previews a local access setting and records it in activity. It never creates or shares a link."
          icon={reviewPreview ? <Eye size={20} /> : <LockKeyhole size={20} />}
        >
          <label className="feature-grid-demo-switch">
            <span>
              <strong>Sample review link</strong>
              <small>
                {reviewPreview
                  ? "Preview only. No link was created or shared"
                  : "Review-link preview is off"}
              </small>
            </span>
            <input
              type="checkbox"
              role="switch"
              checked={reviewPreview}
              onChange={(event) => {
                setReviewPreview(event.target.checked);
                setMessage(
                  event.target.checked
                    ? "Local review-link preview turned on. No link was created or shared."
                    : "Local review-link preview turned off.",
                );
              }}
            />
            <i aria-hidden="true">
              <span />
            </i>
          </label>
          <div
            className="feature-grid-demo-members"
            role="group"
            aria-label="Fictional sample team"
          >
            <img
              src={tidalExampleAvatarDataUri("01")}
              alt="Ava, fictional sample teammate"
            />
            <img
              src={tidalExampleAvatarDataUri("02")}
              alt="Noah, fictional sample teammate"
            />
            <img
              src={tidalExampleAvatarDataUri("03")}
              alt="Mila, fictional sample teammate"
            />
            <strong>
              <UsersRound size={15} aria-hidden="true" /> 3 sample teammates
            </strong>
          </div>
        </TidalFeatureCard>

        <TidalFeatureCard
          className="feature-grid-demo-activity"
          eyebrow="Activity"
          title={`${activity.length} visible ${activity.length === 1 ? "item" : "items"}`}
          description="Filter the local log without replacing or fetching data."
          icon={<ArrowRight size={20} />}
          footer={
            <TidalFeatureAction variant="quiet" onClick={resetSample}>
              <RefreshCw size={15} aria-hidden="true" />
              Reset sample
            </TidalFeatureAction>
          }
        >
          <div
            className="feature-grid-demo-filters"
            role="group"
            aria-label="Activity filter"
          >
            {(["all", "updates", "notes"] as const).map((item) => (
              <button
                key={item}
                type="button"
                aria-pressed={filter === item}
                onClick={() => {
                  setFilter(item);
                  setMessage(
                    `${item === "all" ? "All activity" : item} filter selected.`,
                  );
                }}
              >
                {item === "all" ? "All" : item[0].toUpperCase() + item.slice(1)}
              </button>
            ))}
          </div>
          <ul
            className="feature-grid-demo-events"
            key={`${filter}-${reviewPreview}`}
          >
            {activity.map((item) => (
              <li key={item.id}>
                <span aria-hidden="true" />
                <p>{item.text}</p>
              </li>
            ))}
          </ul>
        </TidalFeatureCard>
      </TidalFeatureGrid>
      <p className="feature-grid-demo-status" role="status" aria-live="polite">
        {message}
      </p>
    </div>
  );
}

export default function AgentExample() {
  return (
    <div className="tidal-scope" data-theme="light" dir="ltr">
      <style>{tidalExampleStyles}</style>
      <FeatureGridDemo />
    </div>
  );
}

```

## Gotchas

- Install the declared registry dependencies and render inside a tidal-scope with the foundation stylesheet loaded.

## Theme and accessibility

{"tokens":["--t-accent","--t-border","--t-border-strong","--t-canvas","--t-danger","--t-display","--t-ease-out","--t-ease-spring","--t-faint","--t-font","--t-ink","--t-line","--t-muted","--t-primary","--t-primary-contrast","--t-radius-card","--t-radius-control","--t-radius-overlay","--t-radius-panel","--t-ring","--t-shadow-lg","--t-shadow-soft","--t-soft","--t-subtle","--t-surface","--t-wash"],"darkMode":true}

{"keyboard":["Tab and Shift+Tab follow the component's native focus order."],"aria":"The component wires labels and relationships from consumer-provided visible text or ARIA props; preserve those labels in production.","notes":"Verify focus visibility, text alternatives, contrast, and reduced motion in the final composition."}

TidalFeatureGrid requires title and children; optional eyebrow, description and headingLevel h2(default) | h3 | h4. TidalFeatureCard requires title; optional eyebrow, description, icon, children, footer and headingLevel. size: standard(default) | wide | tall. tone: paper(default) | ink | soft. Grid/card roots and TidalFeatureAction/TidalFeatureLink forward native attributes and refs. Consumers own every feature, destination and interaction.
