Pixel UI/Cards/Glow card

Glow card

A card lit from inside, with light running round its border.

<piix-glow-card>WebGL

Realtime

Everything updates the moment it changes, on every device.

Look
Palette
Tilt

A dark pixel card with a band of light chasing round its edge and a spotlight that follows your pointer under the content. It tilts a little toward the pointer, and a click sends a ring out across it. Put anything inside.

Installation

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

Usage

<piix-glow-card>
  <h3>Realtime</h3>
  <p>Everything updates the moment it changes, on every device.</p>
</piix-glow-card>

Examples

Looks

One attribute changes the whole style. Glass blurs whatever is behind it, so it shines over a scene or a photo.

Realtime

Live on every device.

Realtime

Live on every device.

Realtime

Live on every device.

Realtime

Live on every device.

Realtime

Live on every device.

A feature grid

Zero deps

One script tag. No build step.

On the GPU

Shaders on a pixel grid.

Accessible

Real elements, real focus.

Pricing

Pro

$0/forever

Every component, every palette, MIT licensed.

Get it

API reference

AttributeWhat it doesDefault
lookglow chrome glass riso crt: the whole style. See Looksglow
palettethe colours: lime aurora sunset ocean candy violet fire gameboy paper mono, or your own, dark to light: "#000,#6b4cff,#fff"violet
tiltnone keeps it flat–
pixelsize of one pixel, in px3

Accessibility