Hold
Press paused
Ink density drifted on the 184. Recheck the sheet.
Plate locked
Issue 03 is on the cylinder. No more changes.
Calls attention to contextual information. 1px frame and icon; critical variant fills with ink.
Your workspace syncs every hour.
Ink density drifted on the 184. Recheck the sheet.
Issue 03 is on the cylinder. No more changes.
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 { Alert } from "@noorddev/vlak-react";Precompiled React and one stylesheet. No compiler to configure. Per-component imports work too: @noorddev/vlak-react/components/alert.
npx @noorddev/vlak-cli add alert
The StyleX leaf lands in components/vlak/, for your own compiler to own. See StyleX.
npx shadcn add https://vlak.dev/r/alert.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 { Alert } from "@noorddev/vlak-react";
<Alert title="Heads up">Your workspace syncs every hour.</Alert>
<Alert variant="solid" title="Payment failed" live="assertive">Update your card to keep publishing.</Alert>| Prop | Type | Default | Description |
|---|---|---|---|
title | ReactNode | ||
variant | "outline" | "solid" | "outline" | Solid ink variant. |
icon | ReactNode | ||
live | "polite" | "assertive" | Static content is a note. Set "polite" (role=status) or "assertive" (role=alert) only when the alert appears in response to something. |
Also accepts Omit<HTMLAttributes<HTMLDivElement>, "title">.
<div class="rs-alert" role="status"><div><span class="rs-alert-title">Heads up</span><p class="rs-alert-body">Your workspace syncs every hour.</p></div></div>