---
title: "Discussion on \"Custom Toggle (Switch) in SwiftUI\" | Hashnode"
description: "Discussion on \"Custom Toggle (Switch) in SwiftUI\". How to create a toggle in SwiftUI from scratch"
url: "https://hashnode.com/posts/custom-toggle-switch-in-swiftui/658f03b6bfee14f27131151e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Custom Toggle (Switch) in SwiftUI](https://xavier7t.com/custom-toggle-switch-in-swiftui?utm_source=hashnode&utm_medium=feed)

How to create a toggle in SwiftUI from scratch

Dec 29, 2023 · 4 min read · xavier7t.com  
Read the article

-   [#ios](https://hashnode.com/tag/ios)
-   [#swift](https://hashnode.com/tag/swift)
-   [#swiftui](https://hashnode.com/tag/swiftui)
-   [#toggle](https://hashnode.com/tag/toggle)
-   [#iosdevx](https://hashnode.com/tag/iosdevx)

## Written by

[Xavier](https://hashnode.com/@xavier7t)

@xavier7t · Toronto, ON, CAN

  
[View profile](https://hashnode.com/@xavier7t)

iOS Developer

iOS developer from Toronto, ON, CAN

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
