coconut_design_system 0.9.9
coconut_design_system: ^0.9.9 copied to clipboard
The Coconut Design System For Coconut Vault/Wallet. Anyone who wants to use this design system is free to do so.
π₯₯ Coconut Design System #
The Coconut Design System is a modern, reusable UI component library for Flutter, developed by Nonce Lab. It provides a consistent, customizable, and theme-aware UI for building high-quality mobile applications.
π Features #
- Reusable UI Components β Buttons, Tooltips, Toasts, Bottom Sheets, etc.
- Theme-Aware β Supports light & dark mode.
- Highly Customizable β Easily change colors, fonts, sizes, etc.
- Performance Optimized β Built with Flutter best practices.
- MIT Licensed β Open-source, with Commons Clause.
π¦ Installation #
To use Coconut Design System in your Flutter project, add it as a dependency:
1οΈβ£ Add the Package #
flutter pub add coconut_design_system
Or manually add it in your pubspec.yaml:
dependencies:
coconut_design_system: latest_version
2οΈβ£ Import the Library #
import 'package:coconut_design_system/coconut_design_system.dart';
π Usage Guide #
π’ Buttons #
CoconutButton(
text: "Click Me",
onPressed: () {
print("Button Clicked!");
},
);
π‘ Toast Messages #
CoconutToast.showToast(
context: context,
text: "This is a toast message!",
);
π΅ Bottom Sheet #
showModalBottomSheet(
context: context,
builder: (context) => CoconutBottomSheet(
appBar: AppBar(title: Text("Title")),
body: Text("This is a bottom sheet."),
),
);
π¨ Theming & Customization #
The Coconut Design System supports light and dark mode, and allows you to customize: β’ Colors β’ Typography β’ Shapes & Borders β’ Icons & Sizes
Example:
CoconutButton(
text: "Custom Button",
backgroundColor: Colors.purple,
textColor: Colors.white,
);
π Available Components #
| Component | Description |
|---|---|
| β Buttons | Standard, Segmented, Underlined Buttons |
| π Toasts | Top & Bottom Toast Notifications |
| π₯ Bottom Sheets | Modal & Fixed Bottom Sheets |
| π Tooltips | Fixed & Floating Tooltips |
| π Pulldowns | Custom Dropdown Menus |
| π Indicators | Circular & Progress Indicators |
| π³ Inputs | Checkbox, Chip, Pulldown, Stepper, Switch, TagChip, TextField |
| π Overlays | Popup, Pulldown Menu, Toast, Bubble Clipper |
| π¨ Theme | Color Scheme, Typography, Data |
| π App Bar | Customizable App Bar & Buttons |
| πΌ Icons | Custom Icon Components |
License #
This project is licensed under the MIT License with Commons Clause.
Β© 2025 Nonce Lab β All rights reserved. #
π€ Contributing #
We welcome contributions! If youβd like to improve the Coconut Design System, follow these steps:
- Fork the repository
- Create a feature branch (
git checkout -b new-feature) - Commit your changes (
git commit -m "Add new feature") - Push to the branch (
git push origin new-feature) - Submit a Pull Request! π
π Support & Feedback #
For issues, feature requests, or feedback, feel free to:
- Open an issue on GitHub
- Contact us at hello@noncelab.com
β Star & Follow #
If you like this project, please star the repo and follow us for updates! πβ¨