---
title: Features Blocks for Astro
description: "Astro feature sections with icons, media, and grouped explanations."
seo:
    title: "Astro Features blocks: examples and source"
sidebar:
    label: "Features"
related:
    - /blocks
    - /components
    - /docs/astro-business-websites
mode: wide
---

## Icon grid

Pair each feature explanation with a small icon.

```astro
---
import Features1Block from "@/components/blocks/features/features-1.astro"
---

<Features1Block
  title="Review a return request with gnostic AI"
  description="A customer asks if they need the original box. Use the sample policy to decide what the support agent can tell them."
  buttons={[
    {
      label: "Read the field note",
      href: "/blocks/article#centered-header",
    },
    {
      label: "Find the review checklist",
      href: "/blocks/products#list",
      variant: "outline",
    },
  ]}
  features={[
    {
      title: "Read the request",
      description:
        "The customer mentions the box but leaves out the product name.",
      icon: "message-square",
      linkText: "Read the customer example",
      href: "/blocks/article#centered-header",
    },
    {
      title: "Check the rule",
      description:
        "Find the sentence about fragile items. Read it alongside the first draft.",
      icon: "book-open",
      linkText: "See the review steps",
      href: "/blocks/features#editorial-process",
    },
    {
      title: "Ask for the product",
      description:
        "Try the same question with a known fragile item, a different item, and an unknown item.",
      icon: "package",
      linkText: "Compare the sample cases",
      href: "/blocks/features#media-cards",
    },
    {
      title: "Record the decision",
      description:
        "Keep the evidence that explains why the reviewer changed the reply.",
      icon: "clipboard-list",
      linkText: "See what to record",
      href: "/blocks/features#cards",
    },
  ]}
/>
```

```sh
bunx --bun shadcn@latest add @gnostic/features-1
```

## Gallery showreel

Pair a scrollable image gallery with an optional video disclosure.

```astro
---
import Block from "@/components/blocks/features/features-gallery-showreel.astro"
import lake from "../../../src/assets/images/mountain-beyond-lake-scene.png"
import { getImage } from "astro:assets"
import poster from "../../../src/assets/wizard/wizard-overlooking-town.png"
import video from "../../../src/assets/wizard/wizard-overlooking-town.mp4?url"

const lakeUrl = (await getImage({ src: lake, width: 1200, format: "webp" })).src
const posterUrl = (await getImage({ src: poster, width: 1200, format: "webp" }))
  .src
const content = {
  eyebrow: "Print workshop",
  title: "From the workbench",
  description: "Tools, techniques, and notes for a first edition.",
  gallery: [
    {
      src: lakeUrl,
      alt: "Mountain ridge beyond a lake",
    },
    {
      src: posterUrl,
      alt: "A wizard overlooking the town",
    },
  ],
  video: video,
  showreelLabel: "Watch the landscape animation",
}
---

<Block {...content} />
```

```sh
bunx --bun shadcn@latest add @gnostic/features-gallery-showreel
```

## Cards

Use cards to separate each feature and its supporting detail.

```astro
---
import Features2Block from "@/components/blocks/features/features-2.astro"
---

<Features2Block
  title="What belongs in a reply review record?"
  description="Save enough detail for another reviewer to repeat the packaging check after the returns policy changes."
  features={[
    {
      title: "Customer question",
      description:
        "Keep the original wording so the next reviewer can see what the customer asked.",
      icon: "message-square",
    },
    {
      title: "Product type",
      description:
        "Record whether the item is fragile. Leave this field open if the customer has not said what they bought.",
      icon: "package",
    },
    {
      title: "Policy passage",
      description:
        "Save the rule on original packaging and the policy version used for the check.",
      icon: "book-open",
    },
    {
      title: "First draft",
      description:
        "Keep the first answer so a reviewer can spot where it extends the rule to all returns.",
      icon: "file-text",
    },
    {
      title: "Approved reply",
      description:
        "Save the answer the agent approved, including any question they sent back to the customer.",
      icon: "circle-check",
    },
    {
      title: "Reason for the edit",
      description:
        "Explain which claim changed and which words in the policy support that change.",
      icon: "pencil",
    },
  ]}
/>
```

```sh
bunx --bun shadcn@latest add @gnostic/features-2
```

## Bento feature cards

Show two features with a picture and a link for each. On narrow screens, each card has its own picture. On wide screens, the cards share an image area. Hover over the second card to see its picture.

```astro
---
import { getImage } from "astro:assets"
import BentoFeatures from "@/components/blocks/features/bento-features.astro"
import pyramids from "../../../src/assets/wizard/wizard-future-pyramids.png"
import skyCity from "../../../src/assets/images/collosal-elephant-city.png"

const [flight, city] = await Promise.all([
  getImage({ src: pyramids, width: 1200, format: "webp" }),
  getImage({ src: skyCity, width: 1200, format: "webp" }),
])
---

<BentoFeatures
  title="Two destinations"
  description="Fly over the pyramids or explore a city in the clouds."
  feature1={{
    title: "Pyramid flight",
    description:
      "A ship flies low over the trees on its approach to the pyramids.",
    image: {
      src: flight.src,
      alt: "A wizard watches a ship fly past the pyramids.",
    },
    action: { href: flight.src, label: "View the pyramid illustration" },
  }}
  feature2={{
    title: "Sky city",
    description: "Airships pass a city built on the back of a stone elephant.",
    image: {
      src: city.src,
      alt: "A stone elephant carries a city above the clouds.",
    },
    action: { href: city.src, label: "View the sky city illustration" },
  }}
/>
```

```sh
bunx --bun shadcn@latest add @gnostic/bento-features
```

## Media cards

Give each feature a media area beside its explanation.

```astro
---
import Features3Block from "@/components/blocks/features/features-3.astro"
import placeholderImage from "@/assets/placeholder.webp"
---

<Features3Block
  title="Test the packaging rule on four requests"
  description="In this sample policy, only fragile items need the original box. Compare the expected reply for each request."
  features={[
    {
      title: "A glass vase",
      description:
        "The customer identifies a fragile vase. Explain that the original box is required and cite the rule.",
      image: { src: placeholderImage, alt: "" },
    },
    {
      title: "A cotton scarf",
      description:
        "The customer identifies a scarf. Explain that the fragile-item packaging rule does not apply.",
      image: { src: placeholderImage, alt: "" },
    },
    {
      title: "An unnamed gift",
      description:
        "The customer says the item was a gift. Ask what the item is before giving packaging advice.",
      image: { src: placeholderImage, alt: "" },
    },
    {
      title: "Two items in one return",
      description:
        "The customer lists a vase and a scarf. State the packaging requirement for each item separately.",
      image: { src: placeholderImage, alt: "" },
    },
  ]}
/>
```

```sh
bunx --bun shadcn@latest add @gnostic/features-3
```

## Horizontal scroll

Show features or services in cards with an image at the top. Each card accepts
a heading, description, optional highlights, and an optional action. The section
uses [Horizontal Scroll](/ui/components/horizontal-scroll) to move the cards as the
page scrolls down.

```astro
---
import FeaturesHorizontalScroll from "@/components/blocks/features/features-horizontal-scroll/features-horizontal-scroll.astro"
import { horizontalScrollFeatures } from "./features-horizontal-scroll-data.ts"
---

<FeaturesHorizontalScroll {...horizontalScrollFeatures} minWidth={0} />
```

```sh
bunx --bun shadcn@latest add @gnostic/features-horizontal-scroll
```

Pass imported Astro images or image URLs through `features[].image`. The block
renders them with Astro Image in a 16:9 frame. Supply alt text for meaningful
images; the example illustrations are decorative and use empty alt text.

Cards use a width of `24rem`, limited by the available space. Use `cardClass` to
change their width. `top`, `speed`, `minWidth`, and `enabled` pass through to
Horizontal Scroll. The default minimum width is `768` pixels. This preview sets
`minWidth={0}` so the effect is visible at each preview width.

On small screens, with reduced motion, or when the cards are too tall for the
viewport, the cards use a vertical layout. The block accepts native section
attributes and uses the selected project preset.

### FeaturesHorizontalScrollProps

