npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

fractalicons

v0.3.0

Published

[![npm version](https://img.shields.io/npm/v/fractalicons.svg)](https://www.npmjs.com/package/fractalicons) [![license](https://img.shields.io/npm/l/fractalicons.svg)](https://opensource.org/licenses/MIT)

Readme

fractalicons

npm version license

A comprehensive, tree-shakeable icon library for Svelte 5 featuring 27,000+ icons across 25 popular open-source icon families with short, ergonomic import prefixes.

I built this to be able to sample and use multiple icon families through a single workflow and pipeline. Built with love on SvelteKit.

  • Svelte 5 Runes — built specifically for Svelte 5 with native rune reactivity.
  • Tree-Shakeable — each family compiles to a single module of IconData payloads; named imports shake down to just the icons you reference (~0.3 KB per icon in your bundle).
  • Prefix-cased — fast to type (lu for Lucide, ph for Phosphor, re for Remix, etc.) with full-name aliases preserved.
  • Color & Stroke Preserved — colors are normalized to currentColor and presentation attributes (strokes, stroke-widths, animations, fill styles) are kept intact.
  • Animated icons — the Material Animated family plays CSS animations with a configurable trigger (hover, click, on-view, loop…).
  • Accessible — automatic role="img", aria-hidden, and <title> / aria-labelledby handling.
  • TypeScript-first — every icon and prop is fully typed.

Requirements

  • Svelte 5 (svelte@^5.0.0, declared as a peer dependency) — the Icon component uses runes.
  • ESM only — the package ships as ES modules ("type": "module"). Works out of the box with SvelteKit, Vite, and any modern bundler.

Installation

pnpm add fractalicons
# or
npm install fractalicons
# or
yarn add fractalicons

Quick Start

Import the Icon component once, then import individual icons from any family's subpath. Icons are plain data objects — you pass them to Icon.

<script lang="ts">
	import { Icon } from 'fractalicons';
	import { luActivity, luSparkles } from 'fractalicons/lucide';
	import { phHeart, phAcorn } from 'fractalicons/phosphor';
	import { reFireLine } from 'fractalicons/remix';
	import { icAccessibilitySign } from 'fractalicons/iconoir';
	import { anAccountBook } from 'fractalicons/anticons';
	import { cuSpeedometer } from 'fractalicons/coreui';
	import { faFlameOutline } from 'fractalicons/famicons';
	import { ciCoffeeCup } from 'fractalicons/circum';
	import { tbArrowMerge } from 'fractalicons/tabler';
	import { heAcademicCap } from 'fractalicons/heroicons';
	import { feActivity } from 'fractalicons/feathericons';
	import { maaLoadingLoop } from 'fractalicons/materialanim';
</script>

<!-- Basic icon (defaults to 1em, follows font-size and color) -->
<Icon icon={luActivity} />

<!-- Custom size (number for px, or a string with units) -->
<Icon icon={phHeart} size={24} />
<Icon icon={reFireLine} size="1.5rem" />

<!-- Accessible with a title (sets role="img" + <title>) -->
<Icon icon={luActivity} title="Activity" />

<!-- Any standard SVG attribute passes through (class, style, stroke, …) -->
<Icon icon={maaLoadingLoop} size={32} class="text-blue-500" />

<!-- Animated icon with a play trigger -->
<Icon icon={maaLoadingLoop} size={32} trigger="hover" />