Quick Setup
Get up and running with Hux UI in just a few minutes. This guide will help you create a simple Flutter app using Hux UI components.For Designers: Check out the Figma library to explore all Hux UI components visually and use them in your design workflow.
1
Install Hux UI
Add Hux UI to your Flutter project:
2
Configure Themes
Set up Hux UI themes in your
main.dart
:main.dart
3
Build Your First UI
Create a simple page with Hux UI components:
4
Run Your App
Start your Flutter app to see Hux UI in action:
What You Built
Congratulations! You just created a Flutter app with:- HuxCard - A beautiful card container with title and subtitle
- HuxInput - An enhanced text input with icon and validation support
- HuxDateInput - Date input with automatic formatting and calendar picker
- HuxButton - Multiple button variants with loading states
- Automatic theming - Light and dark mode support
Common Patterns
Here are some common patterns you’ll use with Hux UI:Form Building
Form Building
Combine text fields, buttons, and validation:
Loading States
Loading States
Show loading indicators and overlays:
Theme Customization
Theme Customization
Customize colors and apply themes:
Data Display
Data Display
Show data with charts and badges:
Next Steps
Now that you’ve built your first Hux UI app, explore more features:Component Reference
Explore all available components and their APIs
Theming Guide
Learn how to customize themes and design tokens
Advanced Examples
See complex implementations and best practices
Accessibility
Make your apps accessible with Hux UI
Get Help
If you need assistance:- Issues: GitHub Issues
- Source Code: github.com/zoeglbrt/hux
- Package: pub.dev/packages/hux
- Figma Library: Figma Community
The complete source code for this quickstart example is available in the Hux UI repository examples.