create-i316
v0.1.1
Published
Guided installer for i316 icons (Solar, Phosphor, Heroicons, Lucide) in React, React Native, Vue, Angular and plain HTML.
Maintainers
Readme
create-i316
The guided installer for i316 icons: Solar (1,454), Phosphor (1,512), Heroicons (324), Lucide (2,194).
npm create i316
# or: pnpm create i316 · yarn create i316 · bun create i316Run it inside your project. It asks:
- Framework: React, Next.js, React Native, Expo, Vue, Nuxt, Angular, or plain HTML. Detected from your
package.jsonwhen possible. - Icon sets you want.
- Styles you'll use (linear, bold, duotone, …). Every package contains all of its styles; this picks the examples you're shown.
Then it installs only the matching @i316/<set>-<framework> packages with your package manager (plus react-native-svg for React Native and Expo), and prints:
- the setup steps your framework needs, such as the tree-shaking Babel plugin for React Native or the Next.js setting
- import examples for your chosen styles
It never edits your project files. Only your package manager touches package.json and the lockfile. Plain HTML projects can skip installing and use the jsDelivr CDN instead.
Skip the questions
Name the framework and icon sets, in any order. Add :style,style to a set to pick its styles, or :all for every style (otherwise its default style). Anything you leave out is still asked.
npm create i316 next solar # Next.js + Solar, no questions
npm create i316 expo phosphor:regular,duotone lucide
npm create i316 vue heroicons:all
npm create i316 cdn solar:linear,bold # plain HTML from the CDN, installs nothing
npm create i316 solar # asks only for the framework
npm create i316 helpFrameworks: react, next, react-native, expo, vue, nuxt, angular, html, cdn. Icon sets: solar, phosphor, heroicons, lucide.
A few options exist; with npm they go after -- so npm passes them on: npm create i316 -- --dry-run next solar. They are --dry-run (show what would be installed, install nothing), --yes (skip the final confirmation) and --pm <npm|pnpm|yarn|bun> (override the detected package manager). Requires Node.js 20.12 or later.
License
MIT, © 2026 rahil316. The icon packages it installs carry their own icon licenses.
