A modern React component library showcasing frontend architecture, design patterns, and technical craftsmanship. Built with TypeScript, CSS custom properties, and zero runtime overhead.
Pick an accent color and interact with real components. Everything you see below is built with MantleUI.
Live component preview with hot reload.
Built to demonstrate production-grade React patterns used in real component libraries.
Flexible multi-part components like Tabs, Accordion, and Card that share implicit state.
<Tabs> + <Tabs.List> + <Tabs.Trigger> + <Tabs.Content>Logic-only hooks like usePopover() and useControllable() for full rendering control.
const { isOpen, triggerProps, contentProps } = usePopover()Type-safe "as" prop lets any component render as a different HTML element.
<Button as="a" href="/about">Link Button</Button>Every stateful component works as both controlled and uncontrolled out of the box.
<Toggle> or <Toggle pressed={value} onPressedChange={set}>Every component follows strict engineering standards.
WAI-ARIA, keyboard navigation, focus management, screen reader support
Strict TypeScript, no 'any' escapes, full prop inference
CSS custom properties, 6 accent colors + custom hex, dark mode
Plain CSS with mantle- prefix, no CSS-in-JS overhead
System preference detection, localStorage persistence, SSR-safe
Mobile-first design, responsive props tables, touch-friendly
73 components organized across 8 categories.