🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@page-speed/icon

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@page-speed/icon

Performance-optimized dynamic icon component for DashTrack and OpenSite apps.

Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
62
16.98%
Maintainers
2
Weekly downloads
 
Created
Source

@page-speed/icon

PageSpeed Map React Component

Performance-optimized dynamic icon loader for DashTrack and OpenSite.

Install

pnpm add @page-speed/icon

Usage

import { Icon } from "@page-speed/icon";

<Icon name="lucide/home" size={24} apiKey="your-icons-api-key" />;

Features

  • Dynamic icon fetch from icons.opensite.ai
  • prefix/name and prefix:name name formats
  • Inline SVG rendering with currentColor normalization
  • In-memory response caching with in-flight request de-duplication
  • Tree-shakable exports for core/types/utils

API

  • Icon (primary component)
  • DynamicIcon (compatibility alias)
  • buildIconRequestUrl(...)
  • parseIconName(...)
  • processSvgForCurrentColor(...)

See docs/README.md for migration and detailed API docs.

Keywords

react

FAQs

Package last updated on 18 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts