Town
Alkmaar
The studio city.
Delft
The grid city.
Presents one list entry. Title and description sit left; metadata sits right.
Alkmaar
The studio city.
Delft
The grid city.
Alkmaar
The studio city.
Delft
The grid city.
Three ways in. They share one source, so the pixels match whichever you pick.
npm install @noorddev/vlak-react
// once, next to your app's root
import "@noorddev/vlak-react/css";
import { Item } from "@noorddev/vlak-react";Precompiled React and one stylesheet. No compiler to configure. Per-component imports work too: @noorddev/vlak-react/components/item.
npx @noorddev/vlak-cli add item
The StyleX leaf lands in components/vlak/, for your own compiler to own. See StyleX.
npx shadcn add https://vlak.dev/r/item.json
The same registry item, installed by shadcn's CLI.
<link rel="stylesheet" href="node_modules/@noorddev/vlak/css/vlak.css" />
No React. Link vlak.css and use the markup and classes below.
import { Item } from "@noorddev/vlak-react";
<Item title="Alkmaar" description="The studio city." meta="NL" />A flush row. Title occupies the cell; meta trails.
| Prop | Type | Default | Description |
|---|---|---|---|
titlerequired | ReactNode | ||
description | ReactNode | ||
meta | ReactNode |
Also accepts Omit<HTMLAttributes<HTMLDivElement>, "title">.
<div class="rs-item"><div><p class="rs-item-title">Alkmaar</p><p class="rs-item-desc">The studio city.</p></div><span class="rs-item-meta">NL</span></div>