Repository avatar
AI Tools
v0.1.10
active

plankui

io.github.VectorLabsHQ/plankui

Source, props and usage of every PlankUI React and Tailwind CSS v4 component.

Documentation

PlankUI component previews with charts, forms, menus and navigation

PlankUI

CLI version MCP version MIT license

PlankUI on Product Hunt

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

FolderContents
components/uiFree components, including the Radix UI implementations
components/base-ui27 dedicated Base UI implementations. The other components use shared source
styles and libTheme tokens, base styles, and the class helper
templatesComplete screens built from PlankUI components
cliThe plankui installer
iconsPlankUI Icons, the @plankui/icons package: React components and SVGs
mcpThe @plankui/mcp server and component registry
skills/plankuiThe 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

ComponentDescriptionCLI command
ToolbarGroup related actions with a shared label and regular Tab navigation.npx plankui@latest add toolbar
Icon buttonA compact icon-only action with a required accessible label.npx plankui@latest add icon-button
ButtonA keycap with a real bottom edge. It lifts on hover and sinks when pressed.npx plankui@latest add button
Segmented controlOne choice from a short set. A raised pill slides to the chosen option.npx plankui@latest add segmented
Dropdown menuA menu of actions with shortcuts, checkable items and nested submenus.npx plankui@latest add dropdown-menu
ToggleA two-state button for formatting and view options.npx plankui@latest add toggle
Toggle groupA set of toggles on one tray: one on at a time, or several. Arrow keys move between them.npx plankui@latest add toggle-group
CommandA searchable, keyboard-driven list of actions. CommandDialog wraps it in a modal with a hotkey.npx plankui@latest add command
Button groupButtons fused into one row, for ranges and paired actions.npx plankui@latest add button-group
Copy buttonCopies a value and confirms with a check for a moment.npx plankui@latest add copy-button
Theme toggleSwitch light and dark: a sliding switch, a three-way segmented control with system, or one icon button.npx plankui@latest add theme-toggle

Forms

ComponentDescriptionCLI command
Checkbox cardA whole card that toggles like a checkbox, for pick-any-number choices.npx plankui@latest add checkbox-card
FieldsetGroup related form controls under a native legend.npx plankui@latest add fieldset
Textarea counterA multiline field that shows the character count and enforces a length limit.npx plankui@latest add textarea-counter
Native selectA styled browser select that keeps the platform’s own picker and keyboard behavior.npx plankui@latest add native-select
InputA text field with optional leading and trailing slots. Pair it with Field for label, hint and error.npx plankui@latest add input
TextareaA multi-line field that shares the input's border, focus ring and error states.npx plankui@latest add textarea
SelectA listbox for picking one value, with groups, labels and disabled options.npx plankui@latest add select
CheckboxA binary or indeterminate choice, for lists where many items can be on.npx plankui@latest add checkbox
Radio groupOne choice from a visible set. RadioCard wraps each option in a selectable panel.npx plankui@latest add radio-group
SwitchAn on and off setting that applies immediately.npx plankui@latest add switch
SliderPick a value or a range by dragging. Pass two values for a range.npx plankui@latest add slider
Label and FieldA form label, and Field: label, control and hint or error in one, wired together for screen readers.npx plankui@latest add label
ComboboxA select with a search field, for option lists too long to scan.npx plankui@latest add combobox
Number inputA number field with step keys. Arrow keys step by one, Shift by ten.npx plankui@latest add number-input
Input OTPOne-time code entry with auto-advance, paste support and grouped cells.npx plankui@latest add input-otp
CalendarA month grid with event dots, disabled days and full keyboard navigation.npx plankui@latest add calendar
Password inputA password field with a show and hide key and an optional strength meter.npx plankui@latest add password-input
Tag inputType and press Enter or comma to add tags, with suggestions and a limit.npx plankui@latest add tag-input
RatingStars as a radio group with hover preview, arrow keys and a read-only mode.npx plankui@latest add rating
Search fieldA search input with a clear button, a focus shortcut and a loading state. Escape clears it.npx plankui@latest add search-field
Time fieldA 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

ComponentDescriptionCLI command
Info tipA small info icon beside a label that explains it on hover or focus.npx plankui@latest add info-tip
LightboxA grid of thumbnails that opens each image large, with previous and next.npx plankui@latest add lightbox
DialogA modal window that traps focus and returns it to the trigger when closed.npx plankui@latest add dialog
PopoverRich, interactive content anchored to a trigger.npx plankui@latest add popover
TooltipA short label on hover or focus, with an optional key hint. Wrap your app in TooltipProvider.npx plankui@latest add tooltip
SheetA panel that slides in from an edge, for forms and details that keep page context.npx plankui@latest add sheet
Alert dialogA modal that interrupts to confirm an important or irreversible action.npx plankui@latest add alert-dialog
Hover cardA preview of a linked person or page, shown on hover or focus.npx plankui@latest add hover-card
Context menuThe menu that opens on right-click or a long press.npx plankui@latest add context-menu

Feedback

ComponentDescriptionCLI command
Native meterShow a measured value within a known range, such as storage usage.npx plankui@latest add native-meter
Status indicatorA colored dot and text label for service health, availability or job state.npx plankui@latest add status-indicator
ToastBrief, non-blocking messages. Mount Toaster once and call toast() from anywhere.npx plankui@latest add toast
AlertAn inline message about the state of a page or section.npx plankui@latest add alert
ProgressLinear progress for a task, and Meter, a cell meter for quotas.npx plankui@latest add progress
SkeletonA shimmering placeholder that holds the shape of content while it loads.npx plankui@latest add skeleton
SpinnerAn indeterminate loading indicator that inherits the text colour.npx plankui@latest add spinner
Empty stateWhat a list or page shows before it has content, with a way forward.npx plankui@latest add empty-state
AnnouncementA dismissible card for product news, with one action.npx plankui@latest add announcement
Progress circleA ring that fills to a value, with the percentage or your own content inside.npx plankui@latest add progress-circle

Display

ComponentDescriptionCLI command
FigureGroup an image, diagram, or code sample with a caption.npx plankui@latest add figure
TypewriterTypes words letter by letter with a blinking caret, then deletes them and types the next.npx plankui@latest add typewriter
Text rotateSwaps one word in a sentence on a timer, each new word rising into place.npx plankui@latest add text-rotate
Code blockA block of code with a file name, line numbers, marked lines and a copy button.npx plankui@latest add code-block
TimerA countdown or stopwatch with steady digits and start, pause and reset.npx plankui@latest add timer
Resizable panelsTwo panels with a handle between them that you drag or move with the arrow keys.npx plankui@latest add resizable
ItemOne row of a list: media, a title and description, and actions at the end.npx plankui@latest add item
CitationA numbered source mark for AI answers that previews the source on hover.npx plankui@latest add citation
Inline codeHighlight short commands, identifiers, and code inside a sentence.npx plankui@latest add inline-code
TimestampDisplay a date or time with a machine-readable value.npx plankui@latest add timestamp
BlockquoteSet off a quotation with an accent rule and optional attribution.npx plankui@latest add blockquote
Scroll areaA keyboard-focusable region for scrolling lists or panels within a limited height.npx plankui@latest add scroll-area
DisclosureA single expandable section for shipping details, notes or other supporting information.npx plankui@latest add disclosure
Description listA responsive list of labeled values for account details, specifications or summaries.npx plankui@latest add description-list
CardA hairline-bordered surface with header, content and a footer strip.npx plankui@latest add card
AvatarAn image with initials as fallback, a presence dot, and an overlapping group.npx plankui@latest add avatar
BadgeA compact label for status, version or category.npx plankui@latest add badge
KbdA keyboard key, for shortcuts in menus, tooltips and docs.npx plankui@latest add kbd
SeparatorA hairline between groups of content, horizontal or vertical.npx plankui@latest add separator
CollapsibleShows and hides one section, growing smoothly to its height. For a list of sections, use Accordion.npx plankui@latest add collapsible
Aspect ratioKeeps media at a fixed shape as the width changes. Images and video inside crop to fill it.npx plankui@latest add aspect-ratio
TableRuled data table parts with selectable rows and a sortable header button.npx plankui@latest add table
StatOne number with its label, change against a previous period and a sparkline.npx plankui@latest add stat
ChipA compact, removable token for filters and selections.npx plankui@latest add chip
Count upA number that climbs to its new value. Still under reduced motion.npx plankui@latest add count-up
TimelineA vertical list of events joined by a line, with icons and tones.npx plankui@latest add timeline
DividerA rule with an optional label, such as “or” between sign-in options or a date between messages.npx plankui@latest add divider

