glyphara-icons
v1.2.0
Published
A collection of beautiful, weight-adjustable SVG icons.
Maintainers
Readme
glyphara-icons
A collection of beautiful, weight-adjustable SVG icons.
✨ Features
- 🎨 4 Style Weights: Outline, Fill, Broken, Duotone
- 🌳 Tree-shakable: Import only what you use
- 🧠 Fully Typed: TypeScript definitions included
- ⚡ Zero Dependencies: Lightweight and fast
- 🎯 React 16.8+ Compatible
📦 Installation
npm install glyphara-iconsor
yarn add glyphara-icons🚀 Quick Start
import { Heart, Star, User } from "glyphara-icons";
function App() {
return (
<div style={{ display: "flex", gap: 16 }}>
<Heart size={32} color="red" weight="broken" />
<Star size={24} />
<User size={48} color="#4f46e5" weight="fill" />
</div>
);
}🧩 Props
| Prop | Type | Default | Description |
| ---------- | ---------------------------------------------- | ---------------- | -------------------------- |
| size | number | 24 | Width & height of the icon |
| color | string | "currentColor" | Stroke / fill color |
| weight | "fill" \| "broken" \| "outline" \| "duotone" | "outline" | Icon style variant |
| ...props | SVGProps<SVGSVGElement> | — | Standard SVG props |
🎨 Weight Variants
Each icon includes:
- Outline — Clean line style
- Fill — Solid filled style
- Broken — Stylized stroke design
- Duotone — Two-layer tone styling
🗂 Available Icons
📝 Changelog
1.2.0
- Fixed: icon markup no longer contains a stray
</svg>, which caused hydration errors in server-rendered apps (Next.js and others). - Renamed
InfinitytoInfinitySign, because the old name collided with the globalInfinityin some bundlers.Infinitystill works as a deprecated alias and will be removed in the next minor version.
📄 License
MIT © 2026 moamfar
