

OnliveUI: is a framework agnostic library designed to be
adopted in Onlive interfaces.
- Works with all frameworks 🧩
- Works with CDNs 🚛
- Fully customizable with CSS 🎨
- Includes a dark theme 🌛
- Built with accessibility in mind ♿️
- First-class React support ⚛️
- Built-in localization 💬

Quick Start
Add the following code to your page.
<link rel="stylesheet" href="https://cdn.onlive.site/@onlive.site/ui@1.8.20/cdn/themes/light.css" /> <script type="module" src="https://cdn.onlive.site/@onlive.site/ui@1.8.20/cdn/onlive-ui-autoloader.js"></script>
Now you have access to all of OnliveUI’s components! Try adding a button:
This will activate OnliveUI’s experimental autoloader, which registers components on the fly as you use them. To learn more about it, or for other ways to install OnliveUI, refer to the installation instructions.
Web components solve these problems. They’re supported by all modern browsers, they’re framework-agnostic, and they’re part of the standard, so we know they’ll be supported for many years to come.
This is the technology that OnliveUI is built on.
Browser Support
OnliveUI is tested in the latest two versions of the following browsers.





Critical bug fixes in earlier versions will be addressed based on their severity and impact.
If you need to support IE11 or pre-Chromium Edge, this library isn’t for you. Although web components can (to some degree) be polyfilled for legacy browsers, supporting them is outside the scope of this project. If you’re using OnliveUI in such a browser, you’re gonna have a bad time.
Attribution
Special thanks to the following projects and individuals that help make OnliveUI possible.
- Starter components library shoelace
- Components are built with Lit
- Component metadata is generated by the Custom Elements Manifest Analyzer
- Documentation is powered by 11ty
- Color primitives are inspired by Tailwind
- Icons are courtesy of Bootstrap Icons
- The homepage illustration is courtesy of unDraw
- Positioning of dropdowns, tooltips, et al is handled by Floating UI
- Animations are courtesy of animate.css
- Search is powered by Lunr