npm.io
3.0.1 • Published 4 years ago

@linguala/ui-icons

Licence
ISC
Version
3.0.1
Deps
0
Size
317 kB
Vulns
0
Weekly
0

Linguala UI Icons

An always growing library of react component icons. Check them out!

Icons come with some theme-aware style props and are styled-components.

Example

import React from 'react'
import { LingualaLogo } from '@linguala/ui-icons'
import { ThemeProvider } from 'styled-components'

const theme = {
  colors: {
    primary: green
  }
}

const MyApp = () => (
  <ThemeProvider theme={theme}>
    <LingualaLogo
      background={'colors.primary'}     // background: green;
      boxShadow={'0 0 5px gray'}        // boxShadow: 0 0 5px gray;
      color={'blue'}                    // color: blue;
      height={130}                      // height: 130px;
      width={130}                       // width: 130px;
    />
    <h1>Welcome to my app.</p>
  <ThemeProvider/>
)

Developers read USAGE.md.

Keywords