Open-source Flutter UI component library. Preview, copy, and paste high-quality Flutter widgets into your apps.
- Copy-paste components — No package installation required. You own the code.
- Live previews — See components in action before adding them to your project.
- Fully customizable — Modify any widget to fit your design system.
- Material 3 ready — Built with modern Flutter and Material Design 3.
- Open source — MIT licensed. Free for personal and commercial use.
- Browse the component library
- Find a component you like
- Copy the Dart code
- Paste it into your Flutter project
- Node.js v18+
- npm v9+
- Flutter SDK v3.11+
# Clone the repository
git clone https://github.com/Sonu-Hansda/flockui.git
cd flockui
# Install dependencies
npm install
# Start the development server
npm run devOpen http://localhost:3000 in your browser.
npm run render -- -Component <name> -Variant <variant>Example:
npm run render -- -Component button -Variant defaultflockui/
├── registry/ # Flutter component source files
├── renderer/ # Flutter web project for previews
├── lib/ # Website utilities
├── app/ # Next.js app router pages
├── components/ # React components for the website
├── scripts/ # Build & preview scripts
└── public/ # Static assets & built previews
We welcome contributions! See CONTRIBUTING.md for a complete guide on how to add new components, variants, and more.
Quick overview:
- Fork the repo
- Create your component in
registry/<component>/<variant>/ - Register metadata in
lib/component-meta.ts - Build the preview with
npm run render - Submit a pull request
This project is licensed under the MIT License — see the LICENSE file for details.
- Email: sonukumarhansda61@gmail.com
- GitHub Issues: https://github.com/Sonu-Hansda/flockui/issues