JSPM

@frendz/react-native-icons

1.0.1
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • 0
    • Score
      100M100P100Q24590F
    • License MIT

    NPM package for frendz icons

    Package Exports

    • @frendz/react-native-icons
    • @frendz/react-native-icons/dist/index.js

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@frendz/react-native-icons) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    WARNING EXPERIMENTAL

    frendz Icons

    npm version npm downloads

    @frendz/react-native-icons is a collection of 24 handcrafted icons originally made for the frendz social media application. Every icon is designed on a 256x256 grid and is designed to be minimalistic.

    Installation

    npm install @frendz/react-native-icons

    Usage

    import { useState } from 'react';
    import { ArrowLeftIcon } from '@frendz/react-native-icons';
    
    const [counter, setCounter] = useState(0);
    
    const updateCounter = () => {
        setCounter(counter + 1);
    };
    
    return (
        <View>
            <PlusIcon size={24} color={'#121212'} onPress={updateCounter} accessibilityLabel={'plus'} />
        </View>
    );

    size: number (optional; default = 16)
    color: hexcode string (optional; default = '#0A0A0A')
    onPress: function (optional)

    all icons accept custom react properties

    Support

    react "^18.3.1",
    react-native "^0.76.7",
    react-native-svg "^15.11.1"

    the package has been tested in the above dependency versions; other versions may not work

    Icons

    ArrowLeft, ArrowRight, Bell, BellFill, Calendar, CalendarFill, Camera, Check, Clock, Cross, Data, Dots, Heart, HeartFill, Home, HomeFill, Lock, MagnifyingGlass, PaperPlane, Pencil, Person, PersonFill, Plus, Upload

    preview coming soon