Listbox and Tree View components #1807
-
Hey Zag community - this is Chris from Skeleton. We've been making some excellent progress on integrating Zag with our React and Svelte component libraries. We're nearing parity with our previous release of Skeleton, which provided a number of standard components. However, we wanted to inquire about a few things... ListboxFirst up, we're struggling to find a direct solution for Listbox.
This is valuable for a number of use cases:
The closest we've found is Menu and Combobox, but these seem a bit more rigid. I was curious if this is a feature Zag has planned or would consider in the future. Happy to create a feature request if needed! Tree ViewWe've noticed a preview for the Tree View component on Ark, and we saw there was this progress update back in March. But was curious if there there's any further updates or time tables you can share on this. No pressure on this, we know this is a tough one, but would be great to have an estimate we can share with our community! RoadmapFinally, I was curious if you guys provide a public-facing roadmap. It would be great to know what sorts of components we might could expect in the future. It could help us avoid building redundant features. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey Chris, Regarding the listbox composition ideas. We designed the machines with composition in mind, rather than having to re-create each scenario as a separate machine. These are my recommendations: Popover to create a quick selection menuUse the menu machine directly since it supports this pattern Popover + Typeahead to create a highly customizable ComboboxUse the popover machine and render combobox while setting the Insert directly into a form as customizable replacement for the
|
Beta Was this translation helpful? Give feedback.
Hey Chris,
Regarding the listbox composition ideas. We designed the machines with composition in mind, rather than having to re-create each scenario as a separate machine.
These are my recommendations:
Popover to create a quick selection menu
Use the menu machine directly since it supports this pattern
Popover + Typeahead to create a highly customizable Combobox
Use the popover machine and render combobox while setting the
open
andopen.controlled
state totrue
Insert directly into a form as customizable replacement for the
<select multiple>
Use the select machine while setting the
open
andopen.controlled
state totrue
.Regarding the roadmap, you can find it here https://ark-ui.canny.io/.…