Atom-Learning/components

Feature request: Stack Content

Closed this issue · 0 comments

Component Name(*) or Feature Name

StackContent or something similar 🤷

Description(*)

This component should wrap standard content components like Text, List, Heading, and add bottom margins to space them properly. e.g.

<StackContent>
  <Heading size="lg">Something</Heading> {/* has margin-bottom related to size */}
  <Text>Hello</Text> {/* has no margin bottom */}
</StackContent>

Designs and UX wireframes(*)

No designs