<AutoTypeTable
    path="../../packages/ui/src/components/blocks/features/features-horizontal-scroll/types.ts"
    name="FeaturesHorizontalScrollProps"
/>

### HorizontalScrollFeature

<AutoTypeTable
    path="../../packages/ui/src/components/blocks/features/features-horizontal-scroll/types.ts"
    name="HorizontalScrollFeature"
/>

## Sticky sidebar

Keep the introduction visible beside the feature collection.

```astro
---
import Features4Block from "@/components/blocks/features/features-sticky-scroll.astro"
---

<Features4Block
  title="Check the plan before starting new work"
  description="A shared review helps your team decide what to finish, what to change, and what to leave for later."
  buttons={[
    {
      label: "Open the sample plan",
      href: "",
    },
    {
      label: "Read the planning guide",
      href: "",
      variant: "outline",
    },
  ]}
  features={[
    {
      icon: "layers",
      title: "Task owners",
      description:
        "Give each task one owner so teammates know who can answer the next question.",
      linkText: "Read the task details",
      href: "",
    },
    {
      icon: "shield",
      title: "Review notes",
      description:
        "Record decisions beside the work and bring unresolved details to the next review.",
      linkText: "Read the task details",
      href: "",
    },
    {
      icon: "rocket",
      title: "Open questions",
      description:
        "Keep unanswered questions visible until someone can check the facts.",
      linkText: "Read the task details",
      href: "",
    },
    {
      icon: "code",
      title: "Project brief",
      description:
        "Write a short brief that explains the outcome and the limits of the work.",
      linkText: "Read the task details",
      href: "",
    },
  ]}
/>
```

```sh
bunx --bun shadcn@latest add @gnostic/features-sticky-scroll
```

## Arc scroll

Keep the background still. Scroll the feature cards over it. Each card snaps to the center. Cards above and below the center move farther to the right along a curve.

Set `arc.angle` for the card tilt in degrees and `arc.radius` for the circle radius in item widths. The default radius is `1`; a larger radius gives a flatter curve. Tilt does not control the path. Pass fixed content through the `image` slot. A `feature-0`, `feature-1`, or later slot can replace a default card with any content.

```astro
---
import { Image } from "astro:assets"
import FeaturesStickyArc from "@/components/blocks/features/features-sticky-arc/features-sticky-arc.astro"
import coast from "@/assets/wizard/wizard-overlooking-water.png"
---

<FeaturesStickyArc
  title="Plan each day before the trip starts"
  description="Keep the stay, the transfer, the meal, and the open hours in one list. Scroll the list. Each card snaps to the center."
  arc={{ angle: 12, radius: 1 }}
  buttons={[
    {
      label: "Open the sample trip",
      href: "",
    },
    {
      label: "Read the planning notes",
      href: "",
      variant: "outline",
    },
  ]}
  features={[
    {
      icon: "bed",
      title: "A place to sleep",
      description:
        "Choose a stay near the first stop so the morning starts without a long transfer.",
      linkText: "See the sample stay",
      href: "",
    },
    {
      icon: "car",
      title: "The transfer",
      description:
        "Book the ride between stops before the day fills up with other plans.",
      linkText: "See the sample route",
      href: "",
    },
    {
      icon: "utensils",
      title: "One booked meal",
      description:
        "Hold a table for the longest day and leave the other meals open.",
      linkText: "See the sample meal",
      href: "",
    },
    {
      icon: "clock",
      title: "Open hours",
      description:
        "Leave part of the afternoon free for a walk or a change in the weather.",
      linkText: "See the sample day",
      href: "",
    },
  ]}
>
  <Image
    slot="image"
    src={coast}
    alt="A traveler beside a lake, with an island and mountains in the distance."
    class="size-full object-cover"
  />
</FeaturesStickyArc>
```

```sh
bunx --bun shadcn@latest add @gnostic/features-sticky-arc
```

### FeaturesStickyArcProps

<AutoTypeTable
    path="../../packages/ui/src/components/blocks/features/features-sticky-arc/types.ts"
    name="FeaturesStickyArcProps"
/>

## Floating grid

Place the feature grid inside an inset section.

```astro
---
import Features5Block from "@/components/blocks/features/features-5.astro"
---

<Features5Block
  title="Give your team a common place to start"
  description="Start with the current milestone and the questions that still need an answer."
  features={[
    {
      icon: "zap",
      title: "Task owners",
      description:
        "Give each task one owner so teammates know who can answer the next question.",
    },
    {
      icon: "palette",
      title: "Review notes",
      description:
        "Record decisions beside the work and bring unresolved details to the next review.",
    },
    {
      icon: "lock",
      title: "Open questions",
      description:
        "Keep unanswered questions visible until someone can check the facts.",
    },
    {
      icon: "globe",
      title: "Project brief",
      description:
        "Write a short brief that explains the outcome and the limits of the work.",
    },
    {
      icon: "settings",
      title: "Next milestone",
      description:
        "Mark the next useful stopping point before adding more tasks to the plan.",
    },
    {
      icon: "sparkles",
      title: "Weekly check-in",
      description:
        "Compare the current plan with what your team can finish this week.",
    },
  ]}
/>
```

```sh
bunx --bun shadcn@latest add @gnostic/features-5
```

## Text grid

Let headings and short descriptions carry the feature list.

```astro
---
import Features6Block from "@/components/blocks/features/features-6.astro"
---

<Features6Block
  title="Check new drafts after a policy change"
  description="Repeat the saved return requests against the revised policy before agents use the new replies."
  buttons={[
    {
      label: "Compare the sample cases",
      href: "/blocks/features#media-cards",
    },
    {
      label: "Read the original field note",
      href: "/blocks/article#centered-header",
      variant: "outline",
    },
  ]}
  features={[
    {
      title: "Keep the questions",
      description:
        "Use the same customer wording so the two rounds can be compared.",
    },
    {
      title: "Find the changed rule",
      description:
        "Mark the passage that changed and identify the products it covers.",
    },
    {
      title: "Set the expected answer",
      description:
        "Have a reviewer write down the answer each customer should receive under the new rule.",
    },
    {
      title: "Generate new drafts",
      description:
        "Run each saved question with the revised policy available to the assistant.",
    },
    {
      title: "Compare the answers",
      description:
        "Check the advice and its citation. Flag replies that still use the old packaging rule.",
    },
    {
      title: "Review the exceptions",
      description:
        "Give each flagged reply to the policy owner. Record their decision before using it with customers.",
    },
  ]}
/>
```

```sh
bunx --bun shadcn@latest add @gnostic/features-6
```

### Image Tabs

```package-install
bunx --bun shadcn@latest add @gnostic/image-tabs
```

Each tab shows a different image next to its copy. Pass Astro `Image` through a
named slot such as `image-design` (from the tab title `Design`; spaces become
hyphens) to replace the fallback `img`.

Change the supporting image when a reader selects another tab.

```astro
---
import { Image } from "astro:assets"

import ImageTabs from "@/components/blocks/features/image-tabs/image-tabs.astro"
import designImage from "@/assets/wizard/wizard-above-clouds.jpeg"
import buildImage from "@/assets/wizard/wizard-on-moon.jpeg"
import shipImage from "@/assets/wizard/wizard-in-field-looking-at-planet.png"

const tabs = [
  {
    title: "Design",
    description:
      "Shape the narrative first. Pair clear copy with a visual that matches the story you tell in each tab.",
    items: [
      {
        title: "Layout system",
        description:
          "Keep columns, gaps, and type scale consistent across panels.",
      },
      {
        title: "Visual hierarchy",
        description:
          "Lead with one idea, then support it with short detail cards.",
      },
    ],
    image: {
      src: designImage.src,
      alt: "Wizard above the clouds",
    },
  },
  {
    title: "Build",
    description:
      "Wire each tab to a different image. Pass Astro Image through a named slot when you need optimization.",
    items: [
      {
        title: "Shared tabs",
        description: "Uses the same Tabs primitives as the rest of the UI kit.",
      },
      {
        title: "Image slots",
        description: "Override the fallback img with slot={`image-${value}`}.",
      },
    ],
    image: {
      src: buildImage.src,
      alt: "Wizard on the moon",
    },
  },
  {
    title: "Ship",
    description:
      "Install the block, drop in your content, and keep media ownership in the consuming site.",
    items: [
      {
        title: "Section shell",
        description:
          "Wraps content in Section and SectionContainer by default.",
      },
      {
        title: "Reverse layout",
        description:
          "Set reverse to put the image column first on wide screens.",
      },
    ],
    image: {
      src: shipImage.src,
      alt: "Wizard staff with glowing orb",
    },
  },
]
---

<ImageTabs tabs={tabs}>
  <Image
    slot="image-design"
    src={designImage}
    alt="Wizard above the clouds"
    width={800}
    height={600}
    class="aspect-4/3 h-full w-full object-cover object-center"
    loading="lazy"
  />
  <Image
    slot="image-build"
    src={buildImage}
    alt="Wizard on the moon"
    width={800}
    height={600}
    class="aspect-4/3 h-full w-full object-cover object-center"
    loading="lazy"
  />
  <Image
    slot="image-ship"
    src={shipImage}
    alt="Wizard staff with glowing orb"
    width={800}
    height={600}
    class="aspect-4/3 h-full w-full object-cover object-center"
    loading="lazy"
  />
</ImageTabs>
```

