Skeleton & Switch Component Test
Testing skeleton loading states and switch toggles
Skeleton - Card Loading
Skeleton - List Loading
Skeleton - Various Shapes
Switch - Basic
Switch - With State
Switch - Disabled
Implementation Notes
- ✅ Skeleton: bg-muted for loading states
- ✅ Flexible sizing via className
- ✅ Works with any border-radius
- ✅ Switch: Shadcn's h-5 w-9 sizing
- ✅ Relume's shadow-lg on thumb for depth
- ✅ Controlled and uncontrolled modes
- ✅ Disabled state support
- ✅ Focus ring with offset for accessibility