Virtual Select

Select and multi-select, but with a twist: it includes built-in virtualization. This allows for rendering long lists without a performance hit.


Component source

Single choice

Multiple choices

Usage

// trigger placeholder {#snippet children(index, item)} {item.label} {/snippet}

Requested by: @CoconutLoader

I couldn’t achieve this with the original shadcn-svelte select, so I had to write almost everything from scratch, which took a bit longer than I initially expected. Please report any bugs you find, and I’ll make sure to fix them.