Quick Start
Get up and running with Fysk in under 2 minutes.
Time: ~2 minutes
Steps: 3 (one is copy-paste)
Result: State-aware components
1
Install Dependencies
Fysk requires framer-motion for its state-aware animations. Install it along with the core library:
bash
bash
If you are using the CLI to add components, it will attempt to install these automatically.
2
Add the Provider
Create a providers file and wrap your app. Fysk comes with animations enabled by default:
tsx
tsx
Then wrap your root layout:
tsx
tsx
3
Use It!
That's it! Now you can use state-aware components:
tsx
tsx
The button automatically shows loading spinners, success icons, and buttery-smooth transitions between states.
Built with 💖 | Created by Yashraj