Features Blocks for Astro
Astro feature sections with icons, media, and grouped explanations.
Icon grid
Pair each feature explanation with a small icon.
bunx --bun shadcn@latest add @gnostic/features-1npx shadcn@latest add @gnostic/features-1pnpm dlx shadcn@latest add @gnostic/features-1Gallery showreel
Pair a scrollable image gallery with an optional video disclosure.
bunx --bun shadcn@latest add @gnostic/features-gallery-showreelnpx shadcn@latest add @gnostic/features-gallery-showreelpnpm dlx shadcn@latest add @gnostic/features-gallery-showreelCards
Use cards to separate each feature and its supporting detail.
bunx --bun shadcn@latest add @gnostic/features-2npx shadcn@latest add @gnostic/features-2pnpm dlx shadcn@latest add @gnostic/features-2Bento 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.
bunx --bun shadcn@latest add @gnostic/bento-featuresnpx shadcn@latest add @gnostic/bento-featurespnpm dlx shadcn@latest add @gnostic/bento-featuresMedia cards
Give each feature a media area beside its explanation.
bunx --bun shadcn@latest add @gnostic/features-3npx shadcn@latest add @gnostic/features-3pnpm dlx shadcn@latest add @gnostic/features-3Horizontal 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-scrollnpx shadcn@latest add @gnostic/features-horizontal-scrollpnpm dlx shadcn@latest add @gnostic/features-horizontal-scrollPass 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
eyebrow?string
Short label above the heading.
stringtitlestring
Section heading.
stringdescription?string
Text below the section heading.
stringfeaturesHorizontalScrollFeature[]
Feature or service cards in display order.
HorizontalScrollFeature[]enabled?HorizontalScrollProps['enabled']
Enable the scroll effect.
HorizontalScrollProps['enabled']truespeed?HorizontalScrollProps['speed']
Horizontal pixels moved per vertical scroll pixel.
HorizontalScrollProps['speed']1top?HorizontalScrollProps['top']
Space for a fixed header, in pixels.
HorizontalScrollProps['top']0minWidth?HorizontalScrollProps['minWidth']
Minimum browser width for the effect, in pixels.
HorizontalScrollProps['minWidth']768cardClass?string
Classes merged with each card, for example a different width.
stringclass?string
Classes added to the outer section.
stringHorizontalScrollFeature
titlestring
Card heading.
stringdescriptionstring
Text below the heading.
stringimage{
/** 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.
{
/** 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.
string[]button?{
/** Link text. */
label: string
/** Link destination. */
href: string
}
Optional card action.
{
/** Link text. */
label: string
/** Link destination. */
href: string
}Sticky sidebar
Keep the introduction visible beside the feature collection.
bunx --bun shadcn@latest add @gnostic/features-sticky-scrollnpx shadcn@latest add @gnostic/features-sticky-scrollpnpm dlx shadcn@latest add @gnostic/features-sticky-scrollArc 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.
bunx --bun shadcn@latest add @gnostic/features-sticky-arcnpx shadcn@latest add @gnostic/features-sticky-arcpnpm dlx shadcn@latest add @gnostic/features-sticky-arcFeaturesStickyArcProps
titlestring
Section heading.
stringdescriptionstring
Text under the heading.
stringbuttons?FeaturesStickyArcAction[]
Calls to action under the introduction.
FeaturesStickyArcAction[]featuresFeaturesStickyArcFeature[]
Cards in scroll order.
FeaturesStickyArcFeature[]arc?FeaturesStickyArcAmount
Circle radius and independent card tilt.
FeaturesStickyArcAmountclass?string
Extra classes on the outer `Section`.
stringFloating grid
Place the feature grid inside an inset section.
bunx --bun shadcn@latest add @gnostic/features-5npx shadcn@latest add @gnostic/features-5pnpm dlx shadcn@latest add @gnostic/features-5Text grid
Let headings and short descriptions carry the feature list.
bunx --bun shadcn@latest add @gnostic/features-6npx shadcn@latest add @gnostic/features-6pnpm dlx shadcn@latest add @gnostic/features-6Image Tabs
npx --bun shadcn@latest add @gnostic/image-tabspnpm dlx --bun shadcn@latest add @gnostic/image-tabsyarn dlx --bun shadcn@latest add @gnostic/image-tabsbunx --bun shadcn@latest add @gnostic/image-tabsnubx --bun shadcn@latest add @gnostic/image-tabsaube dlx --bun shadcn@latest add @gnostic/image-tabsEach 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.
bunx --bun shadcn@latest add @gnostic/image-tabsnpx shadcn@latest add @gnostic/image-tabspnpm dlx shadcn@latest add @gnostic/image-tabsProps
ImageTabsProps
tabsImageTab[]
Tab panels. Each title becomes the tab value.
ImageTab[]reverse?boolean
Put the text column after the image on wide layouts.
booleanfalseclass?string
Extra classes on the outer `Section`.
stringImageTab
titlestring
Tab label. Lowercased and hyphenated to form the tab `value` and the image slot name (`image-${value}`). Example: `Design` → `image-design`.
stringdescriptionstring
Lead paragraph for the selected panel.
stringitemsImageTabItem[]
Detail cards under the panel lead.
ImageTabItem[]imageImageTabImage
Fallback image when the matching named slot is empty.
ImageTabImageAlternating use cases
Alternate images and descriptions in a sequence of use cases.
bunx --bun shadcn@latest add @gnostic/features-alternating-medianpx shadcn@latest add @gnostic/features-alternating-mediapnpm dlx shadcn@latest add @gnostic/features-alternating-mediaMaterials and image grid
Place product specifications beside a sticky image grid.
bunx --bun shadcn@latest add @gnostic/features-material-gallerynpx shadcn@latest add @gnostic/features-material-gallerypnpm dlx shadcn@latest add @gnostic/features-material-galleryImage and key specifications
Pair a large image with a heading and key measurements.
bunx --bun shadcn@latest add @gnostic/features-specification-splitnpx shadcn@latest add @gnostic/features-specification-splitpnpm dlx shadcn@latest add @gnostic/features-specification-splitImage steps
bunx --bun shadcn@latest add @gnostic/features-image-stepsnpx shadcn@latest add @gnostic/features-image-stepspnpm dlx shadcn@latest add @gnostic/features-image-stepsProcess cards
Supply your own content. The section uses the selected project preset.
bunx --bun shadcn@latest add @gnostic/features-process-cardsnpx shadcn@latest add @gnostic/features-process-cardspnpm dlx shadcn@latest add @gnostic/features-process-cardscontentProcessCardsContent
Section content.
ProcessCardsContentclass?string
Classes added to the root.
stringIcon feature grid
Supply your own content. The section uses the selected project preset.
bunx --bun shadcn@latest add @gnostic/features-icon-bentonpx shadcn@latest add @gnostic/features-icon-bentopnpm dlx shadcn@latest add @gnostic/features-icon-bentocontentIconBentoContent
Section content.
IconBentoContentclass?string
Classes added to the root.
stringBefore and after
Supply your own content. The section uses the selected project preset.
bunx --bun shadcn@latest add @gnostic/features-before-afternpx shadcn@latest add @gnostic/features-before-afterpnpm dlx shadcn@latest add @gnostic/features-before-aftercontentBeforeAfterContent
Section content.
BeforeAfterContentclass?string
Classes added to the root.
stringEditorial process
Use this section for the process part of a studio site.
bunx --bun shadcn@latest add @gnostic/process-numbered-columnsnpx shadcn@latest add @gnostic/process-numbered-columnspnpm dlx shadcn@latest add @gnostic/process-numbered-columnsSee serif accent font setup when installing this section.
Illustrated timeline
bunx --bun shadcn@latest add @gnostic/features-illustrated-timelinenpx shadcn@latest add @gnostic/features-illustrated-timelinepnpm dlx shadcn@latest add @gnostic/features-illustrated-timelineChoose 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
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.
Astro contentImage from tab.imageFor 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
image?Astro content
Places fixed media behind the scrolling cards.
Astro contentfeature-{index}?Astro content
Replaces one card. Count from zero in the features array. Use feature-0 for the first card.
Astro contentIcon, title, and description from the featurefeatures-process-cards
visual?Astro content or slot function
Places content above each step title. A slot function receives the zero-based index in content.steps.
Astro content or slot functionfeatures-grid
card1-cta?Astro content
Replaces the first card button.
Astro contentLink from card1.buttonLink and card1.buttonTextcard2-cta?Astro content
Replaces the second card button.
Astro contentLink from card2.buttonLink and card2.buttonTextcard3-cta?Astro content
Replaces the third card button when card3 is present.
Astro contentLink from card3.buttonLink and card3.buttonTextlist-icons-with-image
cta?Astro content
Places an action below the introduction and above the list.
Astro content









