by boundlessdreamz · 2y ago · 0 comments
Partially due to these and frustrated by lack of component libraries in Rails, I built and recently released a UI kit for Rails - https://zestui.com
Built with Phlex, styled with Tailwind with custom built Stimulus controllers.
It's got
- 25 themes
- Dark Mode
- Form Builder
- Icons
- Built in Flash Toast
- The components are responsive or have specific mobile views
- All the JS needed (Stimulus controllers) is wired up automatically
Phlex is a game changer. It is simple, powerful, intuitive and performant. I will never ever write a component as a partial/ViewComponent again.
A short video (50 seconds) showing it off: https://youtu.be/OQmDZddLtR8
Vue and Svelte are great but adopting them means that you are using Rails as just a backend. For the vast majority of apps, the Rails default stack works really well.
It'd be nice if clicking the blurred background area on a Sheet closed the sheet like the x button does.
You can see this for yourself by using a heat-map of your users mouse movement and positioning. Note how many try to close with clicking the background.
What do you mean?