Skip to content

<Pll/> React Programming Language Logo Component.

License

Notifications You must be signed in to change notification settings

abranhe/react-pll

Repository files navigation

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