Core Components
MotionIcon
The main component for rendering animated Lucide icons
Props Reference
Complete list of all available props and their types
Type Definitions
Motion Icons React is built with TypeScript and provides comprehensive type definitions.Animation Types
Component Props
Usage Patterns
Basic Usage
Type Safety
The library provides full type safety for all props:Generic Component Pattern
Create reusable components with proper typing:Error Handling
The library includes built-in error handling for common issues:Invalid Icon Names
Animation Conflicts
Performance Considerations
Bundle Size
Motion Icons React is optimized for minimal bundle impact:- Tree-shaking support for unused animations
- Lazy loading of animation definitions
- Efficient CSS-in-JS implementation
Runtime Performance
- Hardware-accelerated animations using CSS transforms
- Minimal JavaScript execution during animations
- Automatic cleanup of animation resources
Browser Compatibility
The library supports all modern browsers with graceful degradation:Migration Guide
From Lucide React
Migrating from Lucide React is straightforward:Version Updates
Check the changelog for breaking changes between versions.Next Steps
MotionIcon Component
Detailed documentation for the main component
Props Reference
Complete props documentation with examples