data display
data list
labels and values, for describing one thing in detail.
installation
new to blurrow? this sets up your project in one go: the package, the styles and the font. already done it? skip straight to usage. the installation page has the details.
bash
npx @blurrow/ui init›rather own the code? copy the source instead
let the cli copy it, along with anything it needs:
bash
npx @blurrow/ui add data-listor by hand: drop this file into components/ui and import from there.
usage
tsx
import { DataList } from "@blurrow/ui";tsx
<DataList items={[{ label: "author", value: "ada" }]} />examples
two columns
props
straight from the source, so they're always up to date.
propsts
interface DataListItem { label: string; value: React.ReactNode;}
interface DataListProps { items: DataListItem[]; columns?: 1 | 2; className?: string;}