Components
Combo Box - Design decisions
What is an ADR?
We use the ADR (Architecture Decision Record) to structure design decision documentation. Each ADR covers three things: the context that prompted the decision, the decision itself, and its consequences — including trade-offs and any open questions.
ADR 001 - Importing the native mobile combo box
- Date raised: May 15, 2025
- Decision date: June 4, 2025
Context
We have an initiative to combine the Mobile Design System with the VA Design System (VADS). One of the components that needs to be migrated to VADS is the combo box. The Mobile Design System has already built this component. For the initial design, we will use the existing Mobile team’s version.
However, there are some notable differences between the desktop combo box and the native mobile combo box:
Decision
We will be importing the combo box design as-is. The Mobile team’s version is already in production, and making design changes now could be disruptive. However, there are some refinements to consider in future iterations:
- Select combo box component design — The select components for combo boxes for desktop and native mobile differ. Aligning them would help create a more consistent experience.
- Modal/sheet design for native mobile — The mobile combo box uses a sheet that looks different from both modals used elsewhere in the native app. Aligning these sheet styles would improve consistency.
- Text highlighting behavior — The combo box on desktop, native mobile, and search input with typeahead all handle text highlighting differently. These behaviors should be unified for a more predictable user experience.
Consequences
The VADS is in the early stages of aligning mobile components with the existing system. As we establish initial processes, it’s likely there will be learning curves and potential missteps moving the components to the VADS. Since this combo box is one of the first components to be migrated, we can expect iterations and bugs that will need to be addressed as we refine our integration process.