Skip to content

Documentations: in examples, change all checkboxes to switches #3654

@Kiarokh

Description

@Kiarokh

In the examples of components, we have always used checkboxes to toggle features / props of the showcases components, like illustrated below:

Image

But what we should have sued to be "correct" is using switches instead. The reason is that the effect of a switch happens immediately, but a checkbox needs an Apply or Save. We even document this in our guidelines: https://lundalogik.github.io/lime-elements/versions/latest/#/DesignGuidelines/switch-vs-checkbox.md/

Below, you can see an example correctly, using switches:

Image

Metadata

Metadata

Assignees

Labels

docsDocumentation that's missing or needs improvement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions