design-system icon indicating copy to clipboard operation
design-system copied to clipboard

[WIP] feat(Toggle): Implement base component

Open will-lamb opened this issue 1 year ago • 2 comments

Related issue

Closes #3859

Overview

Created a Toggle component

Reason

To add a Toggle component to the design system

Work carried out

Example.

  • [x] Created Toggle component with no Icons
  • [x] Created Toggle component with Icons
  • [x] Created a disabled Toggle component
  • [ ] A bit of work I did not complete

Screenshot

https://github.com/user-attachments/assets/2b6f4685-60cf-450e-ac03-4fa0d063b55e

Developer notes

At the next major release, we should change the name of this component to Switch and change the current Switch component to ToggleGroup / Toggle

will-lamb avatar Aug 13 '24 16:08 will-lamb

Deploy Preview for storybook-navy-digital-mod-uk ready!

Name Link
Latest commit 04543e5707a57586fc4755e27a325f0a85c70f79
Latest deploy log https://app.netlify.com/sites/storybook-navy-digital-mod-uk/deploys/66e97bf8dd50b60008d92dfa
Deploy Preview https://deploy-preview-3860--storybook-navy-digital-mod-uk.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar Aug 13 '24 16:08 netlify[bot]