govuk-frontend
react-scanner
govuk-frontend | react-scanner | |
---|---|---|
21 | 2 | |
1,206 | 613 | |
1.6% | 0.8% | |
9.9 | 5.0 | |
2 days ago | 4 months ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
govuk-frontend
- Why Gov.uk's Exit this Page component doesn't use the Escape key
-
Show HN: Gov.uk Vue, a Vue Component Library for the Gov.uk Design System
Haha, hi AL!
Yeah the target for this definitely isn't the regular transactional GOV.UK services. I've added a note at the top of the installation guide:
> GOV.UK Vue (or any JavaScript library) might not be suitable for your project if it's a standard transactional government service. Make sure you read the guidance on progressive enhancement and building more complex services before starting. GOV.UK Vue is designed to be used in more complex services, like interactive mapping, or internal tools where you've determined that JavaScript is acceptable.
GDS are also currently doing exploratory work to investigate how Frontend can be more closely integrated with React/Vue/Svelte/Angular etc, so it's definitely not verboten: https://github.com/alphagov/govuk-frontend/issues/5172
SSR/SSG is supported (the docs website is an SSG Nuxt app) but I need to do some work to improve how it works for certain components to ensure the state they're first rendered in is usable on its own (eg defaulting accordion components to open on the server-rendered version)
-
The Design System Ecosystem
It depends on the level of contribution.
You can contribute by responding to the discussions in the backlog[0], by improving the actual distributed styles and code[1] or suggesting improvements to the documentation in the link I posted above.
Bigger changes need to be backed up with user research, evidence of user needs and accessibility reviews and checks.
[0] https://github.com/alphagov/govuk-design-system-backlog
[1] https://github.com/alphagov/govuk-frontend
-
Can we at least modernize visually hidden?
However looking at the samples with modern browsers I was unable to see the overflow issue. So it might now be entirely possible that setting negative margin is not required anymore. And it happens to actually be harmful: negative margin can change the reading order in VoiceOver!
-
Daily Megathread - 04/03/2023
It's quite literally open source, with a permissive license. It's often more than just inspiration, it's the literal code.
-
Let's talk about the truth
Check it out: https://design-system.service.gov.uk/ and: https://github.com/alphagov/govuk-frontend (MIT license)
-
What’s that one thing that makes you feel proud about the U.K. or being British?
For those who may be interested, the front end is actually open sourced for third parties to use.
-
The impact of removing jQuery on our web performance
To that end, we're still in the process of dropping support for IE 8–10, along with reducing IE 11 to 'functional'—it doesn't always look the same, but users can still complete tasks.
- Εβδομαδιαία συζήτηση του /r/greece | Weekly /r/greece discussion thread 08/08/2022
- How and why we removed jQuery from Gov.uk
react-scanner
-
The Design System Ecosystem
> has had any ability to tell me where, how often, or even whether a particular component is in use in the production UI
I built a dashboard to display this for the design system I work on at my day job to give product designers better visibility into this, using a library called react-scanner[0] and some logic related to the way our different product repos are structured. there are probably other libraries for this sort of thing in different ecosystems, and you can always build your own with a parser as well.
[0] https://github.com/moroshko/react-scanner
-
Awesome React Resources
react-scanner - Extract React components and props usage from code
What are some alternatives?
dsfr - 🇫🇷 Official french government's design system (Système de Design de l'État)
calculator
Orange-Boosted-Bootstrap - Orange Boosted is an accessible, ergonomic and Orange branded framework based on Bootstrap
govuk-design-system-backlog - GOV.UK Design System Community Backlog
govuk-infrastructure - Terraform turnup automation for the EKS Kubernetes clusters that host GOV.UK. See https://github.com/alphagov/govuk-helm-charts for application config.
govuk-design-system - One place for service teams to find styles, components and patterns for designing government services.
tsdx - Zero-config CLI for TypeScript package development
gatsby-starter-mate - An accessible and fast portfolio starter for Gatsby integrated with Contentful CMS
cosmos-js - Sandbox for developing and testing UI components in isolation
dropin-minimal-css - Drop-in switcher for previewing minimal CSS frameworks
react-admin - A frontend Framework for single-page applications on top of REST/GraphQL APIs, using TypeScript, React and Material Design