EmptyPenguin

1.1.0

A 70 by 36 neo-brutalist on/off switch: 100px pill track, 2px ink border, 4px offset shadow, and a labeled thumb that slides the well.

Component data

ID
empty-penguin
Category
atoms
Version
1.1.0
Added
2026-09-15
Type
component
Keyboard nav
Yes
Reduced motion
Yes
switchtoggleformcontrolatom

Dependencies

  • clsx
  • tailwind-merge

Examples

Default

<EmptyPenguin {...emptyPenguinMocks.default} />

On

<div className="flex flex-wrap items-center justify-center gap-10 bg-background p-10 text-foreground">
      <EmptyPenguin {...emptyPenguinMocks.alternate} />
      <EmptyPenguin {...emptyPenguinMocks.compact} />
    </div>

Related