made with react.js

React Native BlurHash

Blurred Image Placeholders

Visit Site

Description

Blurred Image Placeholders

"Give your users the loading experience they want.

BlurHash is a compact representation of a placeholder for an image. Instead of displaying boring grey little boxes while your image loads, show a blurred preview until the full image has been loaded.

In short, BlurHash takes an image, and gives you a short string (only 20-30 characters!) that represents the placeholder for this image. You do this on the backend of your service, and store the string along with the image. When you send data to your client, you send both the URL to the image, and the BlurHash string. Your client then takes the string, and decodes it into an image that it shows while the real image is loading over the network.

The string is short enough that it comfortably fits into whatever data format you use. For instance, it can easily be added as a field in a JSON object."


Creator

Marc Rousavy
@mrousavy


Social Media Links

React Creme UI Toolkit
icon-eye-dark Created with Sketch. 343
Reanimated React Native's Animation Library
icon-eye-dark Created with Sketch. 656
Sentry for React React Application Monitoring
πŸ’™ Sponsored by Friends
We’re hosting on Digital Ocean! πŸ’™ Try it today and get a free $100 credit.
React Native Live Markdown Cross-Platform Markdown Editor
icon-eye-dark Created with Sketch. 574
Lottie React Native Easily add high-quality animation to React Native Apps
icon-eye-dark Created with Sketch. 1.247