SunUI
Founding$79 lifetime updates till Jan 11Claim a seat

Installation

SunUI works in any React project with Tailwind CSS v4, including Next.js, Vite and Remix. The shadcn CLI installs a block in one command; you can also add blocks by hand without shadcn.

1. Set up shadcn

If your project does not have a components.json yet, initialize shadcn. It adds the theme tokens and the cn helper that SunUI blocks use.

$ npx shadcn@latest init

2. Add a block

Every block page shows its install command. For example:

$ npx shadcn@latest add https://sunui.synvize.com/r/countdown-banner.json

The CLI copies the source into components/ and installs framer-motion if needed.

3. Optional: use the @sunui namespace

Register the free registry once, then install blocks by name.

components.json
{
  "registries": {
    "@sunui": "https://sunui.synvize.com/r/{name}.json"
  }
}
$ npx shadcn@latest add @sunui/countdown-banner

Install without shadcn

Using Tailwind CSS v4 without shadcn/ui, or prefer copy and paste? Do these three steps once, then copy the source from any free block page.

1. Install the dependencies.

$ npm install framer-motion clsx tailwind-merge

2. Add a cn helper at lib/utils.ts.

lib/utils.ts
import { clsx, type ClassValue } from "clsx";
import { twMerge } from "tailwind-merge";

export function cn(...inputs: ClassValue[]) {
  return twMerge(clsx(inputs));
}

3. Add the theme variables. Blocks use colour tokens such as bg-card and text-muted-foreground; without them they render with no surfaces and no text colour. Download sunui-theme.css, save it next to your global CSS and import it after Tailwind.

app/globals.css
@import "tailwindcss";
@import "./sunui-theme.css";

Skip step 3 if you already ran npx shadcn init: your project has these variables. The file sets common names such as --primary and --border on :root, so check they do not clash with your own. For your brand colour on selected states and results, set --sunui-spot and --sunui-spot-foreground.

Installation | SunUI