Pure UI

Pure CSS component library — zero dependencies, Angular-ready.

"styles": ["src/styles.css", "path/to/pure-ui.css"]

Documentation Index

Open README

Every component demo is linked to its markdown documentation.

Grid System

A robust, flexbox-based 12-column grid system for responsive layouts.

Container, Rows & Columns
.pure-col-12
.pure-col-6
.pure-col-6
.pure-col-4
.pure-col-4
.pure-col-4
Responsive Offsets & Widths

Resize the window to see columns stack or shift.

12 (col) / 8 (md) / 6 (lg)
Usage Example
<div class="pure-container">
  <div class="pure-row">
    <div class="pure-col-12 pure-col-md-6">Half width on desktop</div>
    <div class="pure-col-12 pure-col-md-6">Half width on desktop</div>
  </div>
</div>

Buttons

Variants, sizes, shapes, loading states, and groups.

Usage Code
<button class="pure-btn pure-btn-primary">Primary</button>
<button class="pure-btn pure-btn-outline-primary">Outline</button>
Variants
Sizes
Shapes & States
Button Group

Typography & Display

Consistent typography system for headings and body text.

Usage Code
<h1 class="pure-display-1">Display 1</h1>
<h1 class="pure-h1">Heading 1</h1>
<p class="pure-lead">Lead paragraph text.</p>
Display Headings

Display 1

Display 4

Standard Headings

Heading 1 (H1)

Heading 2 (H2)

Heading 3 (H3)

Heading 4 (H4)

Heading 5 (H5)
Heading 6 (H6)
Paragraphs

This is a lead paragraph (pure-lead). It stands out from regular text with larger size and lighter weight.

This is a standard paragraph. It uses the default body font size and line height for optimal readability. Pure UI provides a clean and modern typography system inspired by Material Design.

Forms

Inputs, select, textarea, checkbox, radio, switch, range.

Usage Code
<div class="pure-form-group">
  <label class="pure-form-label">Label</label>
  <input type="text" class="pure-input" placeholder="...">
</div>
We'll never share your email.
This field is required.
🔒
https://
Checkbox / Radio / Switch / Range

Multi-select

Tagged selection component for multiple choices.

Usage Code
<div class="pure-multi-select">
  <div class="pure-multi-select-input">...</div>
  <div class="pure-multi-select-dropdown">...</div>
</div>
Virtualized (10,000 items)
Search 10,000 items...
Standard Multi-select
Select tags...
React
Vue
Angular
Svelte
Next.js

Currency & Number Inputs

Prefix symbol wrapper, formatted displays, number stepper.

$
Type to see currency masking in action.
1,24,500 .00

Cards & Containers

Content panels, hover cards, and accent colors.

Total Revenue
💰
₹4.2L
▲ 8.2% this month
New Customers
👥
1,284
▲ 14% this week
Pending Bills
📄
₹72K
▼ 3 overdue

Standard Card

New

This card lifts on hover. Use pure-card-hover to enable the transition.

AR
Arjun Rao
Senior Developer

Charts

CSS bar and donut charts for lightweight dashboard visuals.

Weekly Volume

Mon
Tue
Wed
Thu
Fri

Completion

75% Completed

Stats Tiles

Responsive KPI cards with trend indicators and compact density options.

Monthly Revenue

▲ 12.4%

$84,290

vs previous month

Active Subscribers

▲ 4.7%

13,482

rolling 30 days

Refund Rate

▼ 1.1%

2.8%

Empty State

Reusable blanks for no-data pages, filtered results, and onboarding states.

📁

No reports generated yet

Run your first report to visualize monthly performance and team activity.

Badges & Chips

Small status indicators and removable tags.

Soft & Solid Badges
Primary Success Danger Warning
Dot Indicators
Online Offline Live
Count Overlays
4
12
Chips
Default Angular Design

Alerts & Toast

Contextual feedback messages and notifications.

Payment Successful ₹12,500 was transferred.
Transaction Failed Insufficient funds.
⚠️ Verification Pending Under review.

Data Tables

Responsive "Stack" mode for premium mobile viewing.

Premium Stack Mode (Auto on Mobile)
Customer Invoice Amount Status Actions
Priya Mehta INV-2024-001 ₹12,500.00 Paid
Rahul Shah INV-2024-002 ₹8,200.00 Pending

Tabs

Underline (default)

Tab panel content renders here. Use active class on the panel to show it.

Pill style

Accordion

Smooth responsive expanding panels.

Pure UI is a utility-first CSS library designed for high-performance and lightweight web applications.

Breadcrumbs & Steppers

Responsive Breadcrumbs (Scroll on Mobile)
Responsive Stepper
1
Identity
2
Upload
3
Review

Command Palette

Press Ctrl/Cmd + K for quick actions and keyboard navigation.

Typeahead

Search-as-you-type input with inline suggestions.

Argentina
Australia
Canada
Germany
India
United Kingdom
United States

Drag & Drop

Draggable items and drop zones for intuitive interfaces.

Usage Code
<div class="pure-drop-container">
  <div class="pure-dropzone">
    <div class="pure-draggable" draggable="true">Item 1</div>
  </div>
</div>
Source
🚀 Project Alpha
🎨 Design Specs
📈 Growth Plan
Destination

Virtual Scroller

Efficiently render massive lists of data (demo uses 1,000 items).

Scroll down to see items being virtualized...

Event Calendar

A full-width responsive calendar for displaying events and tasks.

Month Year

Pagination

Default
Rounded ghost

Progress, Spinners & Skeletons

Progress bars
Revenue Target72%
Spinners
Skeletons

Calendar & Date Picker

Full inline calendar. For popup, wrap in .pure-datepicker. Add JS to toggle .open and apply .selected, .today, .in-range classes.

MoTu WeTh FrSa Su
📅
Selected: None

Advanced Components

Heavily functional components for complex forms and logic.

OTP Input (Auto-focus)
Input Masking
Auto-sizing Textarea
File Dropzone
📁
Drag & drop or Click to upload
Supports multiple files
Typeahead / Autocomplete
Apple
Banana
Cherry
Dragonfruit
Elderberry
Sortable List (Drag to Reorder)
Item 1: Drag me
Item 2: Move me up
Item 3: Bottom is better?
Global UI Loader
Enhanced Multi-select (Search & Select All)
Select options...
Option One
Option Two
Option Three
Option Four

Miscellaneous

Breadcrumbs (Refined)
Avatars & Group
AR
PM
RS
KJ
A
B
C
+5
Stepper
Details
Payment
Review
Confirm
Animations & Motion (Updated)
🎭
Fade In
Pure Opacity (0 -> 1)
🚀
Slide Up
30px Offset + Fade
🔍
Zoom In
Springy Scale (0.85 -> 1)
Shimmer
Infinite Loop
Timeline
  • Payment received 2 mins ago
    ₹12,500 from Priya Mehta.
  • KYC pending 1 hour ago
    Documents awaiting verification.
  • Account created Yesterday
Dividers

OR

Tooltip & Popover

Contextual information on hover or click.

Tooltip Positions
This is a top tooltip
This is a bottom tooltip
Left side info
Right side info
Tooltip Variants
Primary themed
Success themed
Danger themed
Light variant
Popovers

Popover Title

This is a popover with a header and body. Perfect for more complex information.