Skip to content


Use this container to enforce additional sizing rules, e.g. minimum/maximum/exact height.

// adjust the height to a specific value

// set a constraint on the minimum and/or maximum height


Please be careful. This component may try to enforce size constraints that are impossible to meet, e.g. when:

  • the container requires more space than is available, or
  • when it tries to squeeze its child into less space than possible.

Such scenarios result in a layout exception.

Released under the MIT License