Reactolith UI brings shadcn/ui components to the web as standard HTML custom elements.
Reactolith UI is a component library that wraps shadcn/ui components (built on Base UI) and exposes them as HTML custom elements (web components) via Reactolith.
This means you can use beautifully designed, accessible React components directly in your HTML — no React knowledge required.
<ui-button> instead of importing React componentsEach shadcn/ui component is wrapped in a thin Reactolith layer that registers it as an HTML custom element. For example, the React Button component becomes <ui-button>.
Props are passed as HTML attributes:
<!-- Instead of React JSX: -->
<!-- <Button variant="outline" size="lg">Click me</Button> -->
<!-- Use standard HTML: -->
<ui-button variant="outline" size="lg">Click me</ui-button>
The library consists of three layers:
Reactolith UI works in all modern browsers that support custom elements (Chrome, Firefox, Safari, Edge).