fastMDUI v0.1.0 - Initial Release π
We're excited to announce the first stable release of fastMDUI - Material Design UI components for FastHTML!
π― Overview
fastMDUI brings Google's Material Design 3 to FastHTML, providing a complete set of ready-to-use UI components with built-in theming, icons, and responsive design.
β¨ Features
Components (25+)
- Form Components: Button, TextField, Select, Checkbox, Radio, Switch, Slider
- Layout Components: Card, List, ListItem, Divider, Div
- Navigation: TopAppBar, NavigationBar, NavigationDrawer, Tab, TabPanel
- Feedback: Dialog, Snackbar, Tooltip, Badge, Progress
- Display: Icon, Avatar, Chip, Fab
Theming
- π Dark/Light Mode - Built-in theme toggle with system preference detection
- π¨ Customizable Colors - Easy primary color configuration
- π€ Google Open Sans Font - Professional typography by default
- πΎ Persistent Preferences - Theme choice saved in localStorage
Icons
- π 2000+ Material Icons - Multiple variants (outlined, filled, rounded, sharp)
- β‘ Easy Integration - Simple icon attribute on components
- π¨ Customizable - Support for custom icon styling
Developer Experience
- π¦ Zero Configuration - Works immediately with sensible defaults
- π― Type-Safe - Clear Python component APIs
- π± Responsive - Mobile-first design
- π Well Documented - Comprehensive examples and guides
- π§ͺ Tested - Extensive test coverage
π¦ Installation
pip install fastmduiπ Quick Start
from fasthtml.common import FastHTML, serve
from fastmdui import MDUI, Button, Card
app = FastHTML(hdrs=MDUI.headers(font="open-sans"))
@app.get("/")
def home():
return Card(
title="Welcome to fastMDUI",
content=Button("Get Started", variant="filled", icon="rocket_launch")
)
serve()π Documentation
- GitHub Repository: https://github.com/yourusername/fastmdui
- PyPI Package: https://pypi.org/project/fastmdui/
- Examples: See
/examplesdirectory for demos
π Acknowledgments
- MDUI Team - For the excellent Material Design implementation
- FastHTML Team - For the amazing Python web framework
- Google Material Design - For the design system and icons
πΊοΈ What's Next
Planned for future releases:
- Additional MDUI components
- Custom theme builder utility
- Component showcase website
- Video tutorials
- Performance optimizations
π¬ Feedback
Found a bug? Have a feature request? Please open an issue!
Full Changelog: https://github.com/seekerquest/fastmdui/commits/v0.1.0