Skins UI

Neumorph switch

A groove pressed into the page and a soft raised thumb that slides in it.

Customize

Props
Size

Installation

npx shadcn@latest add https://skinsui.dev/r/switch-neumorph.json

Usage

usage.tsx
import { Switch } from "@/components/skins/switch-neumorph";<Switch label="Email updates" defaultChecked />

Props

  • labelNone
    string

    The visible name of the setting. Without one, pass aria-label.

  • defaultCheckedfalse
    boolean

    On when it first renders.

  • disabledfalse
    boolean

    Dims it and blocks interaction.

  • size"md"
    "sm" | "md"

    Small or medium. The label grows with it.