Socket
Socket
Sign inDemoInstall

becoxy-icons

Package Overview
Dependencies
3
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    becoxy-icons

SVG-based React icon components


Version published
Weekly downloads
346
increased by20.14%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Becoxy icons

Build & Publish
yarn

yarn svgr

yarn build

yarn pack

yarn publish --access public
What is becoxy-icons?

becoxy-icons is a collection of simply beautiful open source icons for React.js. Each icon is designed on a 24x24 grid with an emphasis on simplicity, consistency and readability.

Based on becoxy Icons

Installation

yarn add becoxy-icons

or

npm i becoxy-icons

Usage

import React from 'react';
import { Camera } from 'becoxy-icons';

const App = () => {
  return <Camera />
};

export default App;

Icons can be configured with inline props:

<Camera color="red" />

If you can't use ES6 imports, it's possible to include icons from the compiled folder ./dist.

var Camera = require('becoxy-icons/dist/icons/camera').default;

var MyComponent = React.createClass({
  render: function () {
    return (
      <Camera />
    );
  }
});

You can also include the whole icon pack:

import React from 'react';
import * as Icon from 'becoxy-icons';

const App = () => {
  return <Icon.Camera />
};

export default App;

Keywords

FAQs

Last updated on 15 Jun 2024

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc