If you need to add toggles in the Gutenberg Editor, this Getwid Toggle block is perfectly suitable.
Toggles are a great UI element for creating better interaction with option selection. So if you need to make any content more readable and structured, horizontal toggles are a way out. Using this block, you can create really content-rich toggle tabs since it’s a nested block (allows you to insert any block into the content area of each tab).
You might also be interested in the Accordion Gutenberg block.