Pixel UI/Text/Liquid text

Liquid text

Words made of liquid metal that melt into the next word.

<piix-liquid-text>WebGLNew
Look
Size

The letters are a liquid field on the GPU: their edges ripple, the pointer sends a wave through them, and with several words each one flows into the next like two drops merging. Shaded as chrome, ink, water or honey.

Installation

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

Usage

<piix-liquid-text words="Design|Build|Ship"></piix-liquid-text>

Examples

One word

Fluid

Honey, slower

API reference

AttributeWhat it doesDefault
wordswords to cycle, | betweenthe text inside
everyms per word2400
lookchrome ink water honey: the liquid's materialchrome
colorsyour own material, three colours: floor, horizon, sky (overrides look)–
sizefont size in px96
fonta CSS font familyBricolage Grotesque

Accessibility