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

[Feature Request] Missing Toggle components #425

Open
henryStelle opened this issue Apr 1, 2024 · 1 comment
Open

[Feature Request] Missing Toggle components #425

henryStelle opened this issue Apr 1, 2024 · 1 comment
Labels
request New feature or request

Comments

@henryStelle
Copy link

It would be great to get themed versions of ToggleButton and ToggleGroup. Maybe instead of a specific ToggleButton component, just add a toggled prop to the existing Button.

@vladmoroz vladmoroz added the request New feature or request label Apr 1, 2024
@vladmoroz
Copy link
Contributor

We'll look into this eventually, but this is already easy to implement using Radix Themes and the @radix-ui/react-toggle-group primitive. Here is the toggle buttons implementation from the homepage demo:
https://github.com/radix-ui/website/blob/main/components/ExampleThemesEcommerce.tsx#L1529-L1560

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants