
Company News
Socket Joins New OpenJS Program to Fund Node.js Security Work
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.
@schematichq/schematic-icons
Advanced tools
React component library for Schematic's icon system with TypeScript support
A React component library for displaying Schematic icons. Built with TypeScript and modern CSS, providing type-safe icon usage.
yarn add @schematichq/schematic-icons
import { Icon } from '@schematichq/schematic-icons';
function MyComponent() {
return (
<div>
<Icon name="check" />
<Icon name="close" className="text-red" />
<Icon name="arrow-right" style={{ color: 'blue' }} />
</div>
);
}
The Icon component is the main way to use Schematic icons in your React application:
import { Icon } from '@schematichq/schematic-icons';
function MyComponent() {
return (
<div>
<Icon name="check" /> {/* Will error if 'check' is not a valid icon */}
<Icon name="close" className="text-red" />
<Icon name="arrow-right" style={{ color: 'blue' }} />
</div>
);
}
The Icon component accepts the following props:
interface IconProps {
/** The name of the icon to display */
name: IconNames;
/** Additional CSS classes to apply to the icon */
className?: string;
/** Additional CSS styles to apply to the icon */
style?: React.CSSProperties;
}
The package provides full TypeScript support with type-safe icon names:
import { IconNames } from '@schematichq/schematic-icons';
// Type-safe icon names
const iconName: IconNames = 'check'; // Will error if 'check' is not a valid icon
The package includes 100+ icons across various categories:
arrow-up, arrow-down, arrow-left, arrow-rightchevron-up, chevron-down, chevron-left, chevron-rightbackspace, menu, sidebarcheck, close, search, filtercopy, link, move, pencilfolder, folder-plus, folder-minusdots-horizontal, dots-verticalplus-minus, plus-rounded-outlinecollapse, collapse-emptystripe, paypal, visa, mastercardamex, applepay, amazonpaywallet, credit, bankgithub, google, clerkwebhook, integration, apicode, server-search, databaseFor a complete list of available icons, you can use the iconsList export:
import { iconsList } from '@schematichq/schematic-icons';
console.log(iconsList); // Array of all available icon names
The package exports the following:
// React Component
export { Icon } from '@schematichq/schematic-icons';
// Types
export type { IconProps } from '@schematichq/schematic-icons';
export type { IconNames } from '@schematichq/schematic-icons';
// Utilities
export { iconsList } from '@schematichq/schematic-icons';
IconNames: A union type of all available icon namesIconProps: The props interface for the Icon componenticonsList: An array of all available icon namesClone the repository:
git clone https://github.com/SchematicHQ/schematic-icons.git
cd schematic-icons
Install dependencies:
yarn install
The following yarn commands are available:
# Build the project (generates icons and compiles TypeScript)
yarn build
# Clean build artifacts and generated files
yarn clean
# Generate icon fonts and type definitions
yarn generate
# Run a complete build (clean, generate, and build)
yarn build:all
# Run ESLint on TypeScript files
yarn lint
# Prepare the package for publishing (runs build)
yarn prepare
Please see our Contributing Guide for details.
MIT © Schematic
This package includes icons from The Noun Project under a paid license. Icons may only be used as part of this package.
Missing attribution? Submit a request.
FAQs
React component library for Schematic's icon system with TypeScript support
The npm package @schematichq/schematic-icons receives a total of 4,074 weekly downloads. As such, @schematichq/schematic-icons popularity was classified as popular.
We found that @schematichq/schematic-icons demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.

Company News
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.

Security News
Two compromised GitHub Actions were re-enabled with malicious tags intact, exposing thousands of downstream repositories to Mini Shai-Hulud.

Research
/Security News
A malicious Firefox extension fetches its payload after installation to evade detection, steal Google session cookies, and automate account takeover.