# Features: icon grid with hairline dividers

> Left-aligned intro and six features in one rounded panel, divided into one to three columns by hairlines, each with an icon chip.

- Kind: block · Category: Features · Interactivity: none
- Install: `npx shadcn@latest add @haze/features-icon-grid`
- File: `src/components/haze/blocks/features-icon-grid.astro`
- npm dependencies: @lucide/astro
- Registry dependencies: 
- Docs page: https://hazeui.com/blocks/features-icon-grid

## Use when
- Listing four to nine product capabilities of equal weight
- You want a dense, scannable overview

## Avoid when
- One or two features deserve a large visual; use bento-grid

## Alternatives
- [bento-grid](https://hazeui.com/blocks/bento-grid.md)

## Props

| Name | Type | Default | Required | Description |
|---|---|---|---|---|
| eyebrow | `string` | "Features" | no | Small label above the heading. |
| title | `string` | demo heading | no | Section heading (h2). |
| description | `string` | demo copy | no | Intro paragraph. |
| features | `{ icon: "zap" \| "keyboard" \| "workflow" \| "branch" \| "bell" \| "lock" \| "terminal" \| "accessibility" \| "bot" \| "palette" \| "gauge" \| "layers"; title: string; description: string }[]` | 6 demo features | no | Feature items; icon picks from a fixed Lucide set of twelve names. |

## Accessibility
- Features are a list of h3 items under the section's h2.
- Icons are decorative (aria-hidden).
- The divided panel expects a count that fills its rows: a multiple of 3 at lg, or of 2 below it, otherwise the last row leaves an empty cell.

## Agent prompts

### Install and use

Install the Haze UI block "Features: icon grid with hairline dividers" with `npx shadcn@latest add @haze/features-icon-grid`. If components.json has no "@haze" registry yet, add "registries": { "@haze": "https://hazeui.com/r/{name}.json" }. If src/styles/haze.css does not exist yet, run `npx shadcn@latest add @haze/theme` once and import it from the global stylesheet after Tailwind. The CLI stops at an overwrite question when a Haze file already exists and differs, even with --yes, and then installs nothing after it: read its output. If the user has not edited their Haze files, re-run with --overwrite to take the registry versions; if they have, ask them before overwriting. Then import FeaturesIconGrid from "@/components/haze/blocks/features-icon-grid.astro" (or the relative path) and render it where it fits the page. Keep Haze token classes (bg-background, text-muted-foreground, border-border...) and never hardcode colors. Docs: https://hazeui.com/blocks/features-icon-grid.md

### Customize with real content

Adapt the Haze features-icon-grid block for our product. Replace the demo values of these props with our real content: eyebrow, title, description, features. Keep the layout, the heading level rules and these accessibility details: Features are a list of h3 items under the section's h2. Icons are decorative (aria-hidden). The divided panel expects a count that fills its rows: a multiple of 3 at lg, or of 2 below it, otherwise the last row leaves an empty cell. Do not add raw color classes; use the Haze tokens.

### Choose the right block

Before using features-icon-grid, check it fits: use it when listing four to nine product capabilities of equal weight; you want a dense, scannable overview. Avoid it when one or two features deserve a large visual; use bento-grid. Alternatives: @haze/bento-grid.

## Example requests that should lead here
- Add a six item feature grid with icons and short descriptions
- Show our product features in a 3 column grid with thin dividers

## Source

```astro
---
import { Accessibility, Bell, Bot, Gauge, GitBranch, Keyboard, Layers, Lock, Palette, Terminal, Workflow, Zap } from "@lucide/astro";

interface Props {
  eyebrow?: string;
  title?: string;
  description?: string;
  features?: { icon: keyof typeof icons; title: string; description: string }[];
}

const icons = {
  zap: Zap,
  keyboard: Keyboard,
  workflow: Workflow,
  branch: GitBranch,
  bell: Bell,
  lock: Lock,
  terminal: Terminal,
  accessibility: Accessibility,
  bot: Bot,
  palette: Palette,
  gauge: Gauge,
  layers: Layers,
};

const {
  eyebrow = "Features",
  title = "Everything a product team needs, nothing it doesn't",
  description = "Fast by default, keyboard-first and built to stay out of the way.",
  features = [
    { icon: "zap", title: "Instant everything", description: "Local-first sync means views open in milliseconds, even with ten thousand issues." },
    { icon: "keyboard", title: "Keyboard-first", description: "Every action has a shortcut, and the command menu finds the rest." },
    { icon: "workflow", title: "Automations", description: "Move, assign and label work automatically when its status changes." },
    { icon: "branch", title: "Git integration", description: "Link pull requests and close issues when the branch merges." },
    { icon: "bell", title: "Quiet notifications", description: "A single inbox with smart grouping instead of a flood of emails." },
    { icon: "lock", title: "Enterprise security", description: "SSO, SCIM provisioning and audit logs on every paid plan." },
  ],
} = Astro.props;
---

<section aria-labelledby="features-icon-grid-title" class="bg-background px-6 py-20 sm:py-24">
  <div class="mx-auto max-w-6xl">
    <div class="max-w-2xl">
      <p class="text-[0.6875rem]/4 font-medium tracking-wider text-muted-foreground uppercase">{eyebrow}</p>
      <h2 id="features-icon-grid-title" class="mt-3 text-3xl/9 font-semibold tracking-tight text-balance text-foreground sm:text-4xl/11">{title}</h2>
      <p class="mt-4 text-base/7 text-pretty text-muted-foreground">{description}</p>
    </div>
    <ul class="mt-12 grid gap-px overflow-hidden rounded-2xl border border-border bg-border sm:grid-cols-2 lg:grid-cols-3">
      {
        features.map((feature) => {
          const Icon = icons[feature.icon];
          return (
            <li class="bg-card p-6 sm:p-8">
              <span class="inline-flex size-10 items-center justify-center rounded-lg bg-foreground/5 text-foreground inset-ring inset-ring-frame [&_svg]:size-5">
                <Icon aria-hidden="true" />
              </span>
              <h3 class="mt-5 text-[0.9375rem]/6 font-semibold tracking-tight text-foreground">{feature.title}</h3>
              <p class="mt-2 text-sm/6 text-muted-foreground">{feature.description}</p>
            </li>
          );
        })
      }
    </ul>
  </div>
</section>
```
