HTML Components Showcase
A production-ready, framework-agnostic UI component library. Copy-paste ready components with zero dependencies.
Layout & Structure
Core layout primitives for building page structures.
Grid System
<div class="c-grid c-grid--cols-3">
<div>Column 1</div>
<div>Column 2</div>
<div>Column 3</div>
</div>
<!-- Auto-fit grid -->
<div class="c-grid c-grid--cols-auto">
<div>Auto-sized</div>
<div>Auto-sized</div>
</div>
Stack
Divider
Content above
Content below
Cards
Container components for grouping related content.
Card Title
Card body content goes here. This is a basic card component.
Simple Card
A card without header and footer.
Accordion
Expandable sections for organizing content.
A production-ready, framework-agnostic UI component library built with semantic HTML, CSS variables, and vanilla JavaScript.
Simply copy the HTML, CSS, and JavaScript for each component and paste it into your project. No build tools required.
Yes! All components are built with WCAG 2.1 accessibility guidelines in mind.
Tabs
Keyboard accessible tabbed interface.
Overview content. This panel is visible when the first tab is selected.
Features content. This panel is visible when the second tab is selected.
Pricing content. This panel is visible when the third tab is selected.
Pagination
Navigate between pages of content.
Stepper
Multi-step progress indicator.
Text Inputs
Various text input types and states.
This is helper text.
This field is invalid.
Search Input
Password Input
Textarea
Select
Dropdown selection components.
Checkbox & Radio
Selection controls.
Checkboxes
Switch
Binary toggle controls.
File Upload
Drag and drop file upload zone.
Alerts
Alert banners for user feedback.
Success
Error
Warning
Information
Toast Notifications
Temporary notification messages.
Progress & Loading
Progress indicators and loading states.
Progress Bar
Indeterminate Progress
Spinner
Skeleton
Modal
Accessible modal dialogs with focus trap.
Drawer
Slide-in panels.
Dropdown
Keyboard navigable dropdown menus.
Tooltip & Popover
Contextual overlays.
Tooltip
Popover
Popover Title
This is a popover with more detailed content.
Table
Responsive data tables.
| Name | Status | Role | Actions | |
|---|---|---|---|---|
| Alice Johnson | Active | Admin | alice@example.com |
|
| Bob Smith | Pending | Editor | bob@example.com |
|
| Carol White | Inactive | Viewer | carol@example.com |
|
Badges & Tags
Status indicators and removable tags.
Badges
Tags
Avatar
User avatar with initials.
Code Block
Formatted code display.
function greet(name) {
console.log(`Hello, ${name}!`);
}
greet('World');
Inline Code
Use the npm install command to install dependencies.
Keyboard Shortcuts
Press Ctrl + S to save.
Empty State
Placeholder for empty content areas.
No files yet
Upload your first file to get started.
Utility Classes
Helper classes for common patterns.
Text Colors
.u-text-muted
.u-text-accent
.u-text-success
.u-text-warning
.u-text-error