Pixel UI/Text/Melt text

Melt text

Letters that drip and melt down the page.

<piix-text>WebGL

Pixel perfect

Palette

Columns of the letters slide down at different speeds and drip, then pull themselves back up. A bit unhinged, in a good way.

Installation

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

Usage

<h1>
  <piix-text effect="melt" palette="fire">Pixel perfect</piix-text>
</h1>

Examples

One word in a headline

It takes the font, size and weight of wherever you put it, so it drops straight into your own heading.

Build something loud

Chunkier pixels

Big pixels

API reference

AttributeWhat it doesDefault
effectshine reveal glitch wave melt scanshine
palettethe colours: lime aurora sunset ocean candy violet fire gameboy paper mono, or your own, dark to light: "#000,#6b4cff,#fff"lime
pixelsize of one pixel, in px2

Accessibility