
plankui
io.github.VectorLabsHQ/plankui
Source, props and usage of every PlankUI React and Tailwind CSS v4 component.
Documentation
PlankUI
92 free React components and 21 ready-made blocks for Tailwind CSS v4. Choose Radix UI or Base UI and copy the components into your project. Shared CSS variables power six themes, five styles, and light and dark mode.
Website · Docs · Component playground · MCP setup
Quick start
Run these commands in a React 19 project with Tailwind CSS v4.
npx plankui@latest init
npx plankui@latest add button select dialog
init saves your choice of Radix UI or Base UI and adds the shared styles and class helper. add copies the component source and installs its dependencies. See the installation guide for Vite, Next.js, React Router, and manual setup.
Already on shadcn? Every free component is also a shadcn registry item. Use /r/shadcn/base/ for shadcn's base styles (the default) and /r/shadcn/ for new-york and the radix styles:
npx shadcn@latest add https://plankui.com/r/shadcn/base/button.json
PlankUI's colours arrive as plank-accent, plank-muted, plank-card and plank-ring, so your shadcn components keep their look. See With shadcn and v0.
Run npx plankui@latest list to browse the catalog from your terminal. Works the same with pnpm dlx, yarn dlx, bunx or deno run -A npm:; the CLI installs dependencies with the package manager your project uses.
Use PlankUI with an agent
The MCP server gives your agent component source, props, and usage examples. To connect it to Claude Code, run the following command.
claude mcp add plankui -- npx -y @plankui/mcp
For Cursor and other clients that use an mcpServers config, add the following entry.
{
"mcpServers": {
"plankui": { "command": "npx", "args": ["-y", "@plankui/mcp"] }
}
}
To teach any agent (Claude Code, Codex, Cursor, Copilot and others) how to use PlankUI, add the skill:
npx skills add VectorLabsHQ/plankui
In Claude Code, the plugin installs the skill and the MCP server together:
/plugin marketplace add VectorLabsHQ/plankui
/plugin install plankui@plankui
Try asking your agent to build a settings panel with PlankUI's Tabs, Switch, and Button. See the MCP guide for setup in Codex, VS Code, and other clients.
Repository layout
| Folder | Contents |
|---|---|
| components/ui | Free components, including the Radix UI implementations |
| components/base-ui | 27 dedicated Base UI implementations. The other components use shared source |
| styles and lib | Theme tokens, base styles, and the class helper |
| templates | Complete screens built from PlankUI components |
| cli | The plankui installer |
| icons | PlankUI Icons, the @plankui/icons package: React components and SVGs |
| mcp | The @plankui/mcp server and component registry |
| skills/plankui | The agent skill, also served as AGENTS.md |
Browse components
Select a component to see its live preview and usage examples. Run its CLI command from your project to add it.
Actions
| Component | Description | CLI command |
|---|---|---|
| Toolbar | Group related actions with a shared label and regular Tab navigation. | npx plankui@latest add toolbar |
| Icon button | A compact icon-only action with a required accessible label. | npx plankui@latest add icon-button |
| Button | A keycap with a real bottom edge. It lifts on hover and sinks when pressed. | npx plankui@latest add button |
| Segmented control | One choice from a short set. A raised pill slides to the chosen option. | npx plankui@latest add segmented |
| Dropdown menu | A menu of actions with shortcuts, checkable items and nested submenus. | npx plankui@latest add dropdown-menu |
| Toggle | A two-state button for formatting and view options. | npx plankui@latest add toggle |
| Toggle group | A set of toggles on one tray: one on at a time, or several. Arrow keys move between them. | npx plankui@latest add toggle-group |
| Command | A searchable, keyboard-driven list of actions. CommandDialog wraps it in a modal with a hotkey. | npx plankui@latest add command |
| Button group | Buttons fused into one row, for ranges and paired actions. | npx plankui@latest add button-group |
| Copy button | Copies a value and confirms with a check for a moment. | npx plankui@latest add copy-button |
| Theme toggle | Switch light and dark: a sliding switch, a three-way segmented control with system, or one icon button. | npx plankui@latest add theme-toggle |
Forms
| Component | Description | CLI command |
|---|---|---|
| Checkbox card | A whole card that toggles like a checkbox, for pick-any-number choices. | npx plankui@latest add checkbox-card |
| Fieldset | Group related form controls under a native legend. | npx plankui@latest add fieldset |
| Textarea counter | A multiline field that shows the character count and enforces a length limit. | npx plankui@latest add textarea-counter |
| Native select | A styled browser select that keeps the platform’s own picker and keyboard behavior. | npx plankui@latest add native-select |
| Input | A text field with optional leading and trailing slots. Pair it with Field for label, hint and error. | npx plankui@latest add input |
| Textarea | A multi-line field that shares the input's border, focus ring and error states. | npx plankui@latest add textarea |
| Select | A listbox for picking one value, with groups, labels and disabled options. | npx plankui@latest add select |
| Checkbox | A binary or indeterminate choice, for lists where many items can be on. | npx plankui@latest add checkbox |
| Radio group | One choice from a visible set. RadioCard wraps each option in a selectable panel. | npx plankui@latest add radio-group |
| Switch | An on and off setting that applies immediately. | npx plankui@latest add switch |
| Slider | Pick a value or a range by dragging. Pass two values for a range. | npx plankui@latest add slider |
| Label and Field | A form label, and Field: label, control and hint or error in one, wired together for screen readers. | npx plankui@latest add label |
| Combobox | A select with a search field, for option lists too long to scan. | npx plankui@latest add combobox |
| Number input | A number field with step keys. Arrow keys step by one, Shift by ten. | npx plankui@latest add number-input |
| Input OTP | One-time code entry with auto-advance, paste support and grouped cells. | npx plankui@latest add input-otp |
| Calendar | A month grid with event dots, disabled days and full keyboard navigation. | npx plankui@latest add calendar |
| Password input | A password field with a show and hide key and an optional strength meter. | npx plankui@latest add password-input |
| Tag input | Type and press Enter or comma to add tags, with suggestions and a limit. | npx plankui@latest add tag-input |
| Rating | Stars as a radio group with hover preview, arrow keys and a read-only mode. | npx plankui@latest add rating |
| Search field | A search input with a clear button, a focus shortcut and a loading state. Escape clears it. | npx plankui@latest add search-field |
| Time field | A time input in segments. Arrows step, digits type, left and right move between hours, minutes and AM/PM. | npx plankui@latest add time-field |
Overlays
| Component | Description | CLI command |
|---|---|---|
| Info tip | A small info icon beside a label that explains it on hover or focus. | npx plankui@latest add info-tip |
| Lightbox | A grid of thumbnails that opens each image large, with previous and next. | npx plankui@latest add lightbox |
| Dialog | A modal window that traps focus and returns it to the trigger when closed. | npx plankui@latest add dialog |
| Popover | Rich, interactive content anchored to a trigger. | npx plankui@latest add popover |
| Tooltip | A short label on hover or focus, with an optional key hint. Wrap your app in TooltipProvider. | npx plankui@latest add tooltip |
| Sheet | A panel that slides in from an edge, for forms and details that keep page context. | npx plankui@latest add sheet |
| Alert dialog | A modal that interrupts to confirm an important or irreversible action. | npx plankui@latest add alert-dialog |
| Hover card | A preview of a linked person or page, shown on hover or focus. | npx plankui@latest add hover-card |
| Context menu | The menu that opens on right-click or a long press. | npx plankui@latest add context-menu |
Feedback
| Component | Description | CLI command |
|---|---|---|
| Native meter | Show a measured value within a known range, such as storage usage. | npx plankui@latest add native-meter |
| Status indicator | A colored dot and text label for service health, availability or job state. | npx plankui@latest add status-indicator |
| Toast | Brief, non-blocking messages. Mount Toaster once and call toast() from anywhere. | npx plankui@latest add toast |
| Alert | An inline message about the state of a page or section. | npx plankui@latest add alert |
| Progress | Linear progress for a task, and Meter, a cell meter for quotas. | npx plankui@latest add progress |
| Skeleton | A shimmering placeholder that holds the shape of content while it loads. | npx plankui@latest add skeleton |
| Spinner | An indeterminate loading indicator that inherits the text colour. | npx plankui@latest add spinner |
| Empty state | What a list or page shows before it has content, with a way forward. | npx plankui@latest add empty-state |
| Announcement | A dismissible card for product news, with one action. | npx plankui@latest add announcement |
| Progress circle | A ring that fills to a value, with the percentage or your own content inside. | npx plankui@latest add progress-circle |
Display
| Component | Description | CLI command |
|---|---|---|
| Figure | Group an image, diagram, or code sample with a caption. | npx plankui@latest add figure |
| Typewriter | Types words letter by letter with a blinking caret, then deletes them and types the next. | npx plankui@latest add typewriter |
| Text rotate | Swaps one word in a sentence on a timer, each new word rising into place. | npx plankui@latest add text-rotate |
| Code block | A block of code with a file name, line numbers, marked lines and a copy button. | npx plankui@latest add code-block |
| Timer | A countdown or stopwatch with steady digits and start, pause and reset. | npx plankui@latest add timer |
| Resizable panels | Two panels with a handle between them that you drag or move with the arrow keys. | npx plankui@latest add resizable |
| Item | One row of a list: media, a title and description, and actions at the end. | npx plankui@latest add item |
| Citation | A numbered source mark for AI answers that previews the source on hover. | npx plankui@latest add citation |
| Inline code | Highlight short commands, identifiers, and code inside a sentence. | npx plankui@latest add inline-code |
| Timestamp | Display a date or time with a machine-readable value. | npx plankui@latest add timestamp |
| Blockquote | Set off a quotation with an accent rule and optional attribution. | npx plankui@latest add blockquote |
| Scroll area | A keyboard-focusable region for scrolling lists or panels within a limited height. | npx plankui@latest add scroll-area |
| Disclosure | A single expandable section for shipping details, notes or other supporting information. | npx plankui@latest add disclosure |
| Description list | A responsive list of labeled values for account details, specifications or summaries. | npx plankui@latest add description-list |
| Card | A hairline-bordered surface with header, content and a footer strip. | npx plankui@latest add card |
| Avatar | An image with initials as fallback, a presence dot, and an overlapping group. | npx plankui@latest add avatar |
| Badge | A compact label for status, version or category. | npx plankui@latest add badge |
| Kbd | A keyboard key, for shortcuts in menus, tooltips and docs. | npx plankui@latest add kbd |
| Separator | A hairline between groups of content, horizontal or vertical. | npx plankui@latest add separator |
| Collapsible | Shows and hides one section, growing smoothly to its height. For a list of sections, use Accordion. | npx plankui@latest add collapsible |
| Aspect ratio | Keeps media at a fixed shape as the width changes. Images and video inside crop to fill it. | npx plankui@latest add aspect-ratio |
| Table | Ruled data table parts with selectable rows and a sortable header button. | npx plankui@latest add table |
| Stat | One number with its label, change against a previous period and a sparkline. | npx plankui@latest add stat |
| Chip | A compact, removable token for filters and selections. | npx plankui@latest add chip |
| Count up | A number that climbs to its new value. Still under reduced motion. | npx plankui@latest add count-up |
| Timeline | A vertical list of events joined by a line, with icons and tones. | npx plankui@latest add timeline |
| Divider | A rule with an optional label, such as “or” between sign-in options or a date between messages. | npx plankui@latest add divider |
Navigation
| Component | Description | CLI command |
|---|---|---|
| Skip link | Let keyboard users bypass repeated navigation and jump to content. | npx plankui@latest add skip-link |
| Tabs | Switch between views in place. Two variants: a tray with a sliding pill, and a line. | npx plankui@latest add tabs |
| Accordion | Stacked sections that expand one or many at a time. | npx plankui@latest add accordion |
| Breadcrumb | Where the current page sits in the hierarchy, with links back up. | npx plankui@latest add breadcrumb |
| Pagination | Move through pages of results, with gaps for long ranges. | npx plankui@latest add pagination |
| Stepper | Progress through a multi-step flow, horizontal or vertical. | npx plankui@latest add stepper |
Charts
| Component | Description | CLI command |
|---|---|---|
| Bar chart | Rounded bars on a track. Bars grow in; hover or focus a bar for its value. | npx plankui@latest add bar-chart |
| Sparkline | A small trend line for tables, stats and cards. | npx plankui@latest add sparkline |
| Line chart | Lines with a y axis and legend. Dash a series for targets or last period. Hover or arrow through points. | npx plankui@latest add line-chart |
| Bar list | Ranked rows with a bar behind each name, for top pages, sources or countries. | npx plankui@latest add bar-list |
| Stage bars | Horizontal bars split into stages, such as a pipeline per rep or sleep phases per night. | npx plankui@latest add stage-bars |
| Chart card | The shell every chart card shares: title, number and change, the chart on a white panel, a footer. | npx plankui@latest add chart-card |
| Steps card | Daily steps against a dashed goal line. Days over the goal are lit. | npx plankui@latest add steps-card |
| Most active days | Seven columns for the week with the busiest day lit and named. | npx plankui@latest add active-days-card |
Blocks
| Component | Description | CLI command |
|---|---|---|
| Chat message | An incoming or outgoing message with author, time, and optional avatar. | npx plankui@latest add chat-message |
| Task list | A checklist with progress, priorities, add and delete. Done tasks strike through. | npx plankui@latest add task-list |
| Profile card | A person at a glance: avatar and status, role, labelled details and contact actions. | npx plankui@latest add profile-card |
| Invite members | Invite by email, change each member's role, and copy a link that gives access. | npx plankui@latest add invite-members |
| Page header | The top of an app page: breadcrumb, title, a line of description and the page's actions. | npx plankui@latest add page-header |
| Activity feed | What people did and when, newest first, with avatars joined by a line. | npx plankui@latest add activity-feed |
| Poll card | A question to vote on; after voting it shows each option's share. | npx plankui@latest add poll-card |
| Onboarding checklist | Setup steps for a new account with progress; open steps link to where they are done. | npx plankui@latest add onboarding-checklist |
| Plan usage | The current plan with a meter per limit that warns near the limit and turns red at it. | npx plankui@latest add plan-usage |
| FAQ section | A page section of questions and answers, one open at a time. | npx plankui@latest add faq-section |
| Settings section | A group of settings: a heading, then a row per setting with its label, help and switch. | npx plankui@latest add settings-section |
| API keys | A project's API keys, masked, with created and last-used dates, a create button and a confirmed revoke. | npx plankui@latest add api-keys |
| Cookie consent | A cookie banner with equal Accept and Reject buttons and a panel to choose each kind. | npx plankui@latest add cookie-consent |
| Error page | A full-page error: the status large, what happened in plain words and a way out. | npx plankui@latest add error-page |
| Comment thread | A thread of comments with a box to add one; ⌘ or Ctrl Enter posts. | npx plankui@latest add comment-thread |
| Changelog | Release notes, newest first: version and date beside what is new, improved and fixed. | npx plankui@latest add changelog |
| Account menu | The signed-in user's menu: name and plan, a dark mode switch, links, another account and sign out. | npx plankui@latest add account-menu |
| Applied filters | The filters in effect as removable chips, with clear all and a button to add more. | npx plankui@latest add applied-filters |
| Auth card | Sign in, sign up and a one-time code step in one card. Uncontrolled, it hands you FormData. | npx plankui@latest add auth-card |
| Stat cards | KPI cards: a grey shell, a lit icon tile, the number and a white footer with the change. | npx plankui@latest add stat-cards |
| Agent limits | Usage against plan limits. Bars turn amber at 80% and red at the limit, with a note. | npx plankui@latest add agent-limits |
Templates · People · Calendar · Contact form · Card grid · Chat landing · Sign in
MIT license · Built by Vector Labs
@plankui/mcpnpm install @plankui/mcp