Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for custom select indicator #667

Closed
wants to merge 2 commits into from

Conversation

fauxparse
Copy link
Contributor

Description

Adds the ability to provide a custom indicator to the Select component, replacing the default checkmark. This is useful in situations where you're using a custom icon set.

Testing steps

Provide an indicator prop to Select.Root. This should be a ReactNode. An example is given in sink.tsx.

Copy link

vercel bot commented Jan 3, 2025

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

Name Status Preview Comments Updated (UTC)
themes-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 3, 2025 8:44pm

@chaance
Copy link
Member

chaance commented Jan 24, 2025

No plans to add this level of customization at this point. I recommend building a custom version of the select using the underlying Radix Primitives if you want to deviate from the options currently provided.

@chaance chaance closed this Jan 24, 2025
@fauxparse
Copy link
Contributor Author

No plans to add this level of customization at this point. I recommend building a custom version of the select using the underlying Radix Primitives if you want to deviate from the options currently provided.

I can definitely understand that, but there's a lot of functionality I'd have to build back in that is currently implemented using internal APIs :(

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