Component examples
Button with Loader
A button with a loader that shows when the button is clicked.
Basic success state transition demonstrating idle → loading → success → idle flow.
Success Flow
Error state transition demonstrating idle → loading → error → idle flow with shake animation.
Error Flow
Loading state with custom text demonstrating spinner with descriptive loading message.
With Loading Text
Using custom icons in config array to customize success and error state icons.
Custom Icons
Complex flow demonstrating multiple loading states before reaching success state.