ic-design-system icon indicating copy to clipboard operation
ic-design-system copied to clipboard

Separate component guidance into groups

Open GCHQ-Developer-718 opened this issue 4 months ago • 2 comments

NOTE: Put the groups in alphabetical order on the site

What component is this related to?

All

Description

Organise each component on the components tab into collapsible groups related to their function.

Use overview pages as needed to provide guidance for using that type of component, guidance for choosing between them or linking to relevant patterns/styles

Groups

Inputs

  • Checkbox
  • Radio
  • Date/time/date-time input
  • Date/time/date-time picker
  • Search bar
  • Select
  • Switch
  • Text field
  • Toggle button
  • Button

Navigation

  • Back to top
  • Breadcrumb
  • Hero
  • Link
  • Page header
  • Pagination (bar)
  • Side navigation
  • Skip link
  • Tabs
  • Top navigation
  • Tree view
  • Table of contents
  • Popover menu

Theme and customisation

  • Theme Note: new content for this group will be created in #1663

Layout

  • Horizontal card
  • Vertical card
  • Accordion
  • Divider
  • Footer
  • Section container
  • Grid (link to fluid/fixed column grid guidance and breakpoint/spacing tokens)

Feedback and progress

  • Alert
  • badge
  • Chip
  • Dialog
  • Empty state
  • Loading indicator
  • Skeleton
  • Status tag
  • Stepper
  • Toast
  • Tooltip

Overview: Link to voice and tone guidance and relevant patterns (e.g. form validation, success messages). Link to components with loading states (e.g. button) and explain when to use this vs skeleton or loading indicator.

Data display

  • Data list
  • Data table
  • AG grid theme (use guidance from Getting started)

Note, AG grid theme guidance is updated in #1669

Utility

  • Classification banner
  • Typography

Why do we need it?

Placing similar components together makes it easier for users to compare similar components and pick the most appropriate one for their use-case.

🚨 Urgency (low, medium or high)

Priority 4/5

If applicable, tell us how urgent it is that this issue gets resolved, based on the impact it has on your team's work or project timeline.

Related open issues

#1669 #1663

GCHQ-Developer-718 avatar Sep 15 '25 13:09 GCHQ-Developer-718

Consider adding a chip to cards on the Components Library page listing the category of each component - allow filtering by category? Maybe split into separate ticket?

GCHQ-Developer-299 avatar Sep 24 '25 09:09 GCHQ-Developer-299

This will require changes to the navPriority.sh script that we created recently, to account for the groups.

Which component is in which group isn't set in stone, happy for devs to discuss internally

GCHQ-Developer-299 avatar Oct 02 '25 08:10 GCHQ-Developer-299

Factor in researching if it is the right move before doing it

MI6-255 avatar Nov 26 '25 09:11 MI6-255

Can design do the same in Figma?

MI6-255 avatar Nov 26 '25 09:11 MI6-255