npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@manychat/icons

v4.27.0

Published

ManyChat Icons bundle

Downloads

1,908

Readme

ManyChat Icons Pack Generator Build Status

Generator import icons as SVG files from a corresponding Figma screen with ManyChat Icons and converts them as ready to use React components.

Generated icons pack is hosted on NPM: https://www.npmjs.com/package/@manychat/icons

Quick Start

Detailed instructions are available in Contribution Guide and Usage Guide

Publishing

  1. Install a Figma plugin for publishing a new version: https://www.figma.com/c/plugin/739395588962138807/figma-icon-automation
  2. Open ManyChat Icons Figma screen: https://www.figma.com/file/S7TzzdQzTkNTBejt43w2wHwN/MC-Icons
  3. Run installed plugin
  4. Navigate to the Settings tab:
    • Put https://github.com/manychat/icons into GitHub Repository URL field
    • Value of a Github Token for a corresponding field can be found in Contribution Guide
  5. Navigate to the Publish tab:
    • Copy value of current version into The new version field and increment last number of it by one
    • Write what was changed in a new version to What has been changed field
    • Press push to Github button
  6. Navigate to https://github.com/manychat/icons/pulls:
    • Open pull request with a new version
    • Press Merge button if you have sufficient permissions to do it or ask someone from @frontend-community in Slack to do it instead

Usage in the app

You can install a specific version of an icons pack by running env version=x.x.x npm run icons:install where x.x.x is the value of a target version. This command will install the corresponding package version, update package.json and package-lock.json and will create Git commit for these changes.

Icon components can be used as:


import { Icon, palettes } from '@manychat/manyui'

const Star = () => <Icon.Star color={palettes.semantic.accent} size={32} />

Visual testing

The latest published version can be viewed in https://design.manychat.com/components/icon

The current icon set can be exported from Figma and previewed locally:

  1. Clone this repository and navigate to the cloned directory
  2. Run npm ci to install dependencies
  3. Get Figma API Token: https://www.figma.com/developers/api#access-tokens
  4. Run env FIGMA_TOKEN=your_generated_figma_token npm run export:preview
  5. Navigate to http://localhost:10001

To preview icons locally in the app:

  1. Clone this repository and navigate to the cloned directory
  2. Run npm ci to install dependencies
  3. Get Figma API Token: https://www.figma.com/developers/api#access-tokens
  4. Run env FIGMA_TOKEN=your_generated_figma_token npm run export:pack
  5. Link current directory to global npm scope by running npm link
  6. Navigate to an app directory and link global scoped icons directory to an app directory: npm unlink --save @manychat/icons && npm link @manychat/icons
  7. Build an app and navigate to http://localhost:8080