@geist-ui/react-icons
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

React Icons

React icon components for Geist UI.

npm Version Build

Install

$ yarn add @geist-ui/react-icons
OR
$ npm install @geist-ui/react-icons

Usage

import React from 'react'
import { Code } from '@geist-ui/react-icons'

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

export default App

Icons can be configured with color, size and any SVG props:

<Code color="red" size={36} />
<Code color="blue" strokeWidth={2} />

Other ways

  1. You can include the whole icon pack:
import * as Icons from '@geist-ui/react-icons'

const App = () => {
  return <Icons.Code />
}
  1. You can include single icon:
import Code from '@geist-ui/react-icons/code'

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

LICENSE

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @geist-ui/react-icons

Weekly Downloads

370

Version

1.0.1

License

MIT

Unpacked Size

518 kB

Total Files

642

Last publish

Collaborators

  • echo_unix
  • ofekashery