Themeable
7 built-in themes, one function to switch
30+ components, 7 themes, zero config. Works with React and plain HTML.
<script src="https://cdn.jsdelivr.net/npm/@colorsnap/ui/dist/colorsnap.umd.js"></script>
Everything you need to ship polished interfaces fast.
7 built-in themes, one function to switch
Drop in a script tag, no build step
30+ components across 6 categories
Zero heavy dependencies
Semantic HTML and ARIA patterns built in
Install via npm or use the CDN bundle
Pick the workflow that fits your project.
npm install @colorsnap/ui
import { Button } from '@colorsnap/ui';
export default function App() {
return <Button>Click me</Button>;
}
<script src="https://unpkg.com/react@18/umd/react.production.min.js"></script>
<script src="https://unpkg.com/react-dom@18/umd/react-dom.production.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@colorsnap/ui/dist/colorsnap.umd.js"></script>
const { Button } = window.ColorSnap;
ReactDOM.createRoot(document.getElementById('root'))
.render(React.createElement(Button, null, 'Click me'));
Switch themes instantly — no page reload required.
Start with the docs or browse the full component library.