Case
A quieter interface
Emphasis from weight and spacing, never from a hue.
Groups related content as a label, title, and body. No outline.
Emphasis from weight and spacing, never from a hue.
Emphasis from weight and spacing, never from a hue.
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 { Card, CardBody, CardLabel, CardTitle } from "@noorddev/vlak-react";Precompiled React and one stylesheet. No compiler to configure. Per-component imports work too: @noorddev/vlak-react/components/card.
npx @noorddev/vlak-cli add card
The StyleX leaf lands in components/vlak/, for your own compiler to own. See StyleX.
npx shadcn add https://vlak.dev/r/card.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 { Card, CardBody, CardLabel, CardTitle } from "@noorddev/vlak-react";
<Card>
<CardLabel>Case study</CardLabel>
<CardTitle>A quieter interface</CardTitle>
<CardBody>Emphasis from weight and spacing, never from a hue.</CardBody>
</Card>Also accepts HTMLAttributes<HTMLDivElement>.
Also accepts HTMLAttributes<HTMLParagraphElement>.
Also accepts HTMLAttributes<HTMLDivElement>.
Also accepts HTMLAttributes<HTMLSpanElement>.
Also accepts HTMLAttributes<HTMLHeadingElement>.
<div class="rs-card"><span class="rs-card-label">Case study</span><h3 class="rs-card-title">A quieter interface</h3><p class="rs-card-body">Emphasis from weight and spacing, never from a hue.</p></div>