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

Toggle button (segmented button) #521

Open
mkernohanbc opened this issue Jan 24, 2025 · 1 comment · May be fixed by #519
Open

Toggle button (segmented button) #521

mkernohanbc opened this issue Jan 24, 2025 · 1 comment · May be fixed by #519
Assignees
Labels
enhancement New feature or request

Comments

@mkernohanbc
Copy link
Contributor

A toggle button provides a button that can switch between binary states. Used singly, they enable the user to switch a setting on or off, similarly to a switch.

Toggle buttons can also be grouped together, enabling more complex compositions. For example:

  • A toolbar, enabling the user to configure multiple on/off settings
  • A switcher, enabling the user to switch between two or more mutually-exclusive settings

WIP designs on Components branch in Figma

@mkernohanbc mkernohanbc added the enhancement New feature or request label Jan 24, 2025
@mkernohanbc mkernohanbc added this to the Components v0.6.0 milestone Jan 24, 2025
@mkernohanbc mkernohanbc linked a pull request Jan 24, 2025 that will close this issue
@mkernohanbc
Copy link
Contributor Author

Initial work-in-progress (implementing ToggleButton and ToggleButtonGroup from RAC) is in draft (see #519.)

@Philip-Cheung as discussed, holding on further changes until you've finalised the design spec.

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

Successfully merging a pull request may close this issue.

2 participants