```sh
bunx --bun shadcn@latest add @gnostic/image-tabs
```

## Props

### ImageTabsProps

<AutoTypeTable
    path="../../packages/ui/src/components/blocks/features/image-tabs/types.ts"
    name="ImageTabsProps"
/>

### ImageTab

<AutoTypeTable
    path="../../packages/ui/src/components/blocks/features/image-tabs/types.ts"
    name="ImageTab"
/>

## Alternating use cases

Alternate images and descriptions in a sequence of use cases.

```astro
---
import Block from "@/components/blocks/features/features-alternating-media.astro"
import { getImage } from "astro:assets"
import lake from "../../../src/assets/images/mountain-beyond-lake-scene.png"
import hall from "../../../src/assets/images/entrance-hall.png"
import field from "../../../src/assets/images/open-field-illustration.png"

const lakeUrl = (await getImage({ src: lake, width: 1200, format: "webp" })).src
const hallUrl = (await getImage({ src: hall, width: 1200, format: "webp" })).src
const fieldUrl = (await getImage({ src: field, width: 1200, format: "webp" }))
  .src
const content = {
  eyebrow: "gnostic AI · Sample invoice intake pilot",
  title: "Where should each invoice go?",
  description:
    "Compare the draft records for three submissions against the same purchase order.",
  features: [
    {
      title: "Send the match for approval",
      eyebrow: "Matching total",
      description:
        "The first invoice and the purchase order both show $240. Keep the source documents with the draft so the approver can check them.",
      note: "Ready for approval",
      image: {
        src: lakeUrl,
        alt: "Mountain ridge beyond a lake",
      },
    },
    {
      title: "Hold the extra charge",
      eyebrow: "Disputed total",
      description:
        "A different invoice shows $264 against the $240 order. Show the $24 difference to the accounts reviewer.",
      note: "Needs review",
      image: {
        src: hallUrl,
        alt: "An illustrated entrance hall",
      },
    },
    {
      title: "Find the earlier record",
      eyebrow: "Repeat submission",
      description:
        "Submit the first invoice again with the same supplier and invoice number. Link the repeat submission to the existing draft.",
      note: "One draft eligible for payment",
      image: {
        src: fieldUrl,
        alt: "Illustration of an open field",
      },
    },
  ],
}
---

<Block {...content} />
```

```sh
bunx --bun shadcn@latest add @gnostic/features-alternating-media
```

## Materials and image grid

Place product specifications beside a sticky image grid.

