Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • D design
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 16
    • Merge requests 16
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Primer
  • design
  • Merge requests
  • !200

Update button guidelines so items are easier to find

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Maxime De Greve requested to merge quick-improvement-for-button into master Dec 10, 2021
  • Overview 3
  • Commits 3
  • Pipelines 0
  • Changes 1

During my first responder week we received a question in Slack (internal only) regarding order/alignments of multiple buttons. Should primary come before a secondary. I couldn't find the info in our docs until @yaili mentioned that it was in the bottom of the buttons document.

Because there is clear section for alignments in the sidebar and it was at the end of the page just before support it's easy to miss.

I've moved things slightly around to add an Alignments section and add order and full-width buttons in there. Hopefully this will make it easier to find.

I've also exposed Icon and Counter in the sidebar since this was hidden under Variation and was hard to find as well.

Optional: I've also changed Button types to types and Button groups to Groups. I think it's easier to read and button doesn't add any value to this and just makes the sidebar harder to read.

better
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: quick-improvement-for-button