ToggleButton is a quiet Pressable with a label and optional icons. While selected is true it keeps a highlighted background. It does not hold its own state: keep selected in your component and flip it in onPress. See the web ToggleButton page for more examples.
ghost, the default, shows a border only while selected or pressed. outline always shows one. subtle never does.
size takes xs to xl, from 20 to 48 points tall. m is the default. The corner radius follows the size unless you set radius, and rounded makes it a pill. fillWidth with horizontal lays it out as a full-width row.
- Pressed, not hover. The pressed state takes the place of the web's hover state.
- onPress or onClick. Both work. onPress wins when both are set.
- One line. The label always stays on one line and ends in an ellipsis when it does not fit, so truncate has no extra effect.
- No href. Navigate in onPress.
ToggleButton also takes every React Native Pressable prop except children and style, which it replaces.