Widget

The tile a dashboard is made of

A widget is a titled tile: a heading, an optional count, and whatever the tile is about. Rows and groups fill it with a list, the grid packs a set of them into a board, and the translucent surface lets a page’s background through without losing the text.

A board

The grid packs tiles of different heights into columns with no holes beside the tall ones, and folds to one column as it narrows. Every figure here is made up.

Working now1

Reconciling September’s books212 of 340 transactions matched2m 13s

Revenue

$189kLast 14 days+12% on the fortnight before

Approvals4

Travel expenses, Q3 offsiteDana WhitfieldDue today
Renewal terms for Harbor & VineLeo CastellanosNew
Laptops for the new hiresPurchase orderApproved
Payment to Atlas FreightBank transferFailed

This month

Revenue$412,300
Gross margin61%
New customers18

Rows

A row is a leading mark, a title over a description, and a trailing fact. It is a link with an href, a button with a click handler, and a plain line otherwise, so a list only offers a target where there is somewhere to go.

Recent accounts

Invoices3

Northwind TradingDue Oct 14$12,400
Juniper Health12 days late$8,950
Oakline RetailDue Oct 28$21,700
tsx
// From the npm package
import { Widget } from 'rift-ds/components/Widget/Widget';

// Or as source you own, via the shadcn CLI
npx shadcn@latest add https://rift-ds.com/r/widget.json