This is a simple Svelte component that you can use to make an element resizable horizontally.
You can demo this project here.
git clone https://github.com/Suffro/element-resizer-sveltekit
Once you've cloned the repo of the project you need to install dependencies with npm install
(or pnpm install
or yarn
) and then run the app:
npm install
Then:
npm run dev
Or open the app in a new browser tab:
npm run dev -- --open
Made with ❤️ by Lorenzo