Installation
This component requires
motion (Framer Motion) as a peer dependency:Usage
Props
The Line Spinner component does not accept any props. It displays a fixed 12-line spinner animation.Animation Details
- Lines: 12 lines arranged in a circle
- Rotation: Each line rotated by 30 degrees (360° / 12)
- Animation: Opacity fades from 0.1 to 1 and back
- Duration: 1 second per cycle
- Delay: 0.1 seconds between each line
- Size: 48px × 48px (12 × 12 in Tailwind)
- Color: Black in light mode, white in dark mode