Basic Components - Server-side port of shadcn/ui using JinjaX, htmx, Alpine.js and Tailwind CSS #103
phernandez
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
Really liked your work, i was also thinking of doing something similar currently i am relying on Flowbite with sprinkles of Alpine JS to maintain client side reactivity but liked your adoption of shadcn UI. Will try to adopt certain more components based on guidelines provided on website l. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi JinjaX community! 👋
I wanted to share Basic Components (https://components.basicmachines.co), a collection of reusable server-side components built with JinjaX, Tailwind CSS, and htmx based on shadcn/ui.
The project adapts shadcn/ui's component patterns for server-first Python web applications by integrating:
Here's a complete component example:
And how you use it:
Key features:
Installation & Development Tools:
The AI workflow has been particularly effective for maintaining consistency when porting components - I've used LLMs to handle the conversion of React/Tailwind patterns to JinjaX/htmx while preserving the styling and accessibility features.
The project is MIT licensed and welcomes contributions.
Documentation: https://components.basicmachines.co/ with working previews and usage code.
Source: https://github.com/basicmachines-co/basic-components
The project is in active development and I welcome feedback from the JinjaX community.
Thanks!
-Paul
Beta Was this translation helpful? Give feedback.
All reactions