Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Box primitive #1213

Closed
jsardid opened this issue Aug 2, 2022 · 0 comments · Fixed by #1748
Closed

Box primitive #1213

jsardid opened this issue Aug 2, 2022 · 0 comments · Fixed by #1748
Labels
epic jira This task is referenced in a story of Jira

Comments

@jsardid
Copy link
Member

jsardid commented Aug 2, 2022

Implement a Box Primitive component. Since this is a primitive component, it shouldn't bring any design opinion with it, other than maybe restrict some prop values to Design System tokens. For this reason, this component should be used carefully, especially once we have higher-level layout components or patterns.

This box component should allow background color customization via props, and will use the background provider internally. Once built, we should be able to deprecate this provider since nobody should need to use a custom div ever again.

Examples:
Braid: https://seek-oss.github.io/braid-design-system/components/Box
Twilio: https://paste.twilio.design/primitives/box

@jsardid jsardid added the epic label Aug 2, 2022
@jsardid jsardid added this to the 22.3 milestone Aug 9, 2022
@eriesgo eriesgo removed this from the 22.3 milestone Aug 18, 2022
@eriesgo eriesgo added the jira This task is referenced in a story of Jira label Aug 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
epic jira This task is referenced in a story of Jira
Projects
Development

Successfully merging a pull request may close this issue.

2 participants