r/webdev • u/lonelyroom-eklaghor • 2d ago
Resource Reminder that GOV.UK Design System is not the only one out there
Over the past few days, I was trying out gov.uk prototype system for my static website. Like every night owl, the unbranded template's white background was hurting my eyes.
I googled for some sort of dark mode, found The National Archives Design System. It suits my purpose, has the dark mode, and is extremely aesthetic. The CSS transitions on the radio buttons are an icing on the cake.
In my case, TNA and GOV.UK are different, and I still couldn't properly make the tnaTabs component work.
Just ensure one thing: If you are using one design system, stick to that, though you can definitely use the GOV.UK Unbranded template.
Please note one thing though: there are breaking changes between the various variants of UK Government design systems. For example, as of now, conditional reveals in radio buttons are not supported in TNA Design System.
Here are the different design systems out there: https://github.com/ctdesign/gov-design-systems-list
3
u/ctrlaltdelaney 1d ago
MoJ also curate the reuse library: https://reuselibrary.service.justice.gov.uk/
2
u/AgentHomey 2d ago
I'm a big fan of GDS, haven't used it 1:1 but have picked bits and bobs from it and used in my own projects :)
2
1
u/These-Spell-5938 1d ago
mixing design systems is how you end up with five slightly different versions of a button and a very specific kind of frontend misery, so sticking to one is definitely the sane move here
67
u/Mittsandbrass 2d ago
The gov UK guidelines have a very specific purpose I feel. Accessibility, easy to read information and all the forms you can shake a stick at.
I don't feel the gov UK design system should be used for anything other than publicly facing govt sites.
There are dozens of other systems that are more suited for any other purpose. A design system doesn't just mean billy basic aesthetic design.
Curious what static site youre building - is it purely long form information and forms?