Navigation

ComponentDescriptionCLI command
Skip linkLet keyboard users bypass repeated navigation and jump to content.npx plankui@latest add skip-link
TabsSwitch between views in place. Two variants: a tray with a sliding pill, and a line.npx plankui@latest add tabs
AccordionStacked sections that expand one or many at a time.npx plankui@latest add accordion
BreadcrumbWhere the current page sits in the hierarchy, with links back up.npx plankui@latest add breadcrumb
PaginationMove through pages of results, with gaps for long ranges.npx plankui@latest add pagination
StepperProgress through a multi-step flow, horizontal or vertical.npx plankui@latest add stepper

Charts

ComponentDescriptionCLI command
Bar chartRounded bars on a track. Bars grow in; hover or focus a bar for its value.npx plankui@latest add bar-chart
SparklineA small trend line for tables, stats and cards.npx plankui@latest add sparkline
Line chartLines 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 listRanked rows with a bar behind each name, for top pages, sources or countries.npx plankui@latest add bar-list
Stage barsHorizontal bars split into stages, such as a pipeline per rep or sleep phases per night.npx plankui@latest add stage-bars
Chart cardThe shell every chart card shares: title, number and change, the chart on a white panel, a footer.npx plankui@latest add chart-card
Steps cardDaily steps against a dashed goal line. Days over the goal are lit.npx plankui@latest add steps-card
Most active daysSeven columns for the week with the busiest day lit and named.npx plankui@latest add active-days-card

Blocks

ComponentDescriptionCLI command
Chat messageAn incoming or outgoing message with author, time, and optional avatar.npx plankui@latest add chat-message
Task listA checklist with progress, priorities, add and delete. Done tasks strike through.npx plankui@latest add task-list
Profile cardA person at a glance: avatar and status, role, labelled details and contact actions.npx plankui@latest add profile-card
Invite membersInvite by email, change each member's role, and copy a link that gives access.npx plankui@latest add invite-members
Page headerThe top of an app page: breadcrumb, title, a line of description and the page's actions.npx plankui@latest add page-header
Activity feedWhat people did and when, newest first, with avatars joined by a line.npx plankui@latest add activity-feed
Poll cardA question to vote on; after voting it shows each option's share.npx plankui@latest add poll-card
Onboarding checklistSetup steps for a new account with progress; open steps link to where they are done.npx plankui@latest add onboarding-checklist
Plan usageThe current plan with a meter per limit that warns near the limit and turns red at it.npx plankui@latest add plan-usage
FAQ sectionA page section of questions and answers, one open at a time.npx plankui@latest add faq-section
Settings sectionA group of settings: a heading, then a row per setting with its label, help and switch.npx plankui@latest add settings-section
API keysA 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 consentA cookie banner with equal Accept and Reject buttons and a panel to choose each kind.npx plankui@latest add cookie-consent
Error pageA full-page error: the status large, what happened in plain words and a way out.npx plankui@latest add error-page
Comment threadA thread of comments with a box to add one; ⌘ or Ctrl Enter posts.npx plankui@latest add comment-thread
ChangelogRelease notes, newest first: version and date beside what is new, improved and fixed.npx plankui@latest add changelog
Account menuThe 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 filtersThe filters in effect as removable chips, with clear all and a button to add more.npx plankui@latest add applied-filters
Auth cardSign in, sign up and a one-time code step in one card. Uncontrolled, it hands you FormData.npx plankui@latest add auth-card
Stat cardsKPI cards: a grey shell, a lit icon tile, the number and a white footer with the change.npx plankui@latest add stat-cards
Agent limitsUsage 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

NPM
@plankui/mcp
Install Command
npm install @plankui/mcp