```astro
---
import Block from "@/components/blocks/features/features-material-gallery.astro"
import { getImage } from "astro:assets"
import lake from "../../../src/assets/images/mountain-beyond-lake-scene.png"
import hall from "../../../src/assets/images/entrance-hall.png"
import field from "../../../src/assets/images/open-field-illustration.png"

const lakeUrl = (await getImage({ src: lake, width: 1200, format: "webp" })).src
const hallUrl = (await getImage({ src: hall, width: 1200, format: "webp" })).src
const fieldUrl = (await getImage({ src: field, width: 1200, format: "webp" }))
  .src
const content = {
  eyebrow: "At the workshop",
  title: "Paper, ink, and texture",
  description:
    "Use the presses, explore the print archive, or take a small group class.",
  tags: ["Cotton rag", "Water-based ink"],
  note: "Paper samples are available at the workshop.",
  action: {
    label: "Book a studio visit",
    href: "",
  },
  specifications: [
    {
      label: "Weight",
      value: "250 gsm",
    },
    {
      label: "Surface",
      value: "Cold pressed",
    },
  ],
  gallery: [
    {
      src: lakeUrl,
      alt: "Mountain ridge beyond a lake",
    },
    {
      src: hallUrl,
      alt: "An illustrated entrance hall",
    },
    {
      src: fieldUrl,
      alt: "Illustration of an open field",
    },
  ],
}
---

<Block {...content} />
```

```sh
bunx --bun shadcn@latest add @gnostic/features-material-gallery
```

## Image and key specifications

Pair a large image with a heading and key measurements.

```astro
---
import Block from "@/components/blocks/features/features-specification-split.astro"
import { getImage } from "astro:assets"
import lake from "../../../src/assets/images/mountain-beyond-lake-scene.png"

const lakeUrl = (await getImage({ src: lake, width: 1200, format: "webp" })).src
const content = {
  eyebrow: "gnostic AI · Sample invoice intake pilot",
  title: "What goes into the test queue?",
  description:
    "Use one purchase order and three sample submissions to check the rule before it handles live invoices.",
  image: {
    src: lakeUrl,
    alt: "Mountain ridge beyond a lake",
  },
  metrics: [
    {
      label: "Purchase order total",
      value: "$240",
      description: "Use this amount as the reference for both invoice totals.",
    },
    {
      label: "Invoice submissions",
      value: "3",
      description:
        "A matching invoice, a disputed invoice, and a second copy of the matching invoice.",
    },
  ],
}
---

<Block {...content} />
```

```sh
bunx --bun shadcn@latest add @gnostic/features-specification-split
```

## Image steps

```astro
---
import Block from "@/components/blocks/features/features-image-steps.astro"
import { getImage } from "astro:assets"
import lake from "../../../src/assets/images/mountain-beyond-lake-scene.png"

const lakeUrl = (await getImage({ src: lake, width: 1200, format: "webp" })).src
const content = {
  eyebrow: "gnostic AI · Support routing",
  title: "Test a ticket routing rule",
  description:
    "Use three sample tickets to check who receives a billing question, a setup request, and a message that asks about both.",
  image: {
    src: lakeUrl,
    alt: "Mountain ridge beyond a lake",
  },
  projectsLabel: "Read the routing field note",
  contact: {
    label: "View the sample project brief",
    href: "/blocks/contact#editorial-contact",
  },
  projectsHref: "/blocks/article#image-header",
  steps: [
    {
      title: "Record the expected owners",
      description:
        "Ask the support lead to name the queue for each ticket. Mark the mixed request for human review.",
      icon: "pencil",
    },
    {
      title: "Run the three tickets",
      description:
        "Send each ticket through the rule in a test queue and record its assigned owner.",
      icon: "layers",
    },
    {
      title: "Check the handoff",
      description:
        "Compare the assignments with the expected owners. Check that the reviewer receives the original mixed request.",
      icon: "check",
    },
  ],
}
---

<Block {...content} />
```

```sh
bunx --bun shadcn@latest add @gnostic/features-image-steps
```

## Process cards

Supply your own content. The section uses the selected project preset.

```astro
---
import Block from "@/components/blocks/features/features-process-cards/features-process-cards.astro"
import type { ProcessCardsContent } from "@/components/blocks/features/features-process-cards/types"

const content = {
  label: "gnostic AI · Invoice intake",
  title: "Check an invoice before approval",
  steps: [
    {
      title: "Match the invoice",
      description:
        "Find the purchase order and compare its supplier and total with the invoice.",
      label: "Step 1",
    },
    {
      title: "Flag a difference",
      description:
        "If a total differs, send both amounts and the order number to the accounts reviewer.",
      label: "Step 2",
    },
    {
      title: "Catch a duplicate",
      description:
        "Submit the same invoice again. Check that the reviewer sees the existing record before a second payment can be approved.",
      label: "Step 3",
    },
  ],
} satisfies ProcessCardsContent
---

<Block {content} />
```

