# ui: Remove \`CheckboxWithLabel\` and improve \`Switch\` and \`Checkbox\` \(\#43343\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/7a5851e1558d7e0f4a064a51438db966b297a27f)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 7a5851e1558d7e0f4a064a51438db966b297a27f

Requested commit: 7a5851e1558d7e0f4a064a51438db966b297a27f

Commit: 7a5851e1558d7e0f4a064a51438db966b297a27f

Tree: 5928640faee67965f6c0b7677c0bf8e0887bc667

Author: Danilo Leal

Committer: GitHub

## Message

```
ui: Remove `CheckboxWithLabel` and improve `Switch` and `Checkbox` (#43343)

This PR finally removes the `CheckboxWithLabel` component, which is not
fully needed given the `Checkbox` can take a `label` method. Then, took
advantage of the opportunity to add more methods with regards to label
customization (position, size, and color) in both the `Checkbox` and
`Switch` components.

Release Notes:

- N/A
```

## Parents

- [5b23a4ad7b1212ccf5c8247e9493859733fa1ab9](https://git.cafe/gitcafe/zed/commit/5b23a4ad7b1212ccf5c8247e9493859733fa1ab9?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/7a5851e1558d7e0f4a064a51438db966b297a27f?format=markdown)
