Skip to content
AXIcons
AXIcons
Theme

Installation

Pick your framework and package manager, install, and render a first icon.

Choose your setup

Select a framework and a package manager. The command, the example and the preview update together, and your package manager choice is remembered across the docs.

Terminal
pnpm add @axcore/xicons-react
App.tsx
import { IconCamera } from "@axcore/xicons-react";

export default function App() {
  return <IconCamera size={32} />;
}
Live preview

Requirements

PackageRequires
@axcore/xicons-reactreact ^19.3.1
@axcore/xicons-react-nativereact ^19.3.1, react-native >=0.78, react-native-svg >=15
@axcore/xiconsNothing at runtime. Node 22+ for its own tooling.

Every package is ES modules only ("type": "module"). Use import; from CommonJS, use await import().

Common setup mistakes

  • Installing only the core package for React. @axcore/xicons exports icon data, not components. Install @axcore/xicons-react for JSX.
  • Forgetting `react-native-svg` in the app. It is a dependency of the native package, but autolinking only sees packages in your app's own package.json.
  • Guessing export names. Names are Icon plus the PascalCase file name; copy them from the explorer or read the naming guide.
  • Using `require()`. The packages are ESM only.

Next steps

Something wrong or missing?Open an issue

Jump to
Browse all iconsIcon library
InstallationGetting started
Quick startGetting started
ReactIntegrations
React NativeIntegrations
↑↓ navigateopen⌘K toggle