4
Sponsor

Grid Stats

grid stats treatments with their real layout variants

Installation

$ pnpm dlx shadcn@latest add @emailcn/grid-stats

Usage

import { GridStats } from "@/components/emails/marketing/stats/grid-stats";
 
<GridStats variant="accent-column" layout="bento" />;

Examples

Simple

Outlined — 3 columns

Outlined — Bento

Outlined — Bento reversed

Bordered — 3 columns

Bordered — Bento

Bordered — Bento reversed

Boxed — 3 columns

Boxed — Bento

Boxed — Bento reversed

Accent column — 3 columns

Accent column — Bento

Accent column — Bento reversed

API Reference

PropTypeDefaultDescription
variant"simple" | "outlined" | "bordered" | "boxed" | "accent-column""boxed"visual treatment
layout"three-columns" | "bento" | "bento-reversed""three-columns"Layout used by styled treatments
themeTailwindConfigdefaultThemeEmail theme styling