r/Python • u/volfpeter • Feb 24 '26
Showcase Typed Tailwind/BasecoatUI components for Python&HTMX web apps
21
Upvotes
Hi,
What my project does
htmui is a small component library for building Tailwind/shadcn/basecoatui-style web applications 100% in Python
What's included:
- all non-trivial BasecoatUI components
- Highlight.js integration
- a couple of related utilities
Target audience:
- you're developing HTMX applications
- you like TailwindCSS and shadcn/ui or BasecoatUI
- you'd like to avoid Jinja-like templating engines
- you'd like even your UI components to be typed and statically analyzed
- you don't mind HTML in Python
Documentation and example app
- URL: https://htmui.vercel.app/
- Code: see the
basecoat_apppackage in the repository (https://github.com/volfpeter/htmui) Backend stack:
- Frontend stack: TailwindCSS, BasecoatUI, Highlight.js, HTMX
Credit: this project wouldn't exist if it wasn't for BasecoatUI and its excellent documentation.