Skip to content

Button

The PeacockButton is the primary action primitive, featuring a follow-mouse radial light source.

Usage

tsx
import { PeacockButton } from '@peacock-ui/core'

function Example() {
  return (
    <PeacockButton variant="primary">
      Spread Plumage
    </PeacockButton>
  )
}

Props

PropTypeDefaultDescription
variant'primary' | 'outline' | 'glass''primary'The visual style of the button.
glowSizenumber150The radius of the follow-mouse glow effect.
glowbooleantrueWhether to enable the plumage glow effect.
childrenReactNode-The content inside the button.

Released under the MIT License.