New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@geist-ui/react-icons

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@geist-ui/react-icons

React icon components for Geist UI.

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
2
Created
Source

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

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

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

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

LICENSE

MIT

FAQs

Package last updated on 29 Oct 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts