sci-components
sci-components copied to clipboard
Design: Add icon variant of `Toggle` component
Background
ButtonIcon
component was found to have three distinct use cases:
- Standard
Button
functionality -
ButtonDropdown
functionality - Toggle functionality, though used for distinctly different use cases than
InputToggle
Use cases 1 and 2 above have resulted in the creation of Icon variants within the existing Button
and ButtonDropdown
components (design ticket found here). Use case 3 has proved to be a bit more complicated and thus warrants additional exploration as to how to ensure its functionality is maintained within the SDS.
Requirements
Explore how to incorporate IconButton
's toggle functionality into SDS; does it belong in its own component or is it a variant of the existing InputToggle
component?