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

Discord App Voice & Text Chat for Gamers
icon-eye-dark Created with Sketch. 7.691
ReactPlayer Audio / Video Player
icon-eye-dark Created with Sketch. 2.094
Sentry for React React Error Monitoring
πŸ’™ Sponsored by Friends
We’re hosting on Digital Ocean! πŸ’™ Try it today and get a free $100 credit.
Can it be done in React Native? YouTube Tutorial Series
icon-eye-dark Created with Sketch. 304
React GitHub Calendar Github Contribution Graph
icon-eye-dark Created with Sketch. 1.657