Container component with configurable background color. #1717
-
One of the scenarios that is very likely to occur is the use of a container component such as our For this scenario:
Some examples of other design systems: Seek The Box component has a |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
This is a fascinating topic Jairo. From my point of view, this use case should be fulfilled by the Box component, but not ours. I mean, we should consider reimplementing our Box as a more primitive component, with some of the most common properties of HTML/CSS properties of the containers, among which would be the background color. This component (as the Typography) should represent and be strongly related to our design tokens. More examples: |
Beta Was this translation helpful? Give feedback.
Final Proposal:
Box - Replace the Box with a new Container component as the lowest level of our Layout components with props at the primitive level to configure aspects like background or borders and deprecate the Box.
Card - Redesign and reimplement this component to offer an opinionated structure to display a piece of information.