Folio Kit

The shared kit behind Folio: palette root, mono labels, square buttons, copy command, crop marks, pixel bars and dither art.

Blocks
foliokitdither

Folio kit

npx shadcn add shinui/folio-kit

Usage

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

usage.tsx
import { FolioRoot, FolioLabel, FolioRule, FolioBrackets, FolioMark, ArrowUpRight, SparkGlyph, FolioButton, FolioLink, FolioCommand, FolioAnnouncement, PixelBars, DitherField, FolioFigure, FolioSectionHead } from "@/registry/blocks/folio-kit";

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

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