They're built using the gov.uk design system[0], which is not just a CSS framework! It also has a lot of guidelines and requirements to make sure that the pages you're building are accessible to everyone
This thread on notification banners is an excellent example[1].
I think if this was started today they'd fit into GitHub's discussions better than issues, as that's what they're used for. Eventually, with enough support, these things might make it into the design system.
[0] https://github.com/alphagov/govuk-design-system-backlog/issu...
[1] https://github.com/alphagov/govuk-design-system-backlog/issu...