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

@raynaui-icons/core

v1.0.0

Published

Framework-agnostic SVG icons from Rayna UI design kit with React and Vue component names

Readme

@raynaui-icons/core

Framework-agnostic SVG icons from Rayna UI design kit with React and Vue component names.

Installation

npm install @raynaui-icons/core

Usage

Import all icons

// CommonJS
const { light, solid } = require('@raynaui-icons/core');

// ESM
import { light, solid } from '@raynaui-icons/core'

Import specific style

// CommonJS
const lightIcons = require('@raynaui-icons/core/light');
const solidIcons = require('@raynaui-icons/core/solid');

// ESM
import lightIcons from '@raynaui-icons/core/light';
import solidIcons from '@raynaui-icons/core/solid';

Access individual icons

Each icon object contains:

  • name: Original filename (e.g., "home", "user")
  • svg: SVG markup string
  • reactName: React component name (e.g., "HomeIcon", "UserIcon")
  • vueName: Vue component name (e.g., "HomeIcon", "UserIcon")
// Access icon object
const homeIcon = lightIcons.home;
console.log(homeIcon.name);        // "home"
console.log(homeIcon.svg);          // "<svg>...</svg>"
console.log(homeIcon.reactName);    // "HomeIcon"
console.log(homeIcon.vueName);      // "HomeIcon"

// Or access properties directly
const homeSvg = lightIcons.home.svg;
const homeReactName = lightIcons.home.reactName;

Use with Strapi

This package is perfect for use with Strapi and strapi-plugin-icons-field:

// In your Strapi configuration
import { light, solid } from '@raynaui-icons/core';

// Pass icon list to strapi-plugin-icons-field
const iconList = Object.values(light).map(icon => ({
  name: icon.name,
  svg: icon.svg,
  reactName: icon.reactName,  // For React frontend
  vueName: icon.vueName       // For Vue frontend
}));

// Strapi can now return the appropriate component name
// based on your frontend framework

Icon naming convention

  • Original names: kebab-case (e.g., "home", "user-add", "arrow-down")
  • React names: PascalCase + "Icon" (e.g., "HomeIcon", "UserAddIcon", "ArrowDownIcon")
  • Vue names: PascalCase + "Icon" (e.g., "HomeIcon", "UserAddIcon", "ArrowDownIcon")

Examples

Basic usage

import { light } from '@raynaui-icons/core';

// Display icon in HTML
document.body.innerHTML = light.home.svg;

// Get component names for different frameworks
console.log(light.home.reactName);  // "HomeIcon"
console.log(light.home.vueName);    // "HomeIcon"

Framework-specific integration

// For React projects
import { light } from '@raynaui-icons/core';
const iconName = light.home.reactName; // "HomeIcon"

// For Vue projects
import { light } from '@raynaui-icons/core';
const iconName = light.home.vueName;   // "HomeIcon"

// For vanilla JS/HTML
import { light } from '@raynaui-icons/core';
const iconSvg = light.home.svg;        // "<svg>...</svg>"

Available icon styles

  • light: Outline-style icons
  • solid: Filled-style icons

License

MIT