The change.org design system is a library of React components that provides a consistent, discoverable, mobile-first developer experience. It is the look-and-feel touchpoint with our users that defines our brand.
Built with Styled Components and styled-system.
Components define both their own custom props, and include groups of system props defined in constants.js.
System props are responsive and are grouped so that a component can include only those needed, exposing the minimum API surface area possible.
Values for system props are defined in our theme.
Good:
Bad:
Good:
Bad: