Pixel UI/Feedback/Loader

Loader

Little pixel spinners drawn on the GPU.

<piix-loader>WebGL
Kind
Palette

A ring that chases its tail, pixels in orbit, a snake running round a square, equaliser bars, and rings pulsing out.

Installation

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

Usage

<piix-loader size="96"></piix-loader>

Examples

Every kind

API reference

AttributeWhat it doesDefault
kindring orbit snake bars pulsering
palettethe colours: lime aurora sunset ocean candy violet fire gameboy paper mono, or your own, dark to light: "#000,#6b4cff,#fff"lime
sizepx48
labelwhat's loadingLoading
pixelsize of one pixel, in px3

Accessibility