Skip to content

feat(Select): Add <Select.Value/> component#2026

Merged
huntabyte merged 14 commits intohuntabyte:mainfrom
ieedan:select-value
Apr 17, 2026
Merged

feat(Select): Add <Select.Value/> component#2026
huntabyte merged 14 commits intohuntabyte:mainfrom
ieedan:select-value

Conversation

@ieedan
Copy link
Copy Markdown
Contributor

@ieedan ieedan commented Apr 15, 2026

This PR introduces a <Select.Value/> component that allows users to create re-usable components using the value of the select.

You can use Select.Value in two different ways:

<!-- uses the label from the items list or the text content of the item node -->
<Select.Value/> 

<!-- use the child snippet for more control and to be able to set the value -->
<Select.Value>
  {#snippet child({ selection, placeholder, disabled })}
    <!-- ... -->
  {/snippet}
</Select.Value>
CleanShot.2026-04-15.at.09.23.04.mp4

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 15, 2026

🦋 Changeset detected

Latest commit: 7d23ab9

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
bits-ui Minor

Not sure what this means? Click here to learn what changesets are.

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

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 15, 2026

built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
bits-ui ✅ Ready (View Log) Visit Preview bef1561

@huntabyte huntabyte merged commit d0b1547 into huntabyte:main Apr 17, 2026
5 of 6 checks passed
@github-actions github-actions bot mentioned this pull request Apr 17, 2026
@ieedan ieedan deleted the select-value branch April 17, 2026 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants