# Toggle > Pressed/unpressed button for view state. Import from `@aspyn-io/kit`. Scaffold source: `npx shadcn@latest add https://design.aspyn.io/r/toggle.json` ## Install ```tsx import { Toggle } from "@aspyn-io/kit"; ``` ### Basic ```tsx Breaks ``` ### With text Pair an icon with a visible label when the meaning isn't obvious from the glyph alone. ```tsx Bold ``` ### Sizes sm, default, and lg heights via the size prop. ```tsx ``` ### Disabled ```tsx ``` ## Notes - Toggle is an on/off pressed button (aria-pressed): good for filter pills. - Use Switch for settings, Toggle for view/filter state.