Contributions are welcome. This project is intentionally small (two source files), so most contributions will be bug fixes or small improvements.
git clone https://github.com/rbbydotdev/better-resizable-panels.git
cd better-resizable-panels
bun installbetter-resizable-panels/
index.html # Demo site (GitHub Pages)
registry/better-resizable-panels/
resizable-panels.tsx # Main component + useResizable hook
use-local-storage.ts # localStorage sync hook
registry.json # shadcn registry definition
r/ # Built registry output
- Fork the repository
- Create a branch:
git checkout -b fix/description - Edit files in
registry/better-resizable-panels/ - Test by installing into a local shadcn project:
npx shadcn@latest add ./r/resizable-panels.json
- Rebuild the registry:
bun run build:registry - Open a pull request
- TypeScript with strict mode
- Tailwind CSS for styling
- No runtime dependencies beyond React and Tailwind
- Keep the component in a single file
Open an issue with:
- What happened vs. what was expected
- Browser and React version
- Minimal reproduction if possible