Pill
A pill-shaped button that holds a label with optional inline-start and inline-end icons.
Basic
Show codeHide code
Magnitudes
Show codeHide code
States
disabled and loading both drop the pill to a transparent fill with a dimmed label; loading also swaps the inline-start node for a spinner and blocks clicks while staying focusable.
Show codeHide code
Switch
PillSwitch is a toggle whose selected look is its pressed state — use it for segmented on/off choices.
Show codeHide code
Icon only
IconPill is a square, icon-only pill and requires an aria-label for its accessible name.
Show codeHide code
Installation
import { Icon } from "@makeplane/propel/components/icon";
import { PillButton } from "@makeplane/propel/components/pill";