Skip to content
Esc
↑↓navigate↵open⌘Jpreview

Features Blocks for Astro

Astro feature sections with icons, media, and grouped explanations.

Icon grid

Pair each feature explanation with a small icon.

Review a return request with gnostic AI

A customer asks if they need the original box. Use the sample policy to decide what the support agent can tell them.

Read the request

The customer mentions the box but leaves out the product name.

Read the customer example

Check the rule

Find the sentence about fragile items. Read it alongside the first draft.

See the review steps

Ask for the product

Try the same question with a known fragile item, a different item, and an unknown item.

Compare the sample cases

Record the decision

Keep the evidence that explains why the reviewer changed the reply.

See what to record
bunx --bun shadcn@latest add @gnostic/features-1

Pair a scrollable image gallery with an optional video disclosure.

Print workshop

From the workbench

Tools, techniques, and notes for a first edition.

Mountain ridge beyond a lake
Mountain ridge beyond a lake01 / 02
A wizard overlooking the town
A wizard overlooking the town02 / 02
Watch the landscape animation
bunx --bun shadcn@latest add @gnostic/features-gallery-showreel

Cards

Use cards to separate each feature and its supporting detail.

What belongs in a reply review record?

Save enough detail for another reviewer to repeat the packaging check after the returns policy changes.

Customer question

Keep the original wording so the next reviewer can see what the customer asked.

Product type

Record whether the item is fragile. Leave this field open if the customer has not said what they bought.

Policy passage

Save the rule on original packaging and the policy version used for the check.

First draft

Keep the first answer so a reviewer can spot where it extends the rule to all returns.

Approved reply

Save the answer the agent approved, including any question they sent back to the customer.

Reason for the edit

Explain which claim changed and which words in the policy support that change.

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.

Two destinations

Fly over the pyramids or explore a city in the clouds.

A wizard watches a ship fly past the pyramids.
Pyramid flight

A ship flies low over the trees on its approach to the pyramids.

A stone elephant carries a city above the clouds.
Sky city

Airships pass a city built on the back of a stone elephant.

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

Media cards

Give each feature a media area beside its explanation.

Test the packaging rule on four requests

In this sample policy, only fragile items need the original box. Compare the expected reply for each request.

A glass vase

The customer identifies a fragile vase. Explain that the original box is required and cite the rule.

A cotton scarf

The customer identifies a scarf. Explain that the fragile-item packaging rule does not apply.

An unnamed gift

The customer says the item was a gift. Ask what the item is before giving packaging advice.

Two items in one return

The customer lists a vase and a scarf. State the packaging requirement for each item separately.

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 to move the cards as the page scrolls down.

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

PropType
eyebrow?string

Short label above the heading.

Typestring
titlestring

Section heading.

Typestring
description?string

Text below the section heading.

Typestring
featuresHorizontalScrollFeature[]

Feature or service cards in display order.

TypeHorizontalScrollFeature[]
enabled?HorizontalScrollProps['enabled']

Enable the scroll effect.

TypeHorizontalScrollProps['enabled']
Defaulttrue
speed?HorizontalScrollProps['speed']

Horizontal pixels moved per vertical scroll pixel.

TypeHorizontalScrollProps['speed']
Default1
top?HorizontalScrollProps['top']

Space for a fixed header, in pixels.

TypeHorizontalScrollProps['top']
Default0
minWidth?HorizontalScrollProps['minWidth']

Minimum browser width for the effect, in pixels.

TypeHorizontalScrollProps['minWidth']
Default768
cardClass?string

Classes merged with each card, for example a different width.

Typestring
class?string

Classes added to the outer section.

Typestring

HorizontalScrollFeature

PropType
titlestring

Card heading.

Typestring
descriptionstring

Text below the heading.

Typestring
image{ /** Image description. Use an empty string for a decorative image. */ alt: string } & ( | { /** Imported Astro image. */ src: ImageMetadata } | { /** Image URL. */ src: string } )

Top image, cropped to a 16:9 frame.

Type{ /** Image description. Use an empty string for a decorative image. */ alt: string } & ( | { /** Imported Astro image. */ src: ImageMetadata } | { /** Image URL. */ src: string } )
highlights?string[]

Short details shown in the card body.

Typestring[]
button?{ /** Link text. */ label: string /** Link destination. */ href: string }

Optional card action.

Type{ /** Link text. */ label: string /** Link destination. */ href: string }

Keep the introduction visible beside the feature collection.

Check the plan before starting new work

A shared review helps your team decide what to finish, what to change, and what to leave for later.

Task owners

Give each task one owner so teammates know who can answer the next question.

Review notes

Record decisions beside the work and bring unresolved details to the next review.

Open questions

Keep unanswered questions visible until someone can check the facts.

Project brief

Write a short brief that explains the outcome and the limits of the work.

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.

Plan each day before the trip starts

Keep the stay, the transfer, the meal, and the open hours in one list. Scroll the list. Each card snaps to the center.

A traveler beside a lake, with an island and mountains in the distance.
  1. A place to sleep

    Choose a stay near the first stop so the morning starts without a long transfer.

  2. The transfer

    Book the ride between stops before the day fills up with other plans.

  3. One booked meal

    Hold a table for the longest day and leave the other meals open.

  4. Open hours

    Leave part of the afternoon free for a walk or a change in the weather.

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

FeaturesStickyArcProps

PropType
titlestring

Section heading.

Typestring
descriptionstring

Text under the heading.

Typestring
buttons?FeaturesStickyArcAction[]

Calls to action under the introduction.

TypeFeaturesStickyArcAction[]
featuresFeaturesStickyArcFeature[]

Cards in scroll order.

TypeFeaturesStickyArcFeature[]
arc?FeaturesStickyArcAmount

Circle radius and independent card tilt.

TypeFeaturesStickyArcAmount
class?string

Extra classes on the outer `Section`.

Typestring

Floating grid

Place the feature grid inside an inset section.

Give your team a common place to start

Start with the current milestone and the questions that still need an answer.

Task owners

Give each task one owner so teammates know who can answer the next question.

Review notes

Record decisions beside the work and bring unresolved details to the next review.

Open questions

Keep unanswered questions visible until someone can check the facts.

Project brief

Write a short brief that explains the outcome and the limits of the work.

Next milestone

Mark the next useful stopping point before adding more tasks to the plan.

Weekly check-in

Compare the current plan with what your team can finish this week.

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

Text grid

Let headings and short descriptions carry the feature list.

Check new drafts after a policy change

Repeat the saved return requests against the revised policy before agents use the new replies.

Keep the questions

Use the same customer wording so the two rounds can be compared.

Find the changed rule

Mark the passage that changed and identify the products it covers.

Set the expected answer

Have a reviewer write down the answer each customer should receive under the new rule.

Generate new drafts

Run each saved question with the revised policy available to the assistant.

Compare the answers

Check the advice and its citation. Flag replies that still use the old packaging rule.

Review the exceptions

Give each flagged reply to the policy owner. Record their decision before using it with customers.

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

Image Tabs

npx --bun shadcn@latest add @gnostic/image-tabs
pnpm dlx --bun shadcn@latest add @gnostic/image-tabs
yarn dlx --bun shadcn@latest add @gnostic/image-tabs
bunx --bun shadcn@latest add @gnostic/image-tabs
nubx --bun shadcn@latest add @gnostic/image-tabs
aube dlx --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.

Design

Shape the narrative first. Pair clear copy with a visual that matches the story you tell in each tab.

  • Layout system

    Keep columns, gaps, and type scale consistent across panels.

  • Visual hierarchy

    Lead with one idea, then support it with short detail cards.

Wizard above the clouds
bunx --bun shadcn@latest add @gnostic/image-tabs

Props

ImageTabsProps

PropType
tabsImageTab[]

Tab panels. Each title becomes the tab value.

TypeImageTab[]
reverse?boolean

Put the text column after the image on wide layouts.

Typeboolean
Defaultfalse
class?string

Extra classes on the outer `Section`.

Typestring

ImageTab

PropType
titlestring

Tab label. Lowercased and hyphenated to form the tab `value` and the image slot name (`image-${value}`). Example: `Design` → `image-design`.

Typestring
descriptionstring

Lead paragraph for the selected panel.

Typestring
itemsImageTabItem[]

Detail cards under the panel lead.

TypeImageTabItem[]
imageImageTabImage

Fallback image when the matching named slot is empty.

TypeImageTabImage

Alternating use cases

Alternate images and descriptions in a sequence of use cases.

gnostic AI · Sample invoice intake pilot

Where should each invoice go?

Compare the draft records for three submissions against the same purchase order.

Mountain ridge beyond a lake

01 / Matching total

Send the match for approval

The first invoice and the purchase order both show $240. Keep the source documents with the draft so the approver can check them.

Ready for approval

An illustrated entrance hall

02 / Disputed total

Hold the extra charge

A different invoice shows $264 against the $240 order. Show the $24 difference to the accounts reviewer.

Needs review

Illustration of an open field

03 / Repeat submission

Find the earlier record

Submit the first invoice again with the same supplier and invoice number. Link the repeat submission to the existing draft.

One draft eligible for payment

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

Materials and image grid

Place product specifications beside a sticky image grid.

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

Image and key specifications

Pair a large image with a heading and key measurements.

Mountain ridge beyond a lake

gnostic AI · Sample invoice intake pilot

What goes into the test queue?

Use one purchase order and three sample submissions to check the rule before it handles live invoices.

Purchase order total
$240
Use this amount as the reference for both invoice totals.
Invoice submissions
3
A matching invoice, a disputed invoice, and a second copy of the matching invoice.
bunx --bun shadcn@latest add @gnostic/features-specification-split

Image steps

gnostic AI · Support routing

Test a ticket routing rule

Use three sample tickets to check who receives a billing question, a setup request, and a message that asks about both.

Mountain ridge beyond a lake
  1. 1

    Record the expected owners

    Ask the support lead to name the queue for each ticket. Mark the mixed request for human review.

  2. 2

    Run the three tickets

    Send each ticket through the rule in a test queue and record its assigned owner.

  3. 3

    Check the handoff

    Compare the assignments with the expected owners. Check that the reviewer receives the original mixed request.

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

Process cards

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

gnostic AI · Invoice intake

Check an invoice before approval

  1. Step 1

    Match the invoice

    Find the purchase order and compare its supplier and total with the invoice.

  2. Step 2

    Flag a difference

    If a total differs, send both amounts and the order number to the accounts reviewer.

  3. Step 3

    Catch a duplicate

    Submit the same invoice again. Check that the reviewer sees the existing record before a second payment can be approved.

bunx --bun shadcn@latest add @gnostic/features-process-cards
PropType
contentProcessCardsContent

Section content.

TypeProcessCardsContent
class?string

Classes added to the root.

Typestring

Icon feature grid

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

From the print room

What the workshop supplies

Open press

Reserve a press and bench for an afternoon.

Paper workshop

Compare the weight and texture of four print papers.

Edition proofing

Work with a printer to check the first impression.

bunx --bun shadcn@latest add @gnostic/features-icon-bento
PropType
contentIconBentoContent

Section content.

TypeIconBentoContent
class?string

Classes added to the root.

Typestring

Before and after

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

gnostic AI · Sample invoice intake pilot

What changes for the accounts reviewer?

Manual inbox

Pilot review queue

Find the purchase order and compare the totals by hand.
Open the draft with both totals and the difference shown.
Search old messages to see if the invoice was sent twice.
Review the existing record when the supplier and invoice number match.
bunx --bun shadcn@latest add @gnostic/features-before-after
PropType
contentBeforeAfterContent

Section content.

TypeBeforeAfterContent
class?string

Classes added to the root.

Typestring

Editorial process

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

gnostic AI · Reply review

Review an AI draft before you send it

Use a sample customer question to check the draft, its source, and the decision to send it.

  1. /01

    Read the request

    List each question the customer asked. Check that the draft answers all of them.

  2. /02

    Check the source

    Open the cited policy and compare its instructions with the steps in the reply.

  3. /03

    Record the decision

    Approve the draft or return it with the sentence that needs correction and the source that explains why.

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

See serif accent font setup when installing this section.

Illustrated timeline

gnostic AI · Pilot handoff

Hand a tested workflow to its owner

Give the support lead the rule, its test tickets, and a way to take over if a request goes to the wrong queue.

Handoff checklist

Keep the original test cases

Run the same tickets after each rule change and compare the results with the recorded owners.

The support lead signs off after the handoff test.

  1. Write down the rule

    Record which details select a queue and who owns requests with missing details.

    Mountain ridge beyond a lake
  2. Repeat the pilot test

    Have the incoming owner run the saved tickets and explain each assignment.

    An illustrated entrance hall
  3. Practice manual routing

    Pause the rule in the test queue. Check that the owner can find and assign each waiting request.

    Illustration of an open field
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 for a deeper explanation and 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

PropType
image-{value}?Astro content

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.

TypeAstro content
DefaultImage from tab.image

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

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

features-sticky-arc

PropType
image?Astro content

Places fixed media behind the scrolling cards.

TypeAstro content
feature-{index}?Astro content

Replaces one card. Count from zero in the features array. Use feature-0 for the first card.

TypeAstro content
DefaultIcon, title, and description from the feature

features-process-cards

PropType
visual?Astro content or slot function

Places content above each step title. A slot function receives the zero-based index in content.steps.

TypeAstro content or slot function

features-grid

PropType
card1-cta?Astro content

Replaces the first card button.

TypeAstro content
DefaultLink from card1.buttonLink and card1.buttonText
card2-cta?Astro content

Replaces the second card button.

TypeAstro content
DefaultLink from card2.buttonLink and card2.buttonText
card3-cta?Astro content

Replaces the third card button when card3 is present.

TypeAstro content
DefaultLink from card3.buttonLink and card3.buttonText

list-icons-with-image

PropType
cta?Astro content

Places an action below the introduction and above the list.

TypeAstro content