npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@wecareu/icons

v1.0.9

Published

Sistema de ícones SVG para WeCareU Design System

Readme

@wecareu/icons

Sistema de ícones SVG e animações Lottie para WeCareU Design System.

Instalação

npm install @wecareu/icons react-native-svg lottie-react-native

Uso

Ícones SVG

import { Icon } from '@wecareu/icons';

// Uso básico
<Icon name="home" />

// Com tamanho e cor personalizados
<Icon name="heart" size={24} color="#ff0000" />

// Com outras props do SVG
<Icon name="search" width={32} height={32} fill="currentColor" />

Animações Lottie

import { Lottie } from '@wecareu/icons';

// Uso básico
<Lottie name="dots" />

// Com tamanho e opções personalizadas
<Lottie 
  name="notification" 
  size={200} 
  autoPlay={true}
  loop={true}
  speed={1.5}
/>

Ícones Disponíveis

O pacote inclui 69 ícones SVG otimizados para React Native:

  • arrowDown, arrowLeft, arrowRight, arrowSpin, arrowUp
  • avatar, avatarFill
  • bank, bookProfile, bot, busStop
  • calendar, camera, car, card, chatClose
  • chevronDown, chevronLeft, chevronRight, chevronUp
  • close, config, correct, crown
  • denounce, diamond, distance, dryer
  • edit, eyeOff, eyeOn
  • filter, fingerPrint, fingernail
  • heart, heartFilled, home
  • image, imageGallery, information
  • list, listAlt, location, lock, mail
  • maskSad, menu, money, money1, moneyCard
  • notificationOff, notificationOn
  • paperPlane, pix, plus
  • search, share, star, starFilled, stars
  • supportCenter, tag, time, trash, upload
  • user, userBlock, userFilled, walk

Animações Lottie Disponíveis

  • dots - Animação de pontos de carregamento
  • locations - Animação de localização/mapa
  • notification - Animação de notificação

Props

Icon (SVG)

| Prop | Tipo | Padrão | Descrição | |------|------|--------|-----------| | name | IconName | - | Nome do ícone (obrigatório) | | size | number | - | Tamanho do ícone (aplica width e height) | | color | string | - | Cor do ícone (aplica fill) | | ...rest | SvgProps | - | Outras props do componente SVG |

Lottie (Animações)

| Prop | Tipo | Padrão | Descrição | |------|------|--------|-----------| | name | LottieAnimationName | - | Nome da animação (obrigatório) | | size | number | - | Tamanho da animação (aplica width e height) | | autoPlay | boolean | true | Inicia automaticamente | | loop | boolean | true | Loop infinito | | speed | number | 1 | Velocidade da animação | | style | ViewStyle | - | Estilos customizados | | testID | string | - | ID para testes |

Desenvolvimento

Gerar Ícones SVG

Para gerar os componentes TSX a partir dos arquivos SVG:

npm run icons:gen

Gerar Mapa Lottie

Para gerar o mapa de animações Lottie:

npm run lottie:gen

Build

Para fazer build completo do pacote (gera ícones, mapa Lottie e faz build):

npm run build

Estrutura

src/
├── assets/
│   ├── svg/          # Arquivos SVG originais
│   └── lottie/       # Arquivos JSON Lottie
├── generated/        # Componentes TSX auto-gerados
├── icons-map.ts      # Mapa de ícones SVG e tipos
├── lottie-map.ts     # Mapa de animações Lottie (auto-gerado)
├── Icon.tsx          # Componente de ícones SVG
├── Lottie.tsx        # Componente de animações Lottie
└── index.tsx         # Exports públicos

Características

  • Build automático: SVGs são convertidos em componentes TSX usando @svgr/core
  • Animações Lottie: Suporte completo para animações JSON Lottie
  • TypeScript: Tipagem completa com IconName, LottieAnimationName e props
  • Tree-shaking: Suporte completo para tree-shaking
  • React Native: Otimizado para React Native
  • Sem configuração: Não requer transformers adicionais
  • Acessibilidade: Suporte nativo a props de acessibilidade

Dependências

  • react (peer dependency)
  • react-native (peer dependency)
  • react-native-svg (peer dependency)
  • lottie-react-native (peer dependency, >= 6.0.0)

Licença

UNLICENSED