# Adopt toggle controls for diff panel and header button · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/867c122082c18d550965e7060dc603e0dcbca862)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: 867c122082c18d550965e7060dc603e0dcbca862

Requested commit: 867c122082c18d550965e7060dc603e0dcbca862

Commit: 867c122082c18d550965e7060dc603e0dcbca862

Tree: bba5bd6597d2d4d0aeb6d6958d1ba095a1a8c9bd

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Adopt toggle controls for diff panel and header button

- add reusable `ui/toggle` and `ui/toggle-group` components built on Base UI
- switch diff view mode controls and chat header diff toggle to use the new toggle primitives

```

## Parents

- [cf8a2f03fc1c46b70faa565b2e00625cb8b58ebd](https://git.cafe/pingdotgg/t3code/commit/cf8a2f03fc1c46b70faa565b2e00625cb8b58ebd?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/867c122082c18d550965e7060dc603e0dcbca862?format=markdown)
