@saschazar/unicat-icons

0.1.0 • Public • Published

Build Status

🦄 🐈 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

Package Sidebar

Install

npm i @saschazar/unicat-icons

Weekly Downloads

3

Version

0.1.0

License

MIT

Unpacked Size

1.04 MB

Total Files

162

Last publish

Collaborators

  • saschazar21