Skip to content
Dumb UI

Search Dumb UI

Jump to a page or component, or switch the style

Search Dumb UI

Jump to a page or component, or switch the style

Installation

Dumb UI installs through the shadcn CLI. You own the code that lands in your project.

  • React 19 and Tailwind CSS v4.
  • A shadcn/ui project. Starting fresh? Run npx shadcn@latest init first.

Register the @dumb namespace in components.json:

components.json
{
  "$schema": "https://ui.shadcn.com/schema.json",
  "style": "new-york",
  "tailwind": { "css": "app/globals.css", "cssVariables": true },
  "aliases": { "components": "@/components", "ui": "@/components/ui", "lib": "@/lib", "utils": "@/lib/utils" },
  "registries": {
    "@dumb": "https://ui.1619.in/r/{name}.json"
  }
}

Each component depends on @dumb/dumb-ui, which merges the three style token sets and the material layer into your global CSS the first time.

$ pnpm dlx shadcn@latest add @dumb/button @dumb/dialog

Or install every component at once:

$ pnpm dlx shadcn@latest add @dumb/all

Set data-style on <html> (or any element) to raw, silk, volume or vector. Dark mode uses the shadcn convention: a dark class on an ancestor. Without an attribute, Raw is the default.

Each style names its fonts through CSS variables with system fallbacks. Load the ones you use, for example with next/font:

app/layout.tsx
// app/layout.tsx
import { Archivo, Bricolage_Grotesque, Geist, Geist_Mono, Martian_Mono, Onest } from "next/font/google"

const archivo = Archivo({ subsets: ["latin"], axes: ["wdth"], variable: "--font-archivo" })
const martian = Martian_Mono({ subsets: ["latin"], variable: "--font-martian" })
const geist = Geist({ subsets: ["latin"], variable: "--font-geist" })
const geistMono = Geist_Mono({ subsets: ["latin"], variable: "--font-geist-mono" })
const onest = Onest({ subsets: ["latin"], variable: "--font-onest" })
const bricolage = Bricolage_Grotesque({ subsets: ["latin"], variable: "--font-bricolage" })

export default function RootLayout({ children }: { children: React.ReactNode }) {
  return (
    <html
      lang="en"
      data-style="vector"
      className={[archivo, martian, geist, geistMono, onest, bricolage].map((f) => f.variable).join(" ")}
    >
      <body>{children}</body>
    </html>
  )
}

Every item is also addressable by URL:

$ pnpm dlx shadcn@latest add https://ui.1619.in/r/button.json