v0.1.0

Pixel Game Button

A complex 3D pixel-art button with particles, scanlines, and high customizability.

Installation

npx shadcn-vue@latest add https://raya-ui.com/registry/pixelated-button.json

Props

PropTypeDefaultDescription
huenumber350Base hue (0-360) for the button theme.
labelstring'START'Main text label (can also use default slot).
subLabelstring'GAME'Smaller subtitle text below the main label.
scalenumber1Scales the entire button and particles up or down.
showParticlesbooleantrueWhether to show the floating background particles.

Slots

SlotDescription
defaultMain label content (overrides `label` prop).
subtitleSubtitle content (overrides `subLabel` prop).
icon-leftReplaces the left-side icons.
icon-rightReplaces the right-side icons.

Inspired by 'wolf_3808'