Pixel UI/Buttons/Holo button

Holo button

A translucent button projected as a hologram.

<piix-holo-button>DOM + canvasForm-readyNew
Engage
Hue
Size

A frosted pane in a rainbow foil frame that lights up where the pointer is, scanlines drifting through it and targeting brackets that close in on hover. Press it and the label glitches; it flickers on the first time it scrolls into view.

Installation

<!-- once, anywhere on the page: every component -->
<script src="https://cdn.jsdelivr.net/npm/piixpal@0.6/piixpal.min.js"></script>

Usage

<piix-holo-button>Engage</piix-holo-button>

Examples

Hues

Engage Connect Scan

Sizes

Small Medium Large

API reference

AttributeWhat it doesDefault
huethe projector colour, 0 to 360190
sizesm md lgmd
typebutton submit resetbutton
hrefmakes it a link–
disabledgreyed out, can't be pressed–

Events

EventWhen
clicklike any button

Accessibility