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

@tesserix/icons

v1.0.0

Published

Icon library for Tesserix Design System - Lucide icons wrapper + custom brand icons

Downloads

79

Readme

@tesserix/icons

Icon library for the Tesserix Design System - Lucide icons wrapper + custom brand icons.

Features

  • Lucide icons for web (React) and React Native
  • Platform-specific optimizations
  • Custom brand and design-specific icons
  • TypeScript support
  • Tree-shakeable exports
  • Icon size utilities based on design tokens

Installation

npm install @tesserix/icons
# or
pnpm add @tesserix/icons
# or
yarn add @tesserix/icons

Peer Dependencies

Install the appropriate Lucide package for your platform:

For web (React):

npm install lucide-react

For React Native:

npm install lucide-react-native react-native-svg

Both are optional peer dependencies - install only what you need.

Usage

Web (React)

import { Home, Search, Star, iconSizes, getIconSize } from '@tesserix/icons/web'

function MyComponent() {
  return (
    <div>
      <Home size={iconSizes.md} />
      <Search size={getIconSize('lg')} />
      <Star size={24} className="text-yellow-500" />
    </div>
  )
}

React Native

import { Home, Search, Star, iconSizes, getIconSize } from '@tesserix/icons/native'
import { View } from 'react-native'

function MyComponent() {
  return (
    <View>
      <Home size={iconSizes.md} color="#000" />
      <Search size={getIconSize('lg')} color="#666" />
      <Star size={24} color="#FFD700" />
    </View>
  )
}

Custom Icons

import { TesserixLogo, Twitter, LinkedIn, Instagram } from '@tesserix/icons/custom'

function MyComponent() {
  return (
    <>
      <TesserixLogo size={32} className="text-primary" />
      <Twitter size={24} className="text-blue-500" />
      <LinkedIn size={24} className="text-blue-700" />
      <Instagram size={24} className="text-pink-500" />
    </>
  )
}

Available custom icons:

  • TesserixLogo - Placeholder brand logo (replace with your actual SVG)
  • Twitter - Twitter/X social icon
  • LinkedIn - LinkedIn social icon
  • Facebook - Facebook social icon
  • Instagram - Instagram social icon
  • YouTube - YouTube social icon
  • Threads - Threads social icon
  • TikTok - TikTok social icon
  • Apple - Apple social icon

Icon Sizes

Pre-defined icon sizes based on Tesserix design tokens:

| Size | Pixels | |------|--------| | xs | 12 | | sm | 16 | | md | 20 | | lg | 24 | | xl | 32 | | 2xl | 40 |

import { iconSizes, getIconSize } from '@tesserix/icons/web'

// Direct access
const size = iconSizes.md // 20

// Using helper function
const size = getIconSize('lg') // 24
const defaultSize = getIconSize() // 20 (md is default)

Available Icons

This package re-exports all icons from Lucide with commonly used icons grouped for convenience:

Navigation

Home, Menu, X, ChevronLeft, ChevronRight, ChevronUp, ChevronDown, ArrowLeft, ArrowRight, ArrowUp, ArrowDown

Actions

Plus, Minus, Edit, Trash2, Save, Copy, Download, Upload, Share2, ExternalLink

UI

Search, Settings, User, Users, Bell, Mail, Calendar, Clock, Heart, Star

Status

Check, CheckCircle, AlertCircle, AlertTriangle, Info, XCircle, HelpCircle, Loader2

Media

Image, File, FileText, Folder, FolderOpen, Camera, Video, Music

Other

Eye, EyeOff, Lock, Unlock, LogIn, LogOut, MoreHorizontal, MoreVertical, Github

For the complete list of available icons, visit Lucide Icons.

Adding Custom Icons

To add custom brand icons, edit src/custom/index.tsx:

export function MyCustomIcon({ size = 24, className, ...props }: CustomIconProps) {
  return (
    <svg
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      className={className}
      {...props}
    >
      {/* Your SVG paths */}
    </svg>
  )
}

// Add to exports
export const customIcons = {
  TesserixLogo,
  MyCustomIcon,
} as const

Tree-Shaking

For optimal bundle size, import directly from platform-specific subpaths:

// Recommended (only bundles web icons)
import { Home, Search } from '@tesserix/icons/web'

// Recommended (only bundles React Native icons)
import { Home, Search } from '@tesserix/icons/native'

// Also works (smaller bundle - only types and utilities)
import type { IconSize } from '@tesserix/icons'
import { iconSizes } from '@tesserix/icons'

TypeScript

Full TypeScript support with exported types:

import type { LucideProps, LucideIcon, IconSize } from '@tesserix/icons'
import type { CustomIconProps } from '@tesserix/icons/custom'

const MyIcon: LucideIcon = Home
const size: IconSize = 'lg'

License

MIT