sci-components icon indicating copy to clipboard operation
sci-components copied to clipboard

Design: Add icon variant of `Toggle` component

Open clarsen-czi opened this issue 1 year ago • 0 comments

Background

ButtonIcon component was found to have three distinct use cases:

  1. Standard Button functionality
  2. ButtonDropdown functionality
  3. 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?

clarsen-czi avatar Feb 05 '24 22:02 clarsen-czi