Description
Blurred Image Placeholders
Overview
BlurHash provides a compact placeholder representation for images, enhancing the user’s loading experience.
How It Works
- Generate: On your server, convert each image into a short string (20–30 characters) that encodes a blurred preview.
- Store: Keep this string alongside the original image URL in your database or storage system.
- Transmit: When delivering data to the client, include both the image URL and its corresponding BlurHash string.
- 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
Virtualized Table Component
Dice UI
Shadcn/ui Component Library
FileKit.dev for React
Drop-in File Upload & Media Streaming Components
Sillybits
Landing Page Building Blocks
Workflow Builder
Node-based Workflow Editor SDK
Overflow
Open-source UI Components for React Flow