Unsplash

View code

Use





HTML

<rg-unsplash></rg-unsplash>

JavaScript

riot.mount('rg-unsplash', {
  unsplash: {
    width: 450,
    height: 250,
    greyscale: false,
    random: false,
    blur: false,
    image: 491,
    gravity: 'north'
  }
})