AI Chat Fancy Stable

PixelLoader

Grid of pixels pulsing in a diagonal wave as a pre-token loading indicator for AI responses

Preview

Installation

pnpm add fancy-ui-svelte
import { PixelLoader } from 'fancy-ui-svelte'

Usage

svelte
<script lang="ts">
  import { PixelLoader } from 'fancy-ui-svelte';
</script>

<PixelLoader />

Examples

Basic Usage

Props

PropTypeDefaultDescription
cols number5Number of pixel columns
rows number5Number of pixel rows
cellSize number6Size of a single pixel in px
gap number2Space between pixels in px
color string"var(--ft-pixel-color, currentColor)"Pixel colour, any CSS colour value
speed number1.6Duration of one full pulse cycle in seconds
label string"Loading"Accessible label announced by assistive tech