untitledui-js
v2.2.232
Published
<p align="center"> <img src="https://untitledui.publicsource.space/logo.svg" alt="Untitled UI Logo" width="100" height="100"> </p>
Downloads
11,076
Maintainers
Readme
Overview
Official JavaScript implementation of Untitled UI icons. Features:
- Full SVG specification support
- Framework packages: React (17+), Vue 3, SolidJS, Qwik
- TypeScript-first
- Tree-shaking
- Semantic versioning
Installation
# Base package
npm install untitledui-js
# React + Motion
npm install untitledui-js motionUnified API
// React/Solid/Qwik
<Icon size={24} color="currentColor" />
<!-- Vue -->
<icon :size="24" color="var(--primary)" />React Motion
import { motion } from "motion/react";
<Icon
animation={{
motion: motion,
attributes: {
svg: { whileHover: { scale: 1.1 } },
path: { transition: { duration: 0.5 } },
},
}}
/>;Core Features
SVG Compliance
All icons support standard SVG attributes:
- viewBox, fill, stroke
- Class/style overrides
- Accessibility attributes (aria-*, role)
Compatibility
| Framework | Version | | ------------ | ------- | | React | 17+ | | Vue | 3+ | | Solid & Qwik | 1+ |
License
MIT © 2023 Untitled UI
