Buttons & Actions
v1.0.0Added in 1.0.0
A row of toggles where one or several stay pressed, for text formatting, alignment, view switches and quick filters.
Click or tap an item and it stays pressed. In single mode the highlight slides over to the new item on a smooth spring and the old one lets go; in multiple mode each item pops its own highlight in and out. Every item dips a little while your finger is down. The group is one tab stop: arrow keys move along it (wrapping around unless loop is off), Home and End jump to the ends, Space or Enter presses. Icon-only items name themselves in a tooltip on hover or keyboard focus, with the shortcut hint next to the name; on a phone a long press shows it without pressing the item. On touch the medium size is 44px tall and the small one keeps a 44px hit area.
npx wingo-ui@latest add toggle-groupPro item: the CLI needs a Pro account. See plans
Listing · New York
A 2-bedroom apartment by Central Park, renovated in 2025, fully furnished. Rent $2,400.00 a month, available from Oct 1, 2026.