Skip to content

geist-org/icons

Folders and files

NameName
Last commit message
Last commit date
Apr 27, 2020
Apr 27, 2020
Jan 18, 2022
Oct 28, 2020
Nov 12, 2022
Jan 18, 2022
Apr 27, 2020
Apr 26, 2020
Apr 27, 2020
Aug 24, 2020
Jan 18, 2022
May 3, 2022
Apr 27, 2020
Dec 16, 2022

Repository files navigation

React Icons

The icon components for Geist UI.

npm Version Build

Install

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

Usage

import React from 'react'
import { Code } from '@geist-ui/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/icons'

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

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

LICENSE

MIT