Skip to content

height/minHeight for Flex component #861

Answered by SiTaggart
vankhoawin asked this question in Q&A
Discussion options

You must be logged in to vote

HI @vnguyen94, it's an interesting suggestion that we might consider.

The current idea with components like Flex and Grid is that they are purely convenience components that only do one job really well. For Flex, it does flex box layout really well. If you want more than just that one job, then you probably need Box as it comes with all the css props you can hopefully ever need.

We're still learning about the usefulness of convenience components like these via adoption, so this is a useful observation.

For now, I'd just use Box, we might add further layout properties to Flex at a later date.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@vankhoawin
Comment options

@SiTaggart
Comment options

@vankhoawin
Comment options

@SiTaggart
Comment options

Answer selected by SiTaggart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants