pro-ui

Introduction

AI-native React UI library — ProTable, ProForm, Layout, and 30+ accessible components.

@dangbt/pro-ui is a React component library built on React Aria Components and Tailwind CSS v4.

It ships with a built-in MCP server (mcp-pro-ui) — so Claude Code, Cursor, and Windsurf know your exact component API and generate correct code on the first try.

Key features

  • ProTable — server-side data table with search, sort, pagination, row selection, bulk actions, and column visibility in one component
  • ProForm — schema-driven forms with Zod validation
  • Layout — sidebar or horizontal top navigation with 3 variants and two-level sub-navigation
  • 30+ components — Button, Modal, Drawer, Tabs, Badge, Alert, Statistic, Steps, Toast, Avatar, and more
  • MCP Servermcp-pro-ui gives AI coding assistants the exact component API
  • CLIcreate-pro-ui-app scaffolds a complete project in 30 seconds
  • Dark/Light/System theme — zero config, CSS semantic tokens

Installation

npm install @dangbt/pro-ui

Add styles to your CSS entry point:

@import "tailwindcss";
@import "@dangbt/pro-ui/styles";

Quick example

import { Button, Modal, ProTable } from '@dangbt/pro-ui'

Quick start guide

AI-native setup (MCP)

Configure Claude Code, Cursor, or Windsurf to know every component API:

{
  "mcpServers": {
    "pro-ui": {
      "command": "npx",
      "args": ["mcp-pro-ui"]
    }
  }
}

Full MCP setup guide

On this page