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 Image Image Tag Rendering
icon-eye-dark Created with Sketch. 549
React Native Grid Component Grid Component for React Native
icon-eye-dark Created with Sketch. 717
Sentry for React React Application Monitoring
πŸ’™ Sponsored by Friends
We’re hosting on Digital Ocean! πŸ’™ Try it today and get a free $100 credit.
MDB React React UI Kit
icon-eye-dark Created with Sketch. 2.550
React Draft WYSIWYG WYSIWYG Editor
icon-eye-dark Created with Sketch. 951