Skip to content
unDraw rubygem, MIT licensed illustrations by unDraw for your rails projects
Branch: master
Clone or download
Latest commit 4bbefbf May 19, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin born Oct 10, 2018
lib update assets May 18, 2019
.gitignore update assets Oct 22, 2018 born Oct 10, 2018
Gemfile born Oct 10, 2018
LICENSE.txt born Oct 10, 2018 Update Mar 22, 2019
Rakefile born Oct 10, 2018
undraw.gemspec update version Oct 25, 2018

unDraw rubygem Gem Version

Embed SVG illustrations by for your rails projects



Add this line to your application's Gemfile:

gem 'undraw'

And then execute:

$ bundle

Or install it yourself as:

$ gem install undraw


Browse to find the images that fit your needs. Take advantage of the on-the-fly color image generation to match your brand identity.

**hint: downcase the svg title and replace space with underscore. eg: Features Overview to features_overview

# default color
<%= undraw("features_overview") %>
# set size 
<%= undraw("features_overview", color: "#3f51b5", size: "350*150") %>
# set id
<%= undraw("building", color: "#ff6347", id: "undraw-building") %>
# set class
<%= undraw("designer_life", color: "#ff6347", class: "undraw-designer-life") %>


This gem will often update assets perhaps weekly. You need to manually update your installed gem to support new svg released.

$ bundle update undraw




Bug reports and pull requests are welcome on GitHub at This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.


The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the Undraw project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

You can’t perform that action at this time.