Zicon
Rendert ein vorab aus max.zeichen erzeugtes UI-Symbol in React-Inseln.
src/components/ui/zicon.tsxSource contract in German. The marked authoring notes below retain their original language.
Usage contract
Use directly
Entry point: src/components/ui/zicon.tsx
- name muss UiIconName aus der erzeugten Map sein; keine Phosphor-/Lucide-Namen erfinden.
- Das Symbol ist aria-hidden; Icon-only-Aktionen brauchen den Namen am übergeordneten Control.
Examples
No dedicated demo is assigned. Use the documented entry point and consumers below; this is not evidence of a missing runtime component.
API
Extracted from the source with the TypeScript parser. Inherited and imported types remain references; implementation is authoritative.
ZIcon({name, className}: {name: UiIconName; className?: string})Source usage
Website reference
This is static source evidence. A reachable module may contain conditional or unused branches. External consumers and staged static pages are outside this scan. No status authorizes deletion.
Website
- src/pages/en/work/[id].astro
- src/components/case/CasePage.astro
- src/components/islands/AiRead.tsx
- src/components/ui/zicon.tsx
Documentation
- src/pages/design-system/storybook-patterns.astro
- src/components/PanelHeader.astro
- src/components/islands/PanelMenu.tsx
- src/components/ui/zicon.tsx
Preview
- src/pages/vorschlag/cases/[id].astro
- src/components/case/CasePage.astro
- src/components/islands/AiRead.tsx
- src/components/ui/zicon.tsx
Consumers in source
Direct static, dynamic and type imports. Imports do not prove that a branch renders or that a proposal is published.
Dependencies
./icons·src/components/ui/icons.ts@/lib/utils·src/lib/utils.ts