Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@rootnative/icons

Latest version: v0.0.5

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: raajnadar
5 Stars
0 Forks
34 Versions
2.0K Downloads
TypeScript Repo language

Scan summary

@rootnative/icons was last scanned on 29 Nov 2026 at version 0.0.5. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 34 versions; the latest 2 were published within 3 days (27–29 Nov 2026).
  • Findings: No rules fired in version 0.0.5.
  • Downloads: 2,005 downloads.

Versions

34 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.0.5 LATEST 29 Nov 2026 No rules fired
0.0.4 27 Nov 2026 No rules fired
0.0.3 22 Nov 2026 No rules fired
0.0.2 21 Nov 2026 Not shown
0.0.1 21 Nov 2026 Not shown

No rules fired in 0.0.5

Findings

Findings for v0.0.5. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.0.5; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

@rootnative/icons

Icon-library adapters for Root Native UI. Built-in iconResolver factories that route string icon names (leadingIcon="check") to the icon library of your choice: Lucide, Phosphor, any @react-native-vector-icons/* set, or your own resolver.

Install

pnpm add @rootnative/icons

Then install the icon library you use. Each one is an optional peer dependency, so nothing installs until you pick one:

pnpm add lucide-react-native      # for createLucideResolver
pnpm add phosphor-react-native    # for createPhosphorResolver
pnpm add @react-native-vector-icons/ionicons   # or any set, for createVectorIconsResolver

Adapters

Helper For
createLucideResolver({ icons }) Lucide (lucide-react-native)
createPhosphorResolver({ icons }) Phosphor (phosphor-react-native)
createVectorIconsResolver({ IconSet }) Any @react-native-vector-icons/* set (Ionicons, FontAwesome7, …), or the MDI /static export
withLegacyMdiFallback(resolver) Wrap any custom resolver to add MDI-name compatibility

Each adapter returns an IconResolver that you pass straight to ThemeProvider from @rootnative/core.

Quick start (Lucide)

import { ThemeProvider } from '@rootnative/core'
import { createLucideResolver } from '@rootnative/icons'
import { Check, Search, ArrowRight, Heart } from 'lucide-react-native'

const resolver = createLucideResolver({
  icons: {
    check: Check,
    search: Search,
    'arrow-right': ArrowRight,
    heart: Heart,
  },
  mdiCompat: true, // accept legacy MDI names like "magnify", "delete"
  strokeWidth: 1.75, // optional — Lucide default is 2
})

export default function App() {
  return (
    <ThemeProvider iconResolver={resolver}>
      {/* String icon names now render through Lucide */}
    </ThemeProvider>
  )
}

Phosphor

import { createPhosphorResolver } from '@rootnative/icons'
import { Check, MagnifyingGlass, ArrowRight } from 'phosphor-react-native'

const resolver = createPhosphorResolver({
  icons: { Check, MagnifyingGlass, ArrowRight },
  weight: 'regular', // 'thin' | 'light' | 'regular' | 'bold' | 'fill' | 'duotone'
  mdiCompat: true,
})

@react-native-vector-icons

Use this adapter for a vector-icon set other than mdiResolver, with an optional alias map. Expo recommends these packages in place of @expo/vector-icons:

import { Ionicons } from '@react-native-vector-icons/ionicons'
import { createVectorIconsResolver } from '@rootnative/icons'

const resolver = createVectorIconsResolver({
  IconSet: Ionicons,
  aliases: {
    check: 'checkmark',
    'arrow-right': 'arrow-forward',
  },
})

The adapter forwards a name that you don't alias to the icon set as is.

MDI compatibility

mdiCompat: true enables a curated alias map, so MDI names keep working after a switch of libraries (magnify → search, delete → trash-2, dots-vertical → more-vertical, …). Pass an object to extend or remove entries:

mdiCompat: { magnify: 'binoculars', pencil: null }

For your own resolver (SF Symbols, custom SVGs), wrap it with withLegacyMdiFallback to get the same alias behavior:

import { withLegacyMdiFallback } from '@rootnative/icons'

const resolver = withLegacyMdiFallback(myResolver, { target: 'lucide' })

The wrapper always tries the base resolver first. It reads the alias map only when the base returns null.

Missing icons

When the resolver can't find a name, it calls console.warn once per missing name. Pass onMissing: 'silent' to mute it, or pass another IconResolver to chain as a fallback.

Note: some components render system icons of their own (Checkbox uses check; Chip uses check and close). Map those names in your resolver, or use the built-in mdiCompat map, which covers them.

Exports

  • createLucideResolver / LucideIconComponent / LucideResolverOptions
  • createPhosphorResolver / PhosphorIconComponent / PhosphorIconWeight / PhosphorResolverOptions
  • createVectorIconsResolver / VectorIconSet / VectorIconsResolverOptions
  • withLegacyMdiFallback / LegacyMdiTarget / WithLegacyMdiFallbackOptions
  • mdiToLucideAliases / mdiToPhosphorAliases: the raw alias maps
  • IconResolver / IconRenderProps: also exported here, from @rootnative/core

Docs

Full guide (per-call icons, SF Symbols, custom SVGs): https://rootnative.github.io/ui/icons

LLM-optimized reference: https://rootnative.github.io/ui/llms-full.txt. Or read node_modules/@rootnative/icons/llms.txt for the exact installed version.

License

MIT

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @rootnative/icons

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Frame 2085668439 (1)
Group 1261154229