Interactive

Specular Button

A glass capsule button whose rim catches the light, with a highlight that glides toward the cursor.
import { SpecularButton } from "pleate/effects/specular-button";

On color

Props

size

Height and type.

"md" | "lg"default "md"

...props

Any button attribute.

button props

Accessibility

  • A plain button; light layers are aria-hidden.
  • Touch and reduced motion rest the light at the top left.