Skip to content

Latest commit

 

History

History
23 lines (12 loc) · 1.18 KB

0009-design-assets-workflow.md

File metadata and controls

23 lines (12 loc) · 1.18 KB

9. Design assets workflow

Date: 2024-01-16

Status

Accepted

Context

The 10x Digital Access to Justice Platform project will produce user interface components for form lifecycle operations including creating and filling web-based form. These components will be demo'd as part of the project's phase 3 work, and are intended to be leveraged by third-parties. These components inherit the stylesheet strategy outlined in ADR ./0007-initial-css-strategy.md.

The project team desires a method of organizing frontend components in a manner that facilitates rapid development and collaboration use cases.

Decision

The project team will use Storybook as development aid, component documentation, and collaboration tool. Storybook and corresponding React components will be located in the @atj/design namespace. The Storybook build will be bundled with the Spotlight build and deployed to Cloud.gov Pages.

The Spotlight frontend will leverage this package via CSS imports. Where necessary, the Spotlight frontend application will use straight CSS.

Consequences

The deployed application will include a Storybook instance at /design.