Product KPI section with title, description, period selector, actions, and a body slot for metric cards.
KPISection is the product header pattern over a row of MetricCard items. Pair with StatGrid for the body.
Compose with StatGrid + MetricCard for the body.
Last 7 days
<KPISection
actions={<Button size="sm">Export</Button>}
description="Last 7 days"
title="Activity"
>
<StatGrid columns={3}>
<MetricCard label="Active" value="128" />
<MetricCard label="Pending" value="42" />
<MetricCard label="Failed" value="3" />
</StatGrid>
</KPISection>import { KPISection } from "@froggdesign/enter-ui-react";KPISection renders as <section> with an <h2> title. Avoid stacking multiple KPISections without distinct headings — they share the page heading scale.
title, description: heading slots.period: optional period selector or filter.actions: trailing actions.Every exported component accepts className. EnterUI styles use .eui-* classes and --eui-* variables mapped from FroggDesign theme tokens.