{"_id":"@2en/icons","name":"@2en/icons","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@2en/icons","version":"0.0.1","description":"Clawly's standard icon library — central-icons re-exported for both React Native and Web, plus selectively vendored @2en/openai-icons glyphs and Clawly-custom additions.","type":"module","main":"./dist/index.web.ts","types":"./dist/index.web.ts","exports":{".":{"react-native":{"types":"./dist/index.native.ts","default":"./dist/index.native.ts"},"default":{"types":"./dist/index.web.ts","default":"./dist/index.web.ts"}}},"scripts":{"sync":"bun run scripts/sync.ts","build":"bun run scripts/build.ts","test":"bun test","typecheck":"tsgo --noEmit","start":"bun demo/index.html","build-docs":"bun build ./demo/main.jsx --outdir=demo/dist --minify && sed 's/main.jsx/main.js/;s|</head>|<link rel=stylesheet href=main.css></head>|' demo/index.html > demo/dist/index.html","clean":"rm -rf dist demo/dist src/central-icons src/openai-icons src/custom/_native src/custom/_web src/custom/native.ts src/custom/web.ts src/index.native.ts src/index.web.ts","prepare":"bun run sync && bun run build","changeset":"changeset","version-packages":"changeset version","release":"changeset publish","prepublishOnly":"bun run sync && bun run typecheck && bun run build"},"peerDependencies":{"react":">=18","react-native":">=0.74","react-native-svg":">=15"},"peerDependenciesMeta":{"react-native":{"optional":true},"react-native-svg":{"optional":true}},"dependencies":{"@2en/openai-icons":"^1.1.1","@central-icons-react-native/round-filled-radius-2-stroke-2":"^1.1.228","@central-icons-react-native/round-outlined-radius-3-stroke-2":"^1.1.228","@central-icons-react/round-filled-radius-2-stroke-2":"^1.1.228","@central-icons-react/round-outlined-radius-3-stroke-2":"^1.1.228"},"devDependencies":{"@changesets/cli":"^2.29.8","@types/bun":"^1","@types/react":"~19.1.17","@typescript/native-preview":"^7.0.0-dev.20260421.2","react":"19.1.0","react-dom":"19.1.0","react-native":"0.81.5","react-native-svg":"^15.15.2","reiconify":"^2.11.0","typescript":"~5.9"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"repository":{"type":"git","url":"git+https://github.com/2enai/2en-icons.git"},"keywords":["react","react-native","expo","icons","svg","ui","design-system","central-icons","clawly"],"license":"UNLICENSED","author":{"name":"2en"},"_id":"@2en/icons@0.0.1","gitHead":"c515196a695efd566c22522b80524f42767a2eee","bugs":{"url":"https://github.com/2enai/2en-icons/issues"},"homepage":"https://github.com/2enai/2en-icons#readme","_nodeVersion":"22.22.0","_npmVersion":"10.9.4","dist":{"integrity":"sha512-SQVdKHYip09KEd8g0BWhXgWoZCJZenYNos15k9BpIlUObVUeWdCJfdfr/qJoY+WSNWJlxtQbilGHHXN9Rnxx3g==","shasum":"d1468d18f2160b11b9158cc003d36489846ef858","tarball":"https://registry.npmjs.org/@2en/icons/-/icons-0.0.1.tgz","fileCount":16,"unpackedSize":850300,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICj42CHPWSHsCZWmKoAf1D4SeyYt1gSTqFap59p+enc9AiEAhT0SLB4Yckt2YHLwTaldG9Nri+3qO2RqxCoXFflR8lA="}]},"_npmUser":{"name":"ambarli","email":"me@ambar.li"},"directories":{},"maintainers":[{"name":"ambarli","email":"me@ambar.li"},{"name":"banyudu","email":"banyudu@gmail.com"},{"name":"huangdawei","email":"david@hdw.im"},{"name":"tianlu_2en","email":"tianlu@2en.ai"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/icons_0.0.1_1778219759894_0.586912827026949"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-08T05:55:59.767Z","0.0.1":"2026-05-08T05:56:00.054Z","modified":"2026-05-08T05:56:00.371Z"},"maintainers":[{"name":"ambarli","email":"me@ambar.li"},{"name":"banyudu","email":"banyudu@gmail.com"},{"name":"huangdawei","email":"david@hdw.im"},{"name":"tianlu_2en","email":"tianlu@2en.ai"}],"description":"Clawly's standard icon library — central-icons re-exported for both React Native and Web, plus selectively vendored @2en/openai-icons glyphs and Clawly-custom additions.","homepage":"https://github.com/2enai/2en-icons#readme","keywords":["react","react-native","expo","icons","svg","ui","design-system","central-icons","clawly"],"repository":{"type":"git","url":"git+https://github.com/2enai/2en-icons.git"},"author":{"name":"2en"},"bugs":{"url":"https://github.com/2enai/2en-icons/issues"},"license":"UNLICENSED","readme":"# @2en/icons\n\nClawly's standard icon library — one import path, both React Native and Web.\n\n## Quick usage\n\n```tsx\nimport {IconBubbleQuestion, IconBubbleQuestionFilled} from '@2en/icons'\n\n// Outlined (no suffix)\n<IconBubbleQuestion size={24} color=\"#1d1d1f\" />\n// Filled\n<IconBubbleQuestionFilled size={24} color=\"#1d1d1f\" />\n```\n\nEach icon takes `IconProps` (re-exported from upstream `CentralIconBaseProps`):\n`size?: number | string` (default 24), `color`, `style`, plus the underlying SVG props.\n\n## Naming\n\nOutlined and filled are **separate components**, not a `variant` prop — tree-shaking only ships what you import.\n\n| Form | Meaning |\n|---|---|\n| `IconArchive` | outlined |\n| `IconArchiveFilled` | filled |\n\nA handful of glyphs are vendored from `@2en/openai-icons` instead of central-icons (e.g. `IconArchive`, `IconStop`, `IconTasks`); these don't expose a `*Filled` variant — mixing the oai outlined with a central filled would clash visually.\n\n## Cross-platform\n\n`import {IconArchive} from '@2en/icons'` works in both React Native (Metro / Expo) and React Web (Webpack / Vite / Next.js). The package's `exports` field switches by bundler condition:\n\n- `react-native` → `@central-icons-react-native/*`\n- `default` → `@central-icons-react/*`\n\n`react-native` and `react-native-svg` are **optional** peer deps — Web-only consumers see no install warnings.\n\n## `IconName` type\n\n`IconName` is the **intersection of native ∩ web** — names guaranteed to exist on every platform. Names exclusive to one platform are still importable, just absent from this union.\n\n## Conventions\n\n- **No deep imports.** Always `import {IconX} from '@2en/icons'`.\n- **PascalCase, `Icon` prefix.**\n- **No `default` exports.** Always named.\n\n## License\n\nRe-exported icons under `src/central-icons/` are sourced from [Iconists Central Icons](https://centralicons.com) under our purchased license; the Iconists license terms apply. Vendored glyphs in `src/openai-icons/` retain `@2en/openai-icons`' license. Hand-authored content in `src/custom/` is Clawly's.\n\n---\n\nWorking on this package? See [`CLAUDE.md`](./CLAUDE.md).\n","readmeFilename":"README.md","_rev":"1-48a81cb8c0f68f707567dbf17fa1fdfc"}