Skip to content
notchset
Get Pro

Installation

Every component and block is a source file the shadcn CLI copies into your project, with the foundation's CSS merged into your global stylesheet. You own the files and can change them. The theme is optional: see Theming.

Compatibility

Notchset needs React 18.3 or 19, Tailwind CSS v4, the shadcn CLI, and bundler or ESM module resolution ("moduleResolution": "bundler", the Next.js and Vite default). What is supported, and what CI checks before every release:

StylingTailwind CSS v4. The components are written in its utilities, and the CLI merges the foundation's CSS into your global stylesheet. Tailwind CSS v3, a Tailwind prefix set in components.json, and apps without Tailwind are not supported.
Tested on every releaseEvery item is installed, typechecked under the app's strict settings, built, and rendered at 390px and 1440px in light and dark with no console errors, in Next.js (React 19, pnpm), Next.js (React 19, npm), Vite (React 19, pnpm) and Vite (React 18.3, pnpm).
React18.3 or 19; CI runs React 18.3 and React 19. The inputs and buttons forward a ref to their element on both.
FrameworksNext.js and Vite. Next.js means the App Router.
shadcn stylesOne set of files for every components.json style, Base UI or Radix: the components are built on React and the foundation, and the few that need a primitive (menus, popovers, dialogs) bring Base UI with them.
shadcn CLI and package managersnpx shadcn@latest init once, then add. CI pins shadcn 4.21.4 and installs with pnpm and npm.
TypeScriptFiles ship as TypeScript (.tsx) and typecheck under strict, noUnusedLocals and the ES2022 library a new Vite app uses.
Server Components and "use client"Files that need the browser start with "use client", so you can import them from Server Components.
Colours and dark modeComponents read your shadcn tokens (--primary, --background …), so your palette carries through; the optional theme adds the system's own. Dark mode follows the .dark class or data-theme="dark".
Reduced motionFollows prefers-reduced-motion; data-motion="reduced" on the root asks for less on any device.
BrowsersChrome and Edge 111+, Safari 16.4+, Firefox 121+ (color-mix(), :has()).

Setups outside these lists may work, but aren't claimed.

Install

Starting a new project? One command

In a new app, this sets up shadcn with Notchset's theme, fonts and foundation, and writes both registries into components.json. It covers steps 1 and 2 below, so go straight to installing components.

A new project
npx shadcn@latest init https://notchset.dev/r/base.json

Adding Notchset to an app that already uses shadcn? Follow the steps; nothing in your theme is replaced.

1. Set up shadcn

If your app has no components.json, run npx shadcn@latest init. It writes the file and names your global stylesheet, where the CLI merges Notchset's CSS. In the tested frameworks that is:

  • Next.js: app/globals.css
  • Vite: src/index.css

2. Add the registries

Add both registries to components.json. The Pro one only works with a key, but adding it now means you never have to touch this file again. With them, @notchset/<name> and @notchset-pro/<name> install with their dependencies.

components.json
{
  "registries": {
    "@notchset": "https://notchset.dev/r/{style}/{name}.json",
    "@notchset-pro": {
      "url": "https://notchset.dev/r/pro/{style}/{name}.json",
      "headers": { "Authorization": "Bearer ${NOTCHSET_TOKEN}" }
    }
  }
}

3. Install a component

With the registries
npx shadcn@latest add @notchset/button @notchset-pro/deal-card

Free components also install by URL with no setup:

Free, by URL
npx shadcn@latest add https://notchset.dev/r/button.json https://notchset.dev/r/text-field.json

Pro items need your key in NOTCHSET_TOKEN (see Pro setup). Every style in components.json gets the same files, Base UI or Radix.

Components land in components/ui/notchset/ and blocks in components/ui/notchset/blocks/ as source you own, with shared helpers in lib/notchset/. The first one also adds the foundation (its roles, keyframes and motion switch) to your global stylesheet. Installing components doesn't change your shadcn tokens.

4. Use it

app/page.tsx
import { Button } from "@/components/ui/notchset/button";

export default function Page() {
  return <Button>Create workspace</Button>;
}

Updating

Commit your changes, then run the install again with --overwrite. It writes the component files and the foundation's CSS again, so keep your overrides in your own CSS. See Updating.

Uninstalling

The shadcn CLI copies files and has no remove step, so take them out yourself:

  1. Delete the components from components/ui/notchset/ and, once none are left, lib/notchset/.
  2. Delete what the CLI merged into your global stylesheet: the @keyframes ns-…, the --ns-… roles, and the rules on [data-motion] and [data-ns-…]. If you added the Notchset theme, restore your tokens from git.
  3. Remove npm packages nothing else imports (each item's page lists its packages).
  4. Remove the @notchset and @notchset-pro registries from components.json.

Troubleshooting

What you seeWhat to do
Components render unstyledtailwind.css in components.json names the stylesheet your root layout imports, and the app is on Tailwind v4.
next build fails with “unstable value new Date() in a Client Component” (Next 16 with cacheComponents, the default of a new app)A Calendar drawn on the page itself shows today, so it reads the clock while it renders: pass it today or wrap it in <Suspense>. Date picker and Date range picker read today after they mount and build as they are.
The build fails in PostCSS right after an installThe app is on Tailwind CSS v3. Notchset needs v4; undo the change to your global stylesheet (git) and upgrade Tailwind first.
Cannot find module @/components/…Set the @/ alias in tsconfig.json paths and in your bundler; the CLI writes imports with the aliases in components.json.
A Pro install answers 401 or 403Put your key in NOTCHSET_TOKEN in .env.local; see Pro setup.
Dark mode doesn't switchSet the dark class (next-themes: attribute="class") or data-theme="dark" on an ancestor.
ERR_REQUIRE_ESM or a missing export from a dependencySome dependencies are ESM-only. Use "moduleResolution": "bundler" (or nodenext) and an ESM build.
Nothing animatesYour system asks for reduced motion, or the root has data-motion="reduced". Both are deliberate; see Motion.

Phones and overlays

Components are responsive and are tested at 390px. Menus, popovers and dialogs portal to document.body, so they read the tokens set on :root (or .dark on html).

Next

Tested with shadcn CLI 4.21.4.