React
Accessible aria-pressed button with controlled/uncontrolled pressed state, loading, and asChild support.

Component
Button-shaped control for toggling an immediate on/off state.
import { ToggleButton } from "@hozorica/hods-react/toggle-button";import { ToggleButton } from "@hozorica/hods-react-native/toggle-button";brandSolid | neutralWeakVisual treatment. Defaults to brandSolid.xsmall | smallButton height and text density.booleanShows loading state without changing pressed state.booleanDisables user interaction.booleanControlled and uncontrolled pressed state.(pressed) => voidCalled after user toggles the button.booleanWeb-only child composition.Accessible aria-pressed button with controlled/uncontrolled pressed state, loading, and asChild support.
Pressable toggle button with selected and busy accessibility state.
<ToggleButton pressed={pressed} onPressedChange={setPressed}>{pressed ? "선택됨" : "미선택"}</ToggleButton>