diff --git a/README.md b/README.md index ff7e94f305a..693a61a6a94 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,9 @@ NPM Downloads + + NPM Version + Github Stars diff --git a/apps/www/content/docs/components/splitter.mdx b/apps/www/content/docs/components/splitter.mdx index d64a6ba6c1f..dcb06720473 100644 --- a/apps/www/content/docs/components/splitter.mdx +++ b/apps/www/content/docs/components/splitter.mdx @@ -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. + +::: + ### Resize Behavior