PlankUI

Beautiful by default, yours to shape. PlankUI is an open-source React component library for Tailwind CSS v4, on Radix or Base UI. You copy the components into your project, so you own the code. Every colour, radius and font is a token, so six themes and five component styles come from one file.

Installation

npx plankui@latest init
npx plankui@latest add button select dialog

Why PlankUI

  • You own the source: plain React and Tailwind files in your project.
  • Built for AI agents: an MCP server gives Cursor, Claude Code and VS Code the real source and props.
  • Accessible by default: focus, keyboard and screen readers handled.
  • Six themes, five styles, light and dark.

Components

Feedback

  • Native meter: Show a measured value within a known range, such as storage usage.
  • Status indicator: A colored dot and text label for service health, availability or job state.
  • Toast: Brief, non-blocking messages. Mount Toaster once and call toast() from anywhere.
  • Alert: An inline message about the state of a page or section.
  • Progress: Linear progress for a task, and Meter, a cell meter for quotas.
  • Skeleton: A shimmering placeholder that holds the shape of content while it loads.
  • Spinner: An indeterminate loading indicator that inherits the text colour.
  • Empty state: What a list or page shows before it has content, with a way forward.
  • Announcement: A dismissible card for product news, with one action.
  • Progress circle: A ring that fills to a value, with the percentage or your own content inside.

Display

  • Figure: Group an image, diagram, or code sample with a caption.
  • Typewriter: Types words letter by letter with a blinking caret, then deletes them and types the next.
  • Text rotate: Swaps one word in a sentence on a timer, each new word rising into place.
  • Code block: A block of code with a file name, line numbers, marked lines and a copy button.
  • Timer: A countdown or stopwatch with steady digits and start, pause and reset.
  • Resizable panels: Two panels with a handle between them that you drag or move with the arrow keys.
  • Item: One row of a list: media, a title and description, and actions at the end.
  • Citation: A numbered source mark for AI answers that previews the source on hover.
  • Inline code: Highlight short commands, identifiers, and code inside a sentence.
  • Timestamp: Display a date or time with a machine-readable value.
  • Blockquote: Set off a quotation with an accent rule and optional attribution.
  • Scroll area: A keyboard-focusable region for scrolling lists or panels within a limited height.
  • Disclosure: A single expandable section for shipping details, notes or other supporting information.
  • Description list: A responsive list of labeled values for account details, specifications or summaries.
  • Card: A hairline-bordered surface with header, content and a footer strip.
  • Avatar: An image with initials as fallback, a presence dot, and an overlapping group.
  • Badge: A compact label for status, version or category.
  • Kbd: A keyboard key, for shortcuts in menus, tooltips and docs.
  • Separator: A hairline between groups of content, horizontal or vertical.
  • Collapsible: Shows and hides one section, growing smoothly to its height. For a list of sections, use Accordion.
  • Aspect ratio: Keeps media at a fixed shape as the width changes. Images and video inside crop to fill it.
  • Table: Ruled data table parts with selectable rows and a sortable header button.
  • Stat: One number with its label, change against a previous period and a sparkline.
  • Chip: A compact, removable token for filters and selections.
  • Count up: A number that climbs to its new value. Still under reduced motion.
  • Timeline: A vertical list of events joined by a line, with icons and tones.
  • Divider: A rule with an optional label, such as “or” between sign-in options or a date between messages.

Navigation

  • Skip link: Let keyboard users bypass repeated navigation and jump to content.
  • Tabs: Switch between views in place. Two variants: a tray with a sliding pill, and a line.
  • Accordion: Stacked sections that expand one or many at a time.
  • Breadcrumb: Where the current page sits in the hierarchy, with links back up.
  • Pagination: Move through pages of results, with gaps for long ranges.
  • Stepper: Progress through a multi-step flow, horizontal or vertical.

Overlays

  • Info tip: A small info icon beside a label that explains it on hover or focus.
  • Lightbox: A grid of thumbnails that opens each image large, with previous and next.
  • Dialog: A modal window that traps focus and returns it to the trigger when closed.
  • Popover: Rich, interactive content anchored to a trigger.
  • Tooltip: A short label on hover or focus, with an optional key hint. Wrap your app in TooltipProvider.
  • Sheet: A panel that slides in from an edge, for forms and details that keep page context.
  • Alert dialog: A modal that interrupts to confirm an important or irreversible action.
  • Hover card: A preview of a linked person or page, shown on hover or focus.
  • Context menu: The menu that opens on right-click or a long press.

