# Use button component for Mermaid block controls \(\#58473\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 4ab04b3245da32716d9b8d940a068dd59f009acb

Requested commit: 4ab04b3245da32716d9b8d940a068dd59f009acb

Commit: 4ab04b3245da32716d9b8d940a068dd59f009acb

Tree: 077ca108973c75f40be24e3827cf67325396eae1

Author: Danilo Leal

Committer: GitHub

## Message

```
Use button component for Mermaid block controls (#58473)

Tiny one here, just to maintain Ui consistency as I noticed the custom
div-built buttons were not using theme tokens for coloring the different
states.

<img width="600" alt="Screenshot 2026-06-03 at 6  54@2x"
src="https://github.com/user-attachments/assets/678474f1-1807-4993-ac15-928a0033338d"
/>

Release Notes:

- N/A
```

## Parents

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

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