Toggle

PRO

You can edit 8 Components for free. Get premium for unlimited access.

Choose between Figma, SwiftUI, React Native or Jetpack Compose Documentation.

Figma

The Toggle component is used to turn things on or off.

1. Reference

This component inherits props from the Toggle.

Prop
Type
Default
state
default
active
default

2. State

You can edit the state with the default or active parameter.

Image 2.1 : State default

Image 2.2 : State active

SwiftUI

The DLToggle component is used to turn things on or off.

1. Reference

This component inherits props from the Toggle.

Prop
Type
Default
state

-

-

2. Toggle

You can edit the state off the toggle component.

DLToggle(
state: $state
)

Jetpack Compose

The Toggle component is used to turn things on or off.

1. Reference

This component inherits props from the Toggle.

Prop
Type
Default
state

-

-

2. Toggle

You can edit the state off the toggle component.

Toggle(
state = ToggleState.default
)

React Native

This component is on the roadmap and in Progress This means that it is currently being edited and will be published in the next few weeks/months. Check back often to stay informed about the latest updates.

🚧

Discover more content

You have questions or need help?

E-Mail

You want to try?

Test for free

Save time and money?

Get Pro Version