Sophic Interface Systems
Components

Toggle

A pill that stays pressed, for an on/off choice that reads as a chip.

Off, it is the outline button; on, the primary button. Hover never washes out the pressed fill: a pressed toggle under the pointer darkens the way a primary button does. Use it where the label is the control, such as a row of filters. For a setting with its own label beside it, use a Switch.

You might be looking for:

  • Switch

    A single on or off setting.

  • Checkbox

    Check one or more options independently.

  • Radio Group

    Pick exactly one from a visible set.

Playground

<Toggle>Pending</Toggle>

Usage

import { Toggle } from "@sophic/portal-ui/components/ui/toggle";
<Toggle pressed={pending} onPressedChange={setPending}>
  Pending
</Toggle>

Props

Toggle accepts every Radix Toggle.Root prop (pressed, defaultPressed, onPressedChange, disabled, ...) and has none of its own.

Changelog

  • 12 October 2026 — New. Outline off, primary fill on, every state defined including on + hover. Full notes

On this page