Skip to content

Laosing/linie-avatars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Jul 18, 2022
9212a8e · Jul 18, 2022

History

10 Commits
Jul 17, 2022
Jul 17, 2022
Jul 18, 2022
Jul 17, 2022
Jul 18, 2022
Jul 18, 2022
Jul 18, 2022
Jul 17, 2022
Jul 18, 2022
Jul 18, 2022

Repository files navigation

React Linie Avatars

What is linie-avatars?

linie-avatars is a collection of simple line avatars for React.js. Each avatar is designed with an emphasis on simplicity, consistency and readability.

Linie means line in German

Installation

yarn add @laosing/linie-avatars

or

npm i @laosing/linie-avatars

Usage

import React from "react"
import { Avatar01 } from "@laosing/linie-avatars"

const App = () => {
  return <Avatar01 />
}

export default App

Icons can be configured with inline props:

<Avatar01 color="red" size={48} />

You can also include the whole icon pack:

import React from "react"
import * as Icon from "@laosing/linie-avatars"

const App = () => {
  return <Icon.Avatar01 />
}

export default App

Development

yarn compile
yarn build

License

MIT License