Operations · Page template

Datagrid

DataGrid with pinned filters, bulk actions, and a slide-out detail drawer.

app.example.com/customers
What it is

When to reach for it.

The workhorse of B2B applications. A filterable, sortable, bulk-selectable table of records with a side drawer that opens on row click. Pinned filter chips at the top, bulk-action bar that appears when rows are selected. Pagination at 10/25/50/100 per page, configurable per user.

  • Building any 'records of X' page — customers, orders, tickets, properties, etc.
  • Replacing a paginated table that has outgrown its hand-rolled controls.
  • Anywhere you need bulk operations alongside individual row drill-in.
Structure

What's in the template.

Each section pre-wired with the right CleenUI primitives. Swap, remove, or extend any of them — the template is a starting point, not a constraint.

  1. 1

    Page header

    Title, New-record CTA on right.

    HeadingButton
  2. 2

    Filter strip

    Pinned filters as chips; 'More filters' opens the drawer.

    FilterChipFilterDrawer
  3. 3

    DataGrid

    Sortable columns, sticky header, 10/25/50/100 pagination.

    DataGridWithFilters
  4. 4

    Bulk-action bar

    Slides in from top when rows are selected.

    ToolbarButton
  5. 5

    Detail drawer

    Right slide-out on row click; shows full record.

    Drawer
Components used

Everything this template touches.

All of these are in the catalog — the Builder skill imports them automatically. Each chip links to that component's page.

DataGridWithFiltersFilterChipFilterDrawerDrawerToolbarButtonHeading
What you customize

Substitutions.

When the Builder skill scaffolds this template for you, these are the fields it asks about — or infers from your prompt.

FieldExampleWhere it appears
entityNameCustomersPage title and new-record CTA label
columnsName, Email, Plan, CreatedDataGrid column definitions
rowActionOpen detail drawerWhat happens on row click
⚡ Already in an AI editor?

Set up CleenUI in your tool.

Ask your AI agent to scaffold this template in your project — the Builder skill knows the Datagrid layout and the components it uses.

Get started

Get started with CleenUI.

Two paths to your first component. Pick the one that fits how your team builds.

Path A · Recommended

With AI agent skills

One prompt to your AI tool. The Setup skill handles dependencies, design tokens, build config, and component registration — all without leaving your editor.

Path B · Manual

With npm

The classic flow. Install the package, import the styles, drop in your first component. No agents required — same end result.