Skip to content

Getting started

Pick the package for your framework:

sh npm install @public-information-symbols/react
import {
Ac001FullAccessibilityOrToiletsAccessible,
SymbolById,
} from '@public-information-symbols/react';
// Named component
<Ac001FullAccessibilityOrToiletsAccessible width={64} />
// Dynamic by ID
<SymbolById id="ac-001-full-accessibility-or-toilets-accessible" width={64} />

Every symbol has a slug ID based on its ISO code and name. Browse the Symbol Gallery to find the symbol you need. The ID format is: {code-lowercase}-{name-slugified}, e.g. ac-001-full-accessibility-or-toilets-accessible.

All packages ship full TypeScript types. The core package exports PISymbol and SymbolCategory if you need them:

import type { PISymbol, SymbolCategory } from '@public-information-symbols/core';
  • See the full props/attributes for each package in the Packages section.
  • Browse all 178 symbols in the Symbol Gallery.