Schema/DSL-driven React map visualization component library powered by L7.
- Schema/DSL Driven — Declarative map configuration with JSON schema
- React Components — Ready-to-use React map visualization components
- Powered by L7 — Built on top of AntV L7 for high-performance rendering
- CLI Tool — shadcn/ui style CLI for adding components to your project
- TailwindCSS — Modern styling with Tailwind v4
| Package | Description | Version |
|---|---|---|
| @antv/aimapui | Core component library | |
| @antv/aimapui-cli | CLI for adding components |
npm install @antv/aimapui
# or
pnpm add @antv/aimapuiimport { AiMap } from '@antv/aimapui';
import '@antv/aimapui/style.css';
function App() {
return <AiMap schema={mapSchema} />;
}npx @antv/aimapui-cli add <component># Install dependencies
pnpm install
# Start dev server (site)
pnpm dev
# Build core library
pnpm build
# Build all packages
pnpm build:all
# Run tests
pnpm test
# Type check
pnpm type-check├── packages/
│ ├── core/ # @antv/aimapui - Core component library
│ ├── cli/ # @antv/aimapui-cli - CLI tool
│ └── site/ # Documentation site
├── scripts/ # Build & release scripts
└── pnpm-workspace.yaml