Background/Goal
A Divider component needs to be designed and specified before its implementation as part of the TypeaheadSearch component.
Dividers are simple, one-line elements used to structure information in framed components (e.g. cards or menus)
User stories
As a designer and developer, I need to be able to reuse system-compliant Dividers, in order to compartmentalize information in menus or cards.
Considerations
Dividers are structural components that don't present any interactive states.
Development considerations
The Divider component might be based on the line-break <br> html element.
Due to their simplicity, it's unclear if dividers should be created as components, or mixins with custom attributes (color, radius, width), or whether they should be implemented at all.
Codex implementation
Component task owners
- Designer: add the main designer's name
- Developer: add the main developer's name
Open questions
- List any current open questions here
Design spec
Anatomy
- 1px width
Style
- 3 different colors available: white, light gray and dark gray.
Interaction
- There are no interactions with the Divider component.
Documentation
- Configurable demo: the user can configure the color of the divider.
Acceptance criteria
Minimum viable product
This task covers the minimum viable product (MVP) version of this component. MVP includes basic layout, default states, and most important functionality.
MVP scope
- List all parts of the MVP scope for this component
Design
- Design the Figma spec sheet and add a link to it in this task
- Update the component in the Figma library. This step will be done by a DST member.
Code
- Implement the component in Codex
Future work
- If applicable, list future work that should be done for this component after the MVP is implemented as part of this task. You should open new, standalone tasks for all future work.