by strzibny on 4/10/25, 3:55 AM with 38 comments
by petepete on 4/10/25, 6:24 AM
There's a form builder and library of components (built and maintained by me) which, between them, provide full coverage. Most new Rails services use them.
It's a good match because accessibility is one of the Design Systems' primary concerns so JavaScript is used very sparingly and only to enhance.
They're not official, only Nunjucks is supported by the Design System team.
https://design-system.service.gov.uk/
by gedy on 4/10/25, 8:02 AM
I worked with our UX team at a mixed tech company (Rails, React, mobile) who defined the patterns and tokens, and then my team implemented so that we could use across our stack.
Largely this was accomplished via ensuring the design system could be used via CSS and we settled on Bootstrap with custom theme. This made it easy enough to use across Rails views/view components and React components.
Bootstrap is not sexy to devs now but you could do same with Tailwind and Daisy UI with custom theme.
With that said, component libraries are really helpful, but I prefer to align them with the design system and not the other way around.
by pootsbook on 4/10/25, 8:16 AM
https://csszero.lazaronixon.com/lookbook/pages/overview
which bills itself as an "opinionated front-end starter kit" specifically for Rails and includes Stimulus.js code for JavaScript functionality.
It seems the benefits are that it is no build (pure CSS with CSS variables) and easy to modify and extend.
by namiwang on 4/10/25, 11:12 AM
by mikker on 4/10/25, 10:07 AM
Everyone seems to have their own opinion on what something like this should and should be or do. Nitro Kit is my opinion and I'm getting a lot of joy from using it on my own sites and services.
It's free and open source and, full disclaimer, there's a paid premium offering too.
Here's a video about my reasoning behind building it:
by thuanao on 4/10/25, 5:24 AM
by straws on 4/10/25, 2:47 PM
by jensenbox on 4/10/25, 2:56 PM
by danielvaughn on 4/10/25, 3:43 PM
Right now I’m trying to build a tool that produces an intermediate representation of your UI components, which can then be transpiled into whatever target format you prefer.
That way we can build design systems that aren’t coupled to a specific downstream tech stack.
by jensenbox on 4/10/25, 2:12 PM
by mosselman on 4/10/25, 9:22 AM
Tailwind has really rekindled my joy in creating views.
by perfmode on 4/10/25, 8:18 AM
by dzonga on 4/10/25, 8:26 AM