sek-consulting / solid-ui

Beautifully designed components. Built with Kobalte & corvu. Styled with Tailwind CSS.
https://www.solid-ui.com
MIT License
680 stars 25 forks source link

Add resizer UI component #58

Closed ZanzyTHEbar closed 2 weeks ago

ZanzyTHEbar commented 5 months ago

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.

changeset-bot[bot] commented 5 months ago

⚠️ 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

vercel[bot] commented 5 months ago

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
carere commented 4 months ago

@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 :)

ZanzyTHEbar commented 4 months ago

@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.

carere commented 4 months ago

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

sek-consulting commented 4 months ago

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 :)

sek-consulting commented 2 weeks ago

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