React Native BlurHash

Blurred Image Placeholders


Description

Blurred Image Placeholders

Overview

BlurHash provides a compact placeholder representation for images, enhancing the user’s loading experience.

How It Works

  1. Generate: On your server, convert each image into a short string (20–30 characters) that encodes a blurred preview.
  2. Store: Keep this string alongside the original image URL in your database or storage system.
  3. Transmit: When delivering data to the client, include both the image URL and its corresponding BlurHash string.
  4. Render: The client decodes the BlurHash string into a low‑resolution blurred image, which is displayed while the full image loads.

Benefits

  • Eliminates unsightly gray boxes during loading.
  • The concise string easily fits into common data formats such as JSON fields.

Creator

Marc Rousavy
@mrousavy

Related Projects

Hightable

Hightable

Virtualized Table Component

Dice UI

Dice UI

Shadcn/ui Component Library

FileKit.dev for React

FileKit.dev for React

Drop-in File Upload & Media Streaming Components

Sillybits

Landing Page Building Blocks

Workflow Builder

Workflow Builder

Node-based Workflow Editor SDK

Overflow

Overflow

Open-source UI Components for React Flow