Built for Tailwind CSS v4 & Modern Browsers

Pure HTML & Tailwind v4 Primitives.
Zero Runtime. Copy & Paste.

Accessible, high-performance UI primitives crafted with pure HTML5, CSS Houdini, and Tailwind CSS v4. No heavy JS frameworks required.

Explore Components →
terminal bash
npx plain-ui add button dialog popover

10 Ready-to-use Primitives

Explore our growing catalog of light-DOM, zero-bundler components with instant live sandboxes and CodeMirror live editing.

Core Primitives View Docs →

Button

Interactive button primitives with rich visual variants, loading spinners, icons, and keyboard accessibility.

Tailwind v4 Pure HTML5 Zero-JS
Overlays & Modals View Docs →

Dialog

Native HTML <dialog> modal with backdrop blur, @starting-style entry animations, and accessible focus trapping.

HTML5 <dialog> Tailwind v4 @starting-style Zero-JS
Overlays & Modals View Docs →

Popover

Native HTML Popover API (popover='auto') with zero JavaScript, CSS anchor positioning, and automatic light dismiss.

HTML5 popover Zero-JS Anchor CSS Tailwind v4
Forms & Inputs View Docs →

Floating Label Input

Modern animated floating label form controls utilizing HTML5 placeholder-shown pseudo-class and Tailwind peer selectors.

Pure CSS peer-placeholder-shown Zero-JS Tailwind v4
Motion & Effects View Docs →

Border Beam

Dynamic glowing animated border beam gradient traveling continuously around cards and containers using pure CSS animations.

CSS Keyframes Conic Gradient Hardware Accelerated Tailwind v4
Motion & Effects View Docs →

Shimmer Button

High-performance glowing shimmer button with animated radial light sweep across the surface.

CSS Keyframes Radial Shimmer 60 FPS Tailwind v4
Layout & Navigation View Docs →

Dock

macOS-inspired interactive dock with smooth pointer proximity magnification physics, hover tooltips, and app status dots.

Interactive Physics Smooth Magnification Lightweight Tailwind v4
Layout & Surfaces View Docs →

Bento Grid

Modern modular 12-column asymmetric bento box layout with spotlight card glow, metric widgets, and responsive auto-fitting.

CSS Grid Responsive Layout Asymmetric Spans Tailwind v4
Core Primitives View Docs →

Accordion

Pure HTML <details> and <summary> accordion with smooth height expansion animation and animated rotating chevrons.

HTML5 <details> interpolate-size Zero-JS Tailwind v4
Layout & Navigation View Docs →

Tabs

Accessible, keyboard-navigable tab system with animated indicator slider and light-DOM panels.

WAI-ARIA Tablist Keyboard Nav Lightweight Tailwind v4
Components
#
Button
Interactive button primitives with rich visual variants, loading spinners, icons, and keyboard accessibility.
Core Primitives
#
Dialog
Native HTML <dialog> modal with backdrop blur, @starting-style entry animations, and accessible focus trapping.
Overlays & Modals
#
Popover
Native HTML Popover API (popover='auto') with zero JavaScript, CSS anchor positioning, and automatic light dismiss.
Overlays & Modals
#
Floating Label Input
Modern animated floating label form controls utilizing HTML5 placeholder-shown pseudo-class and Tailwind peer selectors.
Forms & Inputs
#
Border Beam
Dynamic glowing animated border beam gradient traveling continuously around cards and containers using pure CSS animations.
Motion & Effects
#
Shimmer Button
High-performance glowing shimmer button with animated radial light sweep across the surface.
Motion & Effects
#
Dock
macOS-inspired interactive dock with smooth pointer proximity magnification physics, hover tooltips, and app status dots.
Layout & Navigation
#
Bento Grid
Modern modular 12-column asymmetric bento box layout with spotlight card glow, metric widgets, and responsive auto-fitting.
Layout & Surfaces
#
Accordion
Pure HTML <details> and <summary> accordion with smooth height expansion animation and animated rotating chevrons.
Core Primitives
#
Tabs
Accessible, keyboard-navigable tab system with animated indicator slider and light-DOM panels.
Layout & Navigation
Getting Started
📖
Getting Started & Tailwind v4 Setup
Quick start guide and architecture overview
Navigate Select
Plain UI Search