solid-ui icon indicating copy to clipboard operation
solid-ui copied to clipboard

Add resizer UI component

Open ZanzyTHEbar opened this issue 1 year ago • 6 comments

This pull request adds a new UI component called "Resizer". The Resizer component allows for resizing elements in the UI by dragging the edges. It includes functionality for both horizontal and vertical resizing. The Resizer component is dependent on the "@solid-primitives/scheduled" packages.

ZanzyTHEbar avatar Jan 26 '24 14:01 ZanzyTHEbar

⚠️ No Changeset found

Latest commit: 3c70015b9b14ade9bbaae5b2561ae60404d75d6b

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

changeset-bot[bot] avatar Jan 26 '24 14:01 changeset-bot[bot]

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
solid-ui-components ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 26, 2024 2:08pm

vercel[bot] avatar Jan 26 '24 14:01 vercel[bot]

@ZanzyTHEbar I really need this feature, I copied your code into my project ui folders, do you have some advices about using this component ? Some code examples would be great, even pseudo code :)

carere avatar Feb 13 '24 20:02 carere

@ZanzyTHEbar I really need this feature, I copied your code into my project ui folders, do you have some advices about using this component ? Some code examples would be great, even pseudo code :)

Sorry for getting back to you so late - yes here is a gist.

ZanzyTHEbar avatar Feb 15 '24 16:02 ZanzyTHEbar

Thx for your answer but I ended using a modified version of solid-resizable-panels in order to resize severals panels on my app :)

carere avatar Feb 16 '24 05:02 carere

Thanks for the work you put in this component @ZanzyTHEbar :) But for now I'm looking for something more in line to the resizable-panels component that shadcn/ui uses which might be solved by Corvu in a future update :)

But I want to keep this PR around and maybe make this a seperate component since it solves a different usecase :)

stefan-karger avatar Feb 21 '24 07:02 stefan-karger

I don't think I'll add this anytime soon. Sorry but I'll close this for now. :)

stefan-karger avatar Jun 17 '24 14:06 stefan-karger