Forms

  • Checkbox card: A whole card that toggles like a checkbox, for pick-any-number choices.
  • Fieldset: Group related form controls under a native legend.
  • Textarea counter: A multiline field that shows the character count and enforces a length limit.
  • Native select: A styled browser select that keeps the platform’s own picker and keyboard behavior.
  • Input: A text field with optional leading and trailing slots. Pair it with Field for label, hint and error.
  • Textarea: A multi-line field that shares the input's border, focus ring and error states.
  • Select: A listbox for picking one value, with groups, labels and disabled options.
  • Checkbox: A binary or indeterminate choice, for lists where many items can be on.
  • Radio group: One choice from a visible set. RadioCard wraps each option in a selectable panel.
  • Switch: An on and off setting that applies immediately.
  • Slider: Pick a value or a range by dragging. Pass two values for a range.
  • Label and Field: A form label, and Field: label, control and hint or error in one, wired together for screen readers.
  • Combobox: A select with a search field, for option lists too long to scan.
  • Number input: A number field with step keys. Arrow keys step by one, Shift by ten.
  • Input OTP: One-time code entry with auto-advance, paste support and grouped cells.
  • Calendar: A month grid with event dots, disabled days and full keyboard navigation.
  • Password input: A password field with a show and hide key and an optional strength meter.
  • Tag input: Type and press Enter or comma to add tags, with suggestions and a limit.
  • Rating: Stars as a radio group with hover preview, arrow keys and a read-only mode.
  • Search field: A search input with a clear button, a focus shortcut and a loading state. Escape clears it.
  • Time field: A time input in segments. Arrows step, digits type, left and right move between hours, minutes and AM/PM.

Actions

  • Toolbar: Group related actions with a shared label and regular Tab navigation.
  • Icon button: A compact icon-only action with a required accessible label.
  • Button: A keycap with a real bottom edge. It lifts on hover and sinks when pressed.
  • Segmented control: One choice from a short set. A raised pill slides to the chosen option.
  • Dropdown menu: A menu of actions with shortcuts, checkable items and nested submenus.
  • Toggle: A two-state button for formatting and view options.
  • Toggle group: A set of toggles on one tray: one on at a time, or several. Arrow keys move between them.
  • Command: A searchable, keyboard-driven list of actions. CommandDialog wraps it in a modal with a hotkey.
  • Button group: Buttons fused into one row, for ranges and paired actions.
  • Copy button: Copies a value and confirms with a check for a moment.
  • Theme toggle: Switch light and dark: a sliding switch, a three-way segmented control with system, or one icon button.

Blocks

  • Chat message: An incoming or outgoing message with author, time, and optional avatar.
  • Task list: A checklist with progress, priorities, add and delete. Done tasks strike through.
  • Profile card: A person at a glance: avatar and status, role, labelled details and contact actions.
  • Invite members: Invite by email, change each member's role, and copy a link that gives access.
  • Page header: The top of an app page: breadcrumb, title, a line of description and the page's actions.
  • Activity feed: What people did and when, newest first, with avatars joined by a line.
  • Poll card: A question to vote on; after voting it shows each option's share.
  • Onboarding checklist: Setup steps for a new account with progress; open steps link to where they are done.
  • Plan usage: The current plan with a meter per limit that warns near the limit and turns red at it.
  • FAQ section: A page section of questions and answers, one open at a time.
  • Settings section: A group of settings: a heading, then a row per setting with its label, help and switch.
  • API keys: A project's API keys, masked, with created and last-used dates, a create button and a confirmed revoke.
  • Cookie consent: A cookie banner with equal Accept and Reject buttons and a panel to choose each kind.
  • Error page: A full-page error: the status large, what happened in plain words and a way out.
  • Comment thread: A thread of comments with a box to add one; ⌘ or Ctrl Enter posts.
  • Changelog: Release notes, newest first: version and date beside what is new, improved and fixed.
  • Account menu: The signed-in user's menu: name and plan, a dark mode switch, links, another account and sign out.
  • Applied filters: The filters in effect as removable chips, with clear all and a button to add more.
  • Auth card: Sign in, sign up and a one-time code step in one card. Uncontrolled, it hands you FormData.
  • Stat cards: KPI cards: a grey shell, a lit icon tile, the number and a white footer with the change.
  • Agent limits: Usage against plan limits. Bars turn amber at 80% and red at the limit, with a note.

Charts

  • Bar chart: Rounded bars on a track. Bars grow in; hover or focus a bar for its value.
  • Sparkline: A small trend line for tables, stats and cards.
  • Line chart: Lines with a y axis and legend. Dash a series for targets or last period. Hover or arrow through points.
  • Bar list: Ranked rows with a bar behind each name, for top pages, sources or countries.
  • Stage bars: Horizontal bars split into stages, such as a pipeline per rep or sleep phases per night.
  • Chart card: The shell every chart card shares: title, number and change, the chart on a white panel, a footer.
  • Steps card: Daily steps against a dashed goal line. Days over the goal are lit.
  • Most active days: Seven columns for the week with the busiest day lit and named.