MIT License 705 Icons CSS

css.gg

700+ open-source UI icons available as pure CSS, SVG, Figma components, PNG, and TSX styled-components. Designed on a 24x24 grid with CSS variable-based resizing. MIT licensed (v2.0.0).

css.gg is a unique open-source icon library created by Astrit Malsija that pioneered the concept of icons built entirely with CSS. Originally launched as the world's first icon library designed by code, css.gg uses CSS pseudo-elements, borders, and transforms to render each icon without relying on SVG paths, icon fonts, or image files. The library has grown to include over 700 icons and earned nearly 10,000 GitHub stars. What makes css.gg distinctive is its multi-format approach. Every icon is available in five formats: pure CSS (using just a tag with a gg- prefixed class name), SVG for standard vector usage, SCSS for Sass workflows, TSX as styled-components for React projects, and PNG in both black and white variants. The library also ships as a complete Figma file with all icons organized as components, and has over 52,000 installs on Figma. An SVG sprite containing all icons is included for efficient batch loading. Resizing is handled through a single CSS custom property ( For developers, css.gg is available via npm (npm i css.gg) and through CDN endpoints on UNPKG and jsDelivr. Individual icons can be loaded on demand - link a single CSS file per icon, import a single SCSS partial, or cherry-pick SVG files. The API at css.gg also serves individual icons by name. A JSON file (icons.json) includes all icon markup, CSS, SVG, and TSX data for programmatic access. The library integrates with Angular via @ng-icons/css.gg and is indexed on Iconify and react-icons. Beyond the 700+ icons, css.gg also includes a collection of 6,000+ unique glyphs (symbols, patterns, colors, and layouts) available through the companion GLYF app and Raycast extension. Icons are tagged across categories including interface, design, content, brands, arrows, and more. The css.gg website has accumulated over 1.7 million views. IMPORTANT: Version 2.0.0 and earlier are MIT licensed. From version 2.1.2 onward, the project switched to a custom restrictive license requiring attribution, prohibiting derivative works, and requiring permission for commercial use. This listing references v2.0.0, the last tagged MIT release on GitHub.

css.gg-2.0.0.zip
By css.gg 84 views 2,253 downloads
705 icons available

Available Formats

CSS SVG SCSS TSX (styled-components) PNG SVG Sprite Figma JSON XML npm CDN

Pack Details

Total Icons 705
License MIT
Creator css.gg
Category SVG Icon Packs

Usage Rights

This icon pack is free to use in personal and commercial projects. Please check the original license for attribution requirements.

View full license

Explore More Icon Packs

Browse our full collection of curated icon sets

View All Collections
SVG copied to clipboard