Dia Kit

Shared pieces: palette root, serif headings, ink pill buttons, half-sun mark, drifting sunrise glow, browser window frame and mono eyebrows.

Blocks
diakit
Dia kit

Soft serif

WindowFrame

Any content goes inside the window frame.

Usage

Drop the file into your project and import it. There is no package to install.

usage.tsx
import { DiaRoot, DiaHeading, Lines, DiaButton, DiaMark, Sunrise, WindowFrame, Eyebrow } from "@/registry/blocks/dia-kit";

export function Example() {
  return <DiaRoot />;
}

Install prerequisites

Every component here relies only on Tailwind and the cn helper from shadcn/ui.

terminal
npm i clsx tailwind-merge

More in Blocks