uiniverse

sections

FeatureGrid

Responsive grid of feature cards with staggered entrance animations.

v1.0.0react >=18next >=14tailwind >=4motion >=12
featuresgridcardsstaggersectionbenefits

Preview

Loading preview...

Props

PropTypeDefaultDescription
children*ReactNodeFeature card elements to render in the grid
columnsnumber3Number of columns on desktop
staggerStaggerName | numbernormalStagger delay between children. Accepts a token name or milliseconds.
gapstringgap-6Tailwind gap class applied to the grid
classNamestringAdditional Tailwind classes for the outer section
idstringHTML id attribute

Slots

SlotTypeRequiredDescription
childrenReactNodeYesFeature card elements. Each child is auto-wrapped in FadeUp with stagger delay.

Layout

Display: grid
Responsive: Yes

Responsive grid. 1 col on mobile, 2 on tablet, columns prop on desktop.

Examples

Basic 3-column grid

<FeatureGrid>
  <div className="rounded-xl bg-neutral-900 p-6">Feature 1</div>
  <div className="rounded-xl bg-neutral-900 p-6">Feature 2</div>
  <div className="rounded-xl bg-neutral-900 p-6">Feature 3</div>
</FeatureGrid>

2-column with custom stagger

<FeatureGrid columns={2} stagger="slow" gap="gap-8">
  <GlowCard>Analytics Dashboard</GlowCard>
  <GlowCard>Real-time Monitoring</GlowCard>
  <GlowCard>Custom Reports</GlowCard>
  <GlowCard>API Access</GlowCard>
</FeatureGrid>

4-column icon grid

<FeatureGrid columns={4} stagger={50}>
  {features.map((f) => (
    <div key={f.id} className="text-center">
      {f.icon}
      <h3>{f.title}</h3>
    </div>
  ))}
</FeatureGrid>

AI Usage Hint

Use FeatureGrid for displaying feature cards, benefits, or service offerings in a responsive grid. Pass cards as children — each is auto-wrapped in FadeUp with stagger delay. Use columns prop (2/3/4) to control layout.

Works Well With

FadeUpGlowCardTiltCardStaggerGroup