Installation

Neumorphism UI is a shadcn Registry built with Base UI primitives. It copies component source and CSS tokens into your project. React, Tailwind CSS, and the shadcn CLI are required.

1. Initialize shadcn

If your project does not have components.json, initialize shadcn first.

Initialize shadcnnpx shadcn@latest init

2. Connect the Registry

Register the namespace and the current Registry URL with the CLI.

Register the Registrynpx shadcn@latest registry add @neumorphism-ui=https://neumorphism-ui.dev/r/{name}.json
Add it to components.json manually

The namespace is @neumorphism-ui, and the URL template is https://neumorphism-ui.dev/r/{name}.json.

components.json Registry configuration
{
  "registries": {
    "@neumorphism-ui": "https://neumorphism-ui.dev/r/{name}.json"
  }
}

3. Add a component

Install the shared base once. Adding components afterward does not reinstall your selected theme.

Installation: neumorphism-uinpx shadcn@latest add @neumorphism-ui/neumorphism-ui

After installing the base, import the font CSS once in app/layout.tsx (Next.js) or src/main.tsx (Vite). Your bundler serves the font assets with your application.

Pretendardimport "pretendard/dist/web/variable/pretendardvariable.css";
Install the Sage stylenpx shadcn@latest add @neumorphism-ui/button --overwrite

Use --overwrite only to replace the initially scaffolded button. Commit and review an existing customized button before replacing it.

4. Apply a theme

A style item overrides palette, shadow, and radius tokens without changing component source. Use a dry run to review changes before installation.

Dry run

Dry-run the Sage stylenpx shadcn@latest add @neumorphism-ui/style-sage --dry-run

Install

Install the Sage stylenpx shadcn@latest add @neumorphism-ui/style-sage

Review other presets and detailed tokens in Theme Studio.