This package has been deprecated

Author message:

Please use @manifoldco/mercury for icons instead (https://github.com/manifoldco/mercury)

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

0.0.6 • Public • Published

Manifold Icons

Manifold’s icon system

Setup

npm install

Usage

npm i @manifoldco/icons
import { arrow_right } from '@manifoldco/icons';

const Icon = () => (
  <svg
    viewBox="0 0 1024 1024"
    xmlns="http://www.w3.org/2000/svg"
    xmlnsX="http://www.w3.org/1999/xlink"
  >
    <path d={arrow_right} />
  </svg>
);

Note: the viewBox="0 0 1024 1024" is the most important part!

Publishing to npm

You must be logged into npm and have access to the @manifoldco team to publish.

npm run deploy

Other repos use Git tagging, but this is a little different. We’re using @pika/pack’s npm publish script, which is a command prompt UI. For that reason, publishing happens locally.

If testing something, then release it as a prerelease rather than a patch version. Patch versions get pushed everywhere, so treat them as production!

Readme

Keywords

none

Package Sidebar

Install

npm i @manifoldco/icons

Weekly Downloads

1

Version

0.0.6

License

ISC

Unpacked Size

1.3 MB

Total Files

10

Last publish

Collaborators

  • jbowes
  • davehyndman
  • markjamieson
  • ntassone