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

homestars-icons

Package Overview
Dependencies
Maintainers
3
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

homestars-icons

HomeStars componentized icons

  • 0.1.62
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

HomeStars Componentized Icons

A set of React components containing SVG icons. View all currently available icons

Installation

Using npm:

$ npm i --save homestars-icons

Usage

  1. Import an icon into your app.
import { Project } from "homestars-icons";
  1. Most colour options can be specified via the stroke prop:
render = () => {
  return <Project stroke="#000000" />;
}

Some icons can accept a fill value as well; some have even more robust colouring options.

<Lock 
  stroke="LightSteelBlue"
  fill="Goldenrod"
  keyholeFill="DarkSlateGrey"
/>

The default in most cases is #000000; notable exceptions include logo icons.

  1. The default size is 22px x 22px, but can be adjusted via the size prop.

Contributing

  1. Clone this project
$ git clone git@github.com:homestars/icons.git
  1. Install dependencies
$ npm install
  1. Start the dev environment
$ npm start

Publishing

  1. To publish one must have an npm account and be added to the to the https://www.npmjs.com/org/homestarsdotcom team.

  2. Additionaly, one has to login into npm from the command line

npm login
  1. Finally, after committing changes to master, run following command to publish to npm:
$ npm run patch

This will increment the version, build a distribution, and publish to NPM.

  1. Finally, update the npm version of the homestars-icon package in the package.json of your project.
npm upgrade homestars-icons

Keywords

FAQs

Package last updated on 02 Nov 2020

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