Git Product home page Git Product logo

react-pll's Introduction

react-pll gh travis license npm

A React component for programming-languages-logos.

I currently use this package on languages.abrannhe.com

Install

$ npm install react-pll
Other options?
⚠️ DEPRECATED
$ npm install @programming-languages-logos/react

Using Github Registry?

$ npm install abranhe@react-pll

Usage

import React from 'react';
import Pll from 'react-pll'

export default () => {
  return(
    <Pll
      alt="Python Logo"
      height={30}
      language="python"
    />
  );
};

Props

A cheatsheet of all available props.

Prop Type Default Description
language string cpp The programming language logo
fallback any null Optional fallback tha renders if the given language doesn't exist

You can also add the images props.

Example:
<Pll language="swift" alt="The Swift Logo">

Related

License

MIT © Carlos Abraham

react-pll's People

Contributors

abranhe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

react-pll's Issues

List of supported logos

Access to all programming languages logos available to use. Something like this:

import Pll, { logos } from 'react-pll';

console.log(logos);
// ['c', 'cpp', ...]

The html

Today when I was using the html logo from this library
I found that it has the actual html text written on the top of it
Maybe you can get rid of it

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.