```sh
bunx --bun shadcn@latest add @gnostic/features-process-cards
```

<AutoTypeTable
    path="../../packages/ui/src/components/blocks/features/features-process-cards/types.ts"
    name="ProcessCardsProps"
/>

## Icon feature grid

Supply your own content. The section uses the selected project preset.

```astro
---
import Block from "@/components/blocks/features/features-icon-bento/features-icon-bento.astro"
import type { IconBentoContent } from "@/components/blocks/features/features-icon-bento/types"

const content = {
  label: "From the print room",
  title: "What the workshop supplies",
  features: [
    {
      title: "Open press",
      description: "Reserve a press and bench for an afternoon.",
      icon: "layers",
    },
    {
      title: "Paper workshop",
      description: "Compare the weight and texture of four print papers.",
      icon: "target",
    },
    {
      title: "Edition proofing",
      description: "Work with a printer to check the first impression.",
      icon: "clock",
    },
  ],
} satisfies IconBentoContent
---

<Block {content} />
```

```sh
bunx --bun shadcn@latest add @gnostic/features-icon-bento
```

<AutoTypeTable
    path="../../packages/ui/src/components/blocks/features/features-icon-bento/types.ts"
    name="IconBentoProps"
/>

## Before and after

Supply your own content. The section uses the selected project preset.

```astro
---
import Block from "@/components/blocks/features/features-before-after/features-before-after.astro"
import type { BeforeAfterContent } from "@/components/blocks/features/features-before-after/types"

const content = {
  label: "gnostic AI · Sample invoice intake pilot",
  title: "What changes for the accounts reviewer?",
  beforeTitle: "Manual inbox",
  afterTitle: "Pilot review queue",
  rows: [
    {
      before: "Find the purchase order and compare the totals by hand.",
      after: "Open the draft with both totals and the difference shown.",
    },
    {
      before: "Search old messages to see if the invoice was sent twice.",
      after:
        "Review the existing record when the supplier and invoice number match.",
    },
  ],
} satisfies BeforeAfterContent
---

<Block {content} />
```

```sh
bunx --bun shadcn@latest add @gnostic/features-before-after
```

<AutoTypeTable
    path="../../packages/ui/src/components/blocks/features/features-before-after/types.ts"
    name="BeforeAfterProps"
/>

## Editorial process

Use this section for the process part of a studio site.

```astro
---
import Section from "@/components/blocks/process/process-numbered-columns/process-numbered-columns.astro"

const section = {
  label: "gnostic AI · Reply review",
  title: "Review an AI draft",
  accent: "before you send it",
  description:
    "Use a sample customer question to check the draft, its source, and the decision to send it.",
  steps: [
    {
      title: "Read the request",
      description:
        "List each question the customer asked. Check that the draft answers all of them.",
    },
    {
      title: "Check the source",
      description:
        "Open the cited policy and compare its instructions with the steps in the reply.",
    },
    {
      title: "Record the decision",
      description:
        "Approve the draft or return it with the sentence that needs correction and the source that explains why.",
    },
  ],
}
---

<Section {...section} />
```

```sh
bunx --bun shadcn@latest add @gnostic/process-numbered-columns
```

<AutoTypeTable
    path="../../packages/ui/src/components/blocks/process/process-numbered-columns/types.ts"
    name="ProcessNumberedColumnsProps"
/>

