ToggleButton provides a flexible button-like element that can act as a toggle, tab, or segmented control. It supports selected state, prefix/suffix icons, and optional link behavior.
You can attach icons to the left or right using prefixIcon and suffixIcon.
Available in extra small, small, medium, large, and extra large.
Choose from ghost, outline, or subtle variants.
Customize rounding for each side or corner.
Customize content alignment.
You can pass custom content to the toggle button.