Skip to content

Latest commit

 

History

History
59 lines (41 loc) · 910 Bytes

README.md

File metadata and controls

59 lines (41 loc) · 910 Bytes

Ubie Icons

Storybook: https://ubie-oss.github.io/ubie-icons/storybook-static/

Installation

Web

// with npm
npm install @ubie/ubie-icons

// with yarn
yarn add @ubie/ubie-icons

React Native

// with npm
npm install @ubie/ubie-icons react-native-svg

// with yarn
yarn add @ubie/ubie-icons react-native-svg

Usage

Web

import { Twitter } from '@ubie/ubie-icons';

export const TwitterButton = () => (
  <button type="button">
    <Twitter />
    Twitter
  </button>
);

React Native

import { Twitter } from '@ubie/ubie-icons/native';

export const TwitterButton = () => (
  <button type="button">
    <Twitter />
    Twitter
  </button>
);

currentColor is set for the icon's path, so you can change the color using CSS.

License

This icon set is licensed under the MIT License.