Is it at all possible to have two buttons in a flex item sitting next to each other horizontally?
Yes of course!
I only have the V2 components (these should be available in the next beta) to hand but it’s very straight forward…
I see. But not in a flex item itself? Like
- Flex
- Flex Item
- Heading
- Paragraph
- Flex Item
- Button
- Button
- Flex Item
That’s what I was trying. I’m not the most savvy when it comes to using flex.
It really depends on the layout you want. I’m guessing the heading and paragraph are sat on top of each other and you want the buttons below it to be side by side. If that is the case you might need to do the following:
- Flex
- Flex Item
- Heading
- Paragraph
- Flex Item
- Flex
- Flex Item
- Button
- Flex Item
- Button
- Flex Item
- Flex
- Flex Item
In the V2 Components, other items can also act as flex items, in my example the box component is set to act as a “flex item”.
All of this will make sense, once we ship the V2 components along with updated docs and videos.
Ah, thanks for clarifying that. Looking forward to the V2 components.