Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
<a href="https://www.npmjs.com/package/@chakra-ui/react">
<img alt="NPM Downloads" src="https://img.shields.io/npm/dm/@chakra-ui/react.svg?style=flat"/>
</a>
<a href="https://www.npmjs.com/package/@chakra-ui/react">
<img alt="NPM Version" src="https://img.shields.io/npm/v/@chakra-ui/react?style=flat-square&color=43cc11">
</a>
<a href="https://github.com/chakra-ui/chakra-ui">
<img alt="Github Stars" src="https://img.shields.io/github/stars/chakra-ui/chakra-ui?style=social" />
</a>
Expand Down
7 changes: 7 additions & 0 deletions apps/www/content/docs/components/splitter.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,13 @@ In addition to percentages, `defaultSize`, `minSize`, and `maxSize` accept CSS
units like `px`, `em`, `rem`, `vh`, and `vw`. This is useful for panels that
should keep a fixed width, such as a navigation sidebar.

:::warning

CSS-unit sizes are measured on the client, so panels using them can shift after
hydration. Use percentage sizes for a stable server-rendered layout.

:::

<ExampleTabs name="splitter-css-units" />

### Resize Behavior
Expand Down
Loading