0.1.0 • Published 4 years ago

@saschazar/unicat-icons v0.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

Build Status

:unicorn: :cat2: Unicat icons

a collection of .svg icons for React, React Native and react-sketchapp with TypeScript support.

Prerequisites

(of course a Next.js also works, when using React for the web)

Install

npm install @saschazar/unicat-icons or yarn add @saschazar/unicat-icons respectively.

Usage

React (default)

import { KeyIcon } from '@saschazar/unicat-icons';

export default function () {
  return <h1>A Headline with a key icon <KeyIcon /></h1>;
}

React Native

import { Text, View } from 'react-native';
import { KeyIcon } from '@saschazar/unicat-icons/native';

export default function () {
  return (
    <View>
      <Text>A Text with a key icon <KeyIcon /></Text>
    </View>
  );
}

react-sketchapp

import { Artboard, Text } from 'react-sketchapp';
import { KeyIcon } from '@saschazar/unicat-icons/sketchapp';

export default function () {
  return (
    <Artboard>
      <Text>A Text with a key icon <KeyIcon /></Text>
    </Artboard>
  );
}

License

MIT