Giter VIP home page Giter VIP logo

react-undraw-illustrations's Introduction

React unDraw Components

MIT licensed illustrations by unDraw for your React projects

unDraw screenshot

  • SVGs from unDraw as customisable images in React.
  • It's an early version, only containing 10 illustrations, adding more as I get time - contributors welcome! *update - now 21! update now 369!!
  • available to try on npm
  • play with it in styleguidist

Contributors

Big thanks to Lena for converting the extra 330 illustrations!! (I only made 20)

Project Usage

Install in your project: npm install react-undraw-illustrations --save

At the top of your React component, import the illustrations you want to use:

import {UndrawTabs, UndrawDesigner,UndrawResponsive } from 'react-undraw-illustrations';

Then use them, passing settings you like, e.g:

<UndrawDesigner skinColor="brown" hairColor="#222"/>


Check out how the components work:

styleguidist animation

Find out more about how this was made:

Read about it on CSS-Tricks ๐Ÿ‘‰ย How to Create a Component Library From SVG Illustrations css tricks article image


Preparing the NPM package

I followed this guide to prepare the NPM package: https://medium.com/@lokhmakov/best-way-to-create-npm-packages-with-create-react-app-b24dd449c354

When running yarn run lib, it's supposed to copy the components from /src/node_modeules/components to /lib/components/.

Also, you need to make sure any new components are also present in /src/node_modules/index.js, and run yarn run lib!

I did this with this spreadsheet haha!

react-undraw-illustrations's People

Contributors

graemefulton avatar venablena avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

react-undraw-illustrations's Issues

react-undraw-illustrations is searching for Maintainers!

This issue was created by Maintainers Wanted ๐Ÿค“

Support us by leaving a star on Github! ๐ŸŒŸ

react-undraw-illustrations is searching for new Maintainers! ๐Ÿ‘จโ€๐Ÿ’ป ๐Ÿ“ฌ

Do you use react-undraw-illustrations personally or at work and would like this project to be further developed and improved?

Or are you already a contributor and ready to take the next step to becoming a maintainer?

If you are interested, comment here below on this issue ๐Ÿ‘‡ or drop me a message on Twitter! ๐Ÿ™Œ

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.