Toggle

Toggle buttons switch between two states on click — bold on/off, grid/list view, pin/unpin. They are ideal for toolbar actions where the pressed state should be visually obvious. Group related toggles together for text formatting or view controls.

Source Code