Coder Social home page Coder Social logo

bolonio / react-puxl-icons Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 3.0 365 KB

A react icons library based on the collection of accessible PUXL icons library from PUXL framework

License: ISC License

JavaScript 0.11% TypeScript 99.89%
react react-component a11y accessibility typescript npm puxl puxl-icons icons opensource

react-puxl-icons's Introduction

react-puxl-icons

npm version

A react icons library based on the collection of accessible PUXL icons library from PUXL framework

The PUXL icons library is an open source collection of more than 300 SVG icons custom tailored for PUXL framework, each with its own accessible title and description. You can see the collection of icons in the PUXL icons website

Install

Using NPM:

$ npm i --save react-puxl-icons

Using Yarn:

$ yarn add react-puxl-icons

Usage

Basic usage

import React from 'react'
import { IconAccessibility } from 'react-puxl-icons'

export const App = () => (
  <div>
    <IconAccessibility />
  </div>
)

Passing SVG props/attributes

You can pass any SVG attribute as prop, as you would use in a SVG element.

<IconAccessibility width="3em" height="3em" fill="red" />
<IconAccessibility width="5em" height="5em" />
<IconAccessibility width="40px" height="40px" fill="green" />
<IconAccessibility fill="blue" />

You can see all SVG atributes in the SVG Attribute reference .

Contributing

If you have any suggestion for how this project could be improved, please read the contributing guidelines.

Author & Contributors

react-puxl-icons is created by Adrián Bolonio using the collection of accessible PUXL icons library from PUXL framework. Thanks to Iñigo Garcia for creating the the collection of accessible icons library.

Sources

License

ISC License, 2020, Adrián Bolonio

Please check the license of the PUXL icons library.

react-puxl-icons's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

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.