EEnterUI
DocsComponentsThemesDonation
Get Started
      • StatGrid
      • KPISection
      • UsageMeter
      • PlanUsage
      • FileList
EnterUIDocsProduct OperationsProduct SurfacesUsage and FilesStatGrid
Product OperationsUpdated 6 May 2026

StatGrid

Responsive grid that lays out 2/3/4 metric cards or stat blocks with consistent gaps.

StatGrid is a thin grid wrapper for placing repeated stat surfaces (MetricCard, ChartCard, custom panels). Columns collapse responsively at narrower widths.

#Default usage

3-column stats

Pass columns to choose 2, 3, or 4 columns at desktop sizes.

Active
128
Pending
42
Failed
3
Code
<StatGrid columns={3}>
  <MetricCard label="Active" value="128" />
  <MetricCard label="Pending" value="42" />
  <MetricCard label="Failed" value="3" />
</StatGrid>

#Import

Code
import { StatGrid } from "@froggdesign/enter-ui-react";

#Accessibility

StatGrid is a layout primitive — it adds no roles. The contained metric/stat components own their own semantics.

#API

  • columns: 2, 3, or 4 at desktop widths. Collapses to 2 columns under 900px and to 1 under 540px.
  • loading: marks the grid with data-loading="true" for consumer-styled loading states.

#Styling

Every exported component accepts className. EnterUI styles use .eui-* classes and --eui-* variables mapped from FroggDesign theme tokens.

PreviousSkeletonForm
NextKPISection

On this page

  1. Default usage
  2. Import
  3. Accessibility
  4. API
  5. Styling