brolga-icons
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

Brolga Icons

Installation

Add package via npm or yarn

# npm
npm install brolga-icons

# yarn
yarn add brolga-icons

Using

Import icons as React Components

import { User } from 'brolga-icons'

export default MyFunction = () => {
    return (
        <div>
            <User />
        </div>
    )
}

Options

Each icon component can take several optional props.

Prop Description Default
size sets the width and height of the icon 20px
stroke sets the stroke width of the icon 2
color sets the color of the icon black
import { User } from 'brolga-icons'

export default MyFunction = () => {
    return (
        <div>
            <User size='30px' stroke={4} color='#fff'/>
        </div>
    )
}

Enjoy!

It's nice when things just work, and that's what we're aiming for with this icon library. Let us hear your feedback!

Package Sidebar

Install

npm i brolga-icons

Weekly Downloads

0

Version

1.1.1

License

GNU GPLv3

Unpacked Size

146 kB

Total Files

194

Last publish

Collaborators

  • brolgadigital