See [serif accent font setup](/ui/docs/installation#serif-accent-fonts-for-editorial-blocks) when installing this section.

## Illustrated timeline

```astro
---
import Block from "@/components/blocks/features/features-illustrated-timeline/features-illustrated-timeline.astro"
import { getImage } from "astro:assets"
import lake from "../../../src/assets/images/mountain-beyond-lake-scene.png"
import hall from "../../../src/assets/images/entrance-hall.png"
import field from "../../../src/assets/images/open-field-illustration.png"

const lakeUrl = (await getImage({ src: lake, width: 1200, format: "webp" })).src
const hallUrl = (await getImage({ src: hall, width: 1200, format: "webp" })).src
const fieldUrl = (await getImage({ src: field, width: 1200, format: "webp" }))
  .src
const content = {
  eyebrow: "gnostic AI · Pilot handoff",
  title: "Hand a tested workflow to its owner",
  description:
    "Give the support lead the rule, its test tickets, and a way to take over if a request goes to the wrong queue.",
  badge: "Handoff checklist",
  trustTitle: "Keep the original test cases",
  trustDescription:
    "Run the same tickets after each rule change and compare the results with the recorded owners.",
  supportLabel: "The support lead signs off after the handoff test.",
  steps: [
    {
      title: "Write down the rule",
      description:
        "Record which details select a queue and who owns requests with missing details.",
      image: {
        src: lakeUrl,
        alt: "Mountain ridge beyond a lake",
      },
    },
    {
      title: "Repeat the pilot test",
      description:
        "Have the incoming owner run the saved tickets and explain each assignment.",
      image: {
        src: hallUrl,
        alt: "An illustrated entrance hall",
      },
    },
    {
      title: "Practice manual routing",
      description:
        "Pause the rule in the test queue. Check that the owner can find and assign each waiting request.",
      image: {
        src: fieldUrl,
        alt: "Illustration of an open field",
      },
    },
  ],
}
---

<Block {...content} />
```

```sh
bunx --bun shadcn@latest add @gnostic/features-illustrated-timeline
```

## Choose a features layout

Choose a grid when readers need to compare several features. Use a larger media layout when one feature needs an example or screenshot. Describe what the user can do rather than listing vague qualities.

## Pass content from Astro

Pass the features array and heading props required by the chosen variant. Icon names must resolve to supported icons. Keep feature links meaningful and omit them when there is no useful destination.

## Responsive layout and images

Check uneven description lengths and grid wrapping at narrow widths. Use screenshots that show the feature clearly and supply alt text for the relevant detail. Do not repeat the same decorative image in every card just to fill space.

## Compose the next section

Use [Content](/ui/blocks/content) for a deeper explanation and [Hero](/ui/blocks/hero) to introduce the page’s main offer.

## Named slots

These slots are optional. Use the slot name on a direct child of the block.

### `image-tabs`

| Prop | Type | Default | Description |
| - | - | - | - |
| `image-{value}?` | `Astro content` | `Image from tab.image` | Replaces the image for one tab. Use the lowercase tab title, trim spaces at both ends, and replace each run of whitespace with one hyphen. For Design System, use image-design-system. |

For a tab titled `Design System`, pass the image as a child of `ImageTabs`.

```astro
<ImageTabs tabs={tabs}>
    <img slot="image-design-system" src="/design-system.webp" alt="Spacing and color samples" />
</ImageTabs>
```

### `features-sticky-arc`

| Prop | Type | Default | Description |
| - | - | - | - |
| `image?` | `Astro content` | - | Places fixed media behind the scrolling cards. |
| `feature-{index}?` | `Astro content` | `Icon, title, and description from the feature` | Replaces one card. Count from zero in the features array. Use feature-0 for the first card. |

### `features-process-cards`

| Prop | Type | Default | Description |
| - | - | - | - |
| `visual?` | `Astro content or slot function` | - | Places content above each step title. A slot function receives the zero-based index in content.steps. |

### `features-grid`

| Prop | Type | Default | Description |
| - | - | - | - |
| `card1-cta?` | `Astro content` | `Link from card1.buttonLink and card1.buttonText` | Replaces the first card button. |
| `card2-cta?` | `Astro content` | `Link from card2.buttonLink and card2.buttonText` | Replaces the second card button. |
| `card3-cta?` | `Astro content` | `Link from card3.buttonLink and card3.buttonText` | Replaces the third card button when card3 is present. |

### `list-icons-with-image`

| Prop | Type | Default | Description |
| - | - | - | - |
| `cta?` | `Astro content` | - | Places an action below the introduction and above the list. |
