A calm, spring-motion Hush UI design system with 51 accessible primitives and 28 responsive layout sections. Built for intentional web development with zero runtime baggage.
- 51 Core Primitives: From interactive sparklines, metric tiles, and touch-swipeable carousels to date pickers, inline edit fields, scrollspy TOCs, OTP inputs, waveform players, tag inputs, and live password meters.
- 28 Pre-Made Responsive Sections: Multi-step onboarding wizards, customer testimonial walls, interactive pricing calculators with seat sliders, customer case study heroes, and comparison matrices.
- GPU Spring Physics: Calibrated cubic-bezier curves for tactile hover, sliding, and click responses.
- Sky Morphing Themes: Dynamic light/dark theme switching with smooth transitions and CSS custom property tokens.
- Framework Agnostic: Works out of the box with vanilla HTML, Vite, Next.js, React, Vue, Svelte, and Astro.
- Pure CSS + Vanilla JS: Zero heavy runtime frameworks required.
npm install @zak1.uhh/hush-uiOr with yarn / pnpm / bun:
pnpm add @zak1.uhh/hush-ui
# or
yarn add @zak1.uhh/hush-ui
# or
bun add @zak1.uhh/hush-ui// Import core styles (tokens, reset, and all primitives)
import '@zak1.uhh/hush-ui/css';
// Import initializers
import { initHushUI, toggleTheme, showToast } from '@zak1.uhh/hush-ui';
// Initialize all interactive components in the DOM
initHushUI();
// Trigger a toast notification
showToast({
title: 'Welcome to Hush UI',
message: 'Calm, spring-motion design tokens active.',
type: 'success'
});
// Toggle between light and dark mode
toggleTheme();- Button (
ui-button) — Primary, Secondary, Ghost, Destructive, and Outline variants. - Card (
ui-card) — Elevated surfaces with soft border tints and hover transitions. - Modal Window (
ui-modal) — Focus-trapped dialogs with spring entry transitions. - Accordion (
ui-accordion) — Animated expanding disclosure panels with chevron rotation. - Tabs (
ui-tabs) — Sliding pill active indicators and accessible keyboard navigation. - Range Slider (
ui-slider) — Dynamic gradient track fill with percentage synchronization. - Custom Scrollbars (
ui-scrollbar) — Slim, pill-styled Hush UI scrollbars for WebKit & Firefox. - Interactive Links (
ui-link) — Animated expanding underline bars and translate arrows. - Infinite Marquee Ticker (
ui-marquee) — Hardware-accelerated gapless twin-track scrolling. - Cursor Spotlight Glow Card (
ui-spotlight) — Real-time radial illumination following cursor coordinates. - Floating Spring Dock (
ui-dock) — macOS-inspired bottom toolbar with proximity icon magnification. - Before/After Image Slider (
ui-compare) — Split comparison canvas with tactile drag handle. - Interactive Timeline (
ui-timeline) — Vertical milestone rail with pulsing indicator nodes. - Toast Notifications (
showToast()) — Stackable popup notifications with auto-dismiss timers. - Drawer Sheet (
ui-drawer) — Left/Right side sliding flyout sheets. - Dropdown Menu (
ui-dropdown) — Contextual action popups with outside-click dismissal. - Popover (
ui-popover) — Tooltip-style rich popover bubbles. - Combobox (
ui-combobox) — Searchable autocomplete select dropdowns. - Command Palette (
ui-command) — GlobalCtrl+Ksearchable command modal. - Badge & Chips (
ui-badge,ui-chip) — Status badges, version pills, and removable filter chips. - Avatar & Avatar Stack (
ui-avatar,ui-avatar-stack) — Initials, images, and overlapping group stacks. - Alert Banner (
ui-alert) — Info, Success, Warning, and Destructive notice panels. - Progress Bar & Stepper (
ui-progress,ui-stepper) — Continuous progress bars and multi-step pipeline counters. - Rolling Odometer Counter (
ui-counter) — Animated tabular numeric stat rollers. - Bento Grid (
ui-bento) — Modular multi-span dashboard grid layout tiles. - Tooltip (
ui-tooltip) — Lightweight CSS hover micro-tooltips. - Keyboard Keycap (
ui-kbd) — 3D bevel styled shortcut keys. - Skeleton Shimmer (
ui-skeleton) — Smooth wave loading placeholder shimmers. - Theme Toggle Orb (
ui-theme-toggle) — Sky-morphing sun/moon/cloud animated switcher. - Form Controls (
ui-input,ui-label,ui-checkbox,ui-radio,ui-switch) — Complete calibrated inputs. - Stats Widget (
ui-stat) — Desktop metric tile with trend indicators. - Breadcrumb Trail (
ui-breadcrumb) — Multi-level hierarchical navigation trail. - Interactive Dropzone (
ui-dropzone) — Drag-and-drop file upload with animated dashed borders and queue preview. - Code Block & File Tree (
ui-code-block) — Tabbed multi-file syntax code viewer with clipboard copy. - Animated Number Ticker (
ui-ticker-card) — Smooth count-up animated KPI statistics. - Tree View / Directory (
ui-tree-view) — Collapsible nested file and folder explorer. - Interactive Rating Widget (
ui-rating-card) — Spring scale interactive star rating widget with live score feedback. - Segmented Control Switcher (
ui-segmented-control) — Spring pill sliding control with keyboard navigation. - Color Swatch & Hue Picker (
ui-color-picker) — Pastel swatch buttons with continuous hue slider and HEX copy. - Custom Context Menu (
ui-context-menu) — Collision-aware right-click floating menu with shortcut badges. - Multi-Slot OTP / PIN Input (
ui-otp-input) — 6-digit verification code inputs with auto-advance and backspace retreat. - Audio & Waveform Player Widget (
ui-audio-player) — Tactile audio widget with dynamic waveform visualizer and scrubber. - Tag / Token Auto-Complete Input (
ui-tag-input) — Pastel chip tags on Enter/Comma with backspace removal. - Password Strength Meter & Live Checklist (
ui-password-meter) — 4-tier strength progress bar and live criteria checklist. - Date Picker (
ui-date-picker) — Calendar popover with range capsules. - Inline Edit (
ui-inline-edit) — In-place text editing field. - Table of Contents (
ui-toc) — Scrollspy navigation sidebar. - Pagination (
ui-pagination) — Tactile page navigation bar. - Interactive Sparkline (
ui-sparkline) — SVG trend curve with bezier smoothing and hover crosshairs. - High-Density Metric Tile (
ui-metric-tile) — KPI metric card with timeframe switcher and embedded sparkline. - Touch-Swipeable Carousel (
ui-carousel) — Fluid card reel with swipe physics and dot indicators.
- Split Hero with Visual Canvas (
sec-hero-split) - Centered Conversion Hero with Search (
sec-hero-centered) - Desktop App Frame Showcase (
sec-hero-app) - 3x3 Bento Modular Feature Matrix (
sec-bento-matrix) - Tabbed Interactive Feature Showcase (
sec-features-tabs) - Curated Media & Visual Gallery (
sec-gallery-section) - 3-Tier SaaS Subscription Matrix (
sec-pricing-section) - Live Metrics & Stats Counter Ribbon (
sec-stats-ribbon) - Masonry Testimonials & Social Proof (
sec-testimonials-masonry) - 2-Column Accordion FAQ List (
sec-faq-section) - Leadership & Team Grid (
sec-team-section) - Kanban Milestone Roadmap (
sec-roadmap-section) - Interactive Split Contact Form (
sec-contact-section) - 4-Column Comprehensive Site Footer (
sec-footer-multi) - Conversion Action Callout Banner (
sec-cta-banner) - Lead Capture Newsletter Section (
sec-newsletter-section) - Product Changelog & Milestone Roadmap (
changelog-timeline) - Dual-Row Infinite Logo Cloud (
logo-cloud-marquee) - Floating Widget Conversion CTA (
cta-floating-widgets) - Interactive ROI & Savings Calculator (
calculator-roi) - Feature Comparison Table (
comparison-matrix) - Auth / Sign-In Screen (
auth-split) - Release Notes & Changelog Feed (
changelog-feed) - Interactive 404 / Empty State Canvas (
error-404) - Interactive Pricing Matrix & Slider (
pricing-interactive) - Customer Case Study & Success Story (
case-study) - Multi-Step Onboarding Wizard (
onboarding-wizard) - Customer Wall of Love & Video Testimonials (
testimonial-wall)
Hush UI uses clean CSS custom properties that you can easily customize:
:root {
/* Hush UI Palette Hues */
--primary: #C9B8DB; /* Desaturated Lilac */
--secondary: #B8D8D0; /* Muted Sage */
--butter: #F3E3B5; /* Soft Butter */
--blush: #F0C4C4; /* Soft Blush */
/* Radii */
--radius-sm: 10px;
--radius-md: 16px;
--radius-lg: 24px;
--radius-full: 9999px;
/* Spring Curves */
--spring-hover: cubic-bezier(0.34, 1.56, 0.64, 1);
--ease-soft-out: cubic-bezier(0.16, 1, 0.3, 1);
}Hush UI is fully typed. Import types directly:
import { initHushUI, ToastOptions, showToast } from '@zak1.uhh/hush-ui';
const toastConfig: ToastOptions = {
title: 'Saved',
message: 'Configuration updated successfully.',
type: 'success',
duration: 4000
};
showToast(toastConfig);MIT © 2026 Zaki