FeatureGrid

A grid of features or benefits, each with an icon, a title and a short description.

Status: beta. Category: Blocks.

import { FeatureGrid } from '@glyphui/blocks'

Exports: FeatureGrid, featureGridStyles.

FeatureGrid props

PropTypeDefaultDescription
features (required)readonly Feature[]
align"center" | "left"left
animatebooleantrueEntrance animations as the block scrolls into view. They follow the theme's motion level and the visitor's reduced-motion setting; false turns them off for this block. Default true.
columns2 | 3 | 43
descriptionReactNode
eyebrowReactNode
headingLevelHeadingLevel2
titleReactNode
variant"cards" | "plain"cardscards (default) puts each feature on a card; plain lists them without surfaces.

Example: Cards

Give a feature an href and its whole card becomes a link.

import { FeatureGrid } from '@glyphui/blocks'
import { BarChart3, Lock, RefreshCw } from 'lucide-react'

export default function Example() {
  return (
    <FeatureGrid
      eyebrow="Why Ledgerline"
      title="Billing that keeps up with your product"
      description="Price by seats, usage or both. Change plans without touching code."
      features={[
        {
          icon: <RefreshCw />,
          title: 'Automatic retries',
          description: 'Failed payments retry on a smart schedule and email the right person.',
          href: '#retries',
        },
        {
          icon: <BarChart3 />,
          title: 'Revenue reports',
          description: 'MRR, churn and expansion, reconciled with your bank every night.',
          href: '#reports',
        },
        {
          icon: <Lock />,
          title: 'SOC 2 Type II',
          description: 'Audited controls, SSO and audit logs on every plan.',
          href: '#security',
        },
      ]}
    />
  )
}

Example: Plain, four columns

import { FeatureGrid } from '@glyphui/blocks'
import { Gauge, Globe, Plug, Shield } from 'lucide-react'

export default function Example() {
  return (
    <FeatureGrid
      variant="plain"
      columns={4}
      features={[
        {
          icon: <Gauge />,
          title: 'Fast',
          description: 'Edge-cached pages load in under 100 ms worldwide.',
        },
        {
          icon: <Shield />,
          title: 'Secure',
          description: 'Encryption at rest and in transit, by default.',
        },
        { icon: <Plug />, title: 'Connected', description: 'Webhooks and 40 native integrations.' },
        { icon: <Globe />, title: 'Global', description: 'Data residency in the EU, US and APAC.' },
      ]}
    />
  )
}

Live page: https://glyphui.xyz/components/feature-grid