# 🚀 Avanza UI - Inicio Rápido
## Instalación en 3 Pasos
### 1️⃣ Instalar la biblioteca
```bash
cd packages/studio-panel
npm install ../ui-components
```
### 2️⃣ Importar estilos globales
```tsx
// packages/studio-panel/src/main.tsx
import 'avanza-ui/dist/index.css';
```
### 3️⃣ ¡Usar componentes!
```tsx
import { Button, Card } from 'avanza-ui';
function App() {
return (
);
}
```
## 📖 Componentes Disponibles
```tsx
import {
// Layout
Card, CardHeader, CardBody, CardFooter,
// Forms
Button, Input,
// Feedback
Alert, Spinner, Tooltip,
// Display
Avatar, Badge,
// Overlay
Modal, ModalHeader, ModalBody, ModalFooter,
Dropdown, DropdownItem, DropdownDivider, DropdownHeader,
// Utils
cn, debounce, throttle, generateId
} from 'avanza-ui';
```
## 🎨 Temas
```tsx
// Cambiar a dark mode
document.documentElement.setAttribute('data-theme', 'dark');
// Cambiar a light mode
document.documentElement.setAttribute('data-theme', 'light');
```
## 💡 Ejemplos Rápidos
### Button
```tsx
}>Delete
```
### Card
```tsx
console.log('clicked')}>
Title
Content
Footer
```
### Input
```tsx
```
### Modal
```tsx
const [isOpen, setIsOpen] = useState(false);
<>
setIsOpen(false)}>
setIsOpen(false)} />
Content here
>
```
### Alert
```tsx
```
### Avatar
```tsx
```
### Dropdown
```tsx
Options}>
}>Profile
Logout
```
## 🎯 Personalización
```css
/* Personaliza colores */
:root {
--au-primary-600: #your-color;
--au-spacing-4: 1.5rem;
}
```
## 📦 Build para Producción
```bash
cd packages/ui-components
npm run build
```
## 🔗 Links Útiles
- 📚 **README.md** - Documentación completa
- 🎓 **GUIDE.md** - Guía de desarrollo
- 🏗️ **STUDIO_IMPLEMENTATION.md** - Implementación en studio-panel
- 📊 **SUMMARY.md** - Resumen del proyecto
---
**Avanza UI v1.0.0** - ¡Listo para usar!