36 lines
616 B
Markdown
36 lines
616 B
Markdown
|
|
---
|
||
|
|
nav: Guide
|
||
|
|
title: Introduction
|
||
|
|
---
|
||
|
|
|
||
|
|
# Pika UI
|
||
|
|
|
||
|
|
AI-Native component library for modern visualization.
|
||
|
|
|
||
|
|
## Features
|
||
|
|
|
||
|
|
- **AI-First** — Zero-ambiguity APIs designed for AI code generation
|
||
|
|
- **Type Safe** — Full type inference with TypeScript
|
||
|
|
- **Flexible Theme** — Full theme customization via CSS variables
|
||
|
|
- **Tree Shaking** — Modular architecture, only bundle what you use
|
||
|
|
|
||
|
|
## Installation
|
||
|
|
|
||
|
|
```bash
|
||
|
|
npm install @Pika/ui
|
||
|
|
# or
|
||
|
|
pnpm add @Pika/ui
|
||
|
|
```
|
||
|
|
|
||
|
|
## Quick Start
|
||
|
|
|
||
|
|
```tsx
|
||
|
|
import { Button } from '@Pika/ui'
|
||
|
|
|
||
|
|
export default () => (
|
||
|
|
<Button variant="solid" color="primary">
|
||
|
|
Hello Pika
|
||
|
|
</Button>
|
||
|
|
)
|
||
|
|
```
|