Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
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.

latest
Source
npmnpm
Version
0.1.2
Version published
Maintainers
2
Created
Source

@page-speed/icon

Performance-optimized dynamic icon loader for the OpenSite AI site builder platform

PageSpeed Map React Component


npm version npm downloads License TypeScript Tree-Shakeable

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(...)

Keywords

react

FAQs

Package last updated on 04 Mar 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