React Icons AI Usage
Use this page for AI-generated icon integration patterns with @editora/react-icons.
Canonical package
@editora/react-icons
Quick integration
import { IconProvider, CheckCircleIcon } from '@editora/react-icons';
<IconProvider value={{ size: 18, strokeWidth: 1.9 }}>
<CheckCircleIcon ariaLabel="Success" />
</IconProvider>;
AI prompt constraints
- Prefer named icon imports for static UI.
- Use
IconProviderfor consistent sizing/stroke. - Ensure icon-only actions have clear
aria-label. - Keep icon usage token/theme-driven (avoid hardcoded colors where possible).
SaaS example
- Storybook:
https://editora-ecosystem-storybook.netlify.app/?path=/story/ai-react-icons-saas-dashboard--icon-driven-operations