New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@manychat/icons

Package Overview
Dependencies
Maintainers
0
Versions
128
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@manychat/icons

ManyChat Icons bundle

  • 4.31.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

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

Keywords

FAQs

Package last updated on 07 Feb 2025

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc