-
Notifications
You must be signed in to change notification settings - Fork 242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add guidance for button groups #1472
Conversation
59e7772
to
a4f17f3
Compare
@@ -59,10 +59,6 @@ Pages with too many calls to action make it hard for users to know what to do ne | |||
|
|||
{{ example({group: "components", item: "button", example: "secondary", html: true, nunjucks: true, open: false}) }} | |||
|
|||
You can use secondary buttons in combination with default buttons. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I ended up moving this because it felt like the example of two buttons should really use a button group, but it seemed strange to use it before it was introduced.
If we think it's important to make this explicit at the point we're talking about secondary buttons we could bring it back, but I think we'd end up including the same example in both places?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I totally agree.
You can preview this change here: Built with commit d8df89a https://deploy-preview-1472--govuk-design-system-preview.netlify.app |
Really great to see this getting added 👍 |
4491971
to
d8df89a
Compare
Add guidance about button groups to the button component guidance.
Includes two examples:
👉🏻 View preview
Closes #1471