niceui

Free & open source / 296 components & templates / 18 on the way

Interfaces,
nicely made.

The free library for AI agent interfaces, plus premium React & Tailwind components, blocks and templates. Preview, copy, or install with the shadcn CLI. No account. No paywall.

Browse library

AI agent UI · 76 components

Every interface an AI agent needs.

Chat and composers, reasoning, tool calls and approvals, browser and research agents, traces, workflows, memory and voice. Live, interactive and free.

MCP · for AI agents

Connect your agent.

Give Claude Code, Cursor, VS Code or Codex direct access to NiceUI through the shadcn MCP server. Ask for a component in plain English — your agent finds it, installs it and wires it up.

01

Add the registry

In components.json:

{
  "registries": {
    "@niceui": "https://niceui.dev/r/{name}.json"
  }
}
02

Connect your client

Run in your project

claude mcp add shadcn -- npx shadcn@latest mcp
03

Just ask

No MCP? Point any assistant at niceui.dev/llms.txt.

Library

The whole library

287 more live components, AI agent interfaces, blocks, landing pages and dashboards — open any of them.

On the roadmap

18 more in the works. Shipping weekly.

Dropdown MenuOverlaysSoon
TextareaFormsSoon
PaginationNavigationSoon
CalendarFormsSoon
Spotlight CardCardsSoon
Kanban BoardData displaySoon
Navbar — FloatingNavigationSoon
Feature GridFeaturesSoon
Bento GridFeaturesSoon
TestimonialsSocial proofSoon
Logo CloudSocial proofSoon
FAQContentSoon
CTA — HorizonMarketingSoon
Footer — MinimalNavigationSoon
HorizonSaaS landing pageSoon
ConsoleAdmin dashboardSoon
RelayAI chat appSoon
FolioPortfolioSoon

Questions, answered

What is NiceUI?

NiceUI is a free, open-source library of premium React and Tailwind CSS components, blocks and templates. Every item is copy-paste code that lives in your own project, styled in a minimal black and sky-blue aesthetic.

Is NiceUI really free?

Yes. Every component, block and template is free under the MIT license, including for commercial projects. There is no Pro tier, no credits and no account required.

How do I install a NiceUI component?

Run the shadcn CLI with the component's registry URL, for example: npx shadcn@latest add https://niceui.dev/r/button.json. You can also copy the code from any component page into components/ui in your project.

Does NiceUI work with shadcn/ui and Next.js?

Yes. NiceUI follows the shadcn registry format and works with React 18+, Next.js, Vite and Remix, styled with Tailwind CSS v3 or v4. Components have no runtime dependencies beyond React.

Is NiceUI an alternative to 21st.dev or shadcn/ui?

NiceUI uses the same open copy-paste model as shadcn/ui and community libraries like 21st.dev, with a focus on a small set of carefully designed pieces. Everything is free, MIT licensed and requires no sign-up.

Can AI coding assistants use NiceUI?

Yes. NiceUI publishes llms.txt and llms-full.txt, a Markdown version of every component page, and a Copy prompt button that hands the full source to tools like Claude, Cursor or v0.