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

0.7.3 • Public • Published

@posthog/icons

NPM

image

Install

npm install --save @posthog/icons

# or

yarn add @posthog/icons

Usage

import { Logomark } from '@posthog/icons'

const Example = () => {
    return <Logomark />
}

Development

yarn dev

Publishing to NPM

  1. Mark your PR with the appropriate label (e.g. bump patch)
  2. When merged, it will trigger the bump, followed by publishing to npm

Requesting icons

  1. If you see an appropriate icon, use that first
  2. Check the Central Icons Figma file to see if there is anything appropriate (stroke: 1.5, radius: 1.0) and add it to the package. If possible, please:
    1. Convert strokes to outlines in Figma (break apart, select icon, Path → Outline stroke)
    2. Optimize with SVGOMG
    3. When pasting into Icons.tsx, locate where the icon should go alphabetically
    4. After pasting, remove any fills and convert fill-rule and clip-rule to fillRule and `clipRule
  3. Create an issue in this repo so Cory can add the same icon to our Figma icon library
  4. React out to Cory if there is something you would like but can't find

Readme

Keywords

none

Package Sidebar

Install

npm i @posthog/icons

Weekly Downloads

6,703

Version

0.7.3

License

MIT

Unpacked Size

1.12 MB

Total Files

11

Last publish

Collaborators

  • robbie-c
  • fraserhopper
  • manoelposthog
  • watilo
  • xavier-posthog
  • ben-posthog
  • twixes
  • fuziontech
  • mariusandra
  • timgl