@kaspernowak/allergen-icons
| Install | |
|---|---|
npm install @kaspernowak/allergen-icons |
|
| Latest Version: | 0.1.0 |
| License: | MIT |
| Last Updated: | Mar 17, 2026 |
| Links: | GitHub · npm |
@kaspernowak/allergen-icons
Framework-neutral allergen icon assets extracted from the upstream dsanchez07/react-allergens package.
What this package contains
- raw SVG assets under
@kaspernowak/allergen-icons/svg/* - normalized icon metadata via
@kaspernowak/allergen-icons/manifest - icon name unions via
@kaspernowak/allergen-icons - per-icon data modules via
@kaspernowak/allergen-icons/icons/* - collection metadata via
@kaspernowak/allergen-icons/collections - collection-specific modules via
@kaspernowak/allergen-icons/collections/*
Example
import { allergenIcons, allergenIconNames } from '@kaspernowak/allergen-icons'
import fishIcon from '@kaspernowak/allergen-icons/icons/FishIcon'
import { erudusCollection, erudusIconNames } from '@kaspernowak/allergen-icons/collections/erudus'
import erudusFishIcon from '@kaspernowak/allergen-icons/icons/erudus/FishIcon'
Each icon module includes the icon name, title, raw SVG path, default colors, and a typed render tree that can be used to generate bindings for other frameworks.
Collections
The root package exports the default react-allergens set. Extra icon families are namespaced under collection subpaths so they can coexist without component-name collisions.
Available collection ids:
react-allergenserudus
Attribution
This package contains an adaptation of icons from dsanchez07/react-allergens, which is MIT-licensed upstream. Attribution notes are preserved in NOTICE.
Related Packages
Vue 3 allergen icon components generated from @kaspernowak/allergen-icons core a...
Comprehensive icon library for the Sprout Design System, available as React and...
Version History
| Version | Released | License |
|---|---|---|
| 0.1.0 | MIT |