# Fakemui Getting Started Guide
Fakemui is a Material Design 3-compliant UI component library providing 122+ components for consistent design across MetaBuilder frontends (React/Next.js and Qt6/QML).
## Quick Setup
### Installation
Fakemui is available within the MetaBuilder monorepo. Import directly:
```typescript
import { Button, Card, TextField, Box } from '@/fakemui'
```
### Basic Component Usage
```typescript
import { Button, Card, Box, Typography } from '@/fakemui'
export function MyComponent() {
return (
Hello, Fakemui!
)
}
```
## Common Components by Category
### Forms & Inputs
```typescript
import {
Button,
TextField,
Select,
Checkbox,
RadioButton,
Switch,
DatePicker,
FileUpload
} from '@/fakemui'
// Text input
// Select dropdown
// Checkbox
// Button variations
```
### Containers & Layout
```typescript
import { Card, Box, Stack, Grid, AppBar, Drawer } from '@/fakemui'
// Card for content grouping
Content here
// Stack for spacing
// Grid for layouts
Half width on mobile, full on desktop
Half width on mobile, full on desktop
// Drawer for navigation
```
### Data Display
```typescript
import { Table, List, Avatar, Badge, Chip, Progress } from '@/fakemui'
// List with items
Item 1
Item 2
// Table for tabular data
// Avatar for user images
// Chip for tags/categories
// Progress indicator
```
### Feedback & Alerts
```typescript
import { Alert, Dialog, Progress, Skeleton, Tooltip } from '@/fakemui'
// Alert messages
Operation completed!
Something went wrong
// Dialog/Modal
// Tooltip
// Skeleton loader
```
### Navigation
```typescript
import { Tabs, TabPanel, Menu, Breadcrumbs } from '@/fakemui'
// Tabs
Tab 1 content
// Breadcrumbs
Home
Docs
Current Page
// Menu/Dropdown
```
## Material Design 3 Theming
### Built-in Themes
Fakemui includes 9 Material Design 3 theme variants:
- **default** - Primary blue theme
- **light** - Light mode
- **dark** - Dark mode
- **ocean** - Ocean blue tones
- **forest** - Green tones
- **sunset** - Orange/warm tones
- **lavender** - Purple tones
- **midnight** - Deep blue tones
- **rose** - Pink/rose tones
### Using Themes
```typescript
import { ThemeProvider } from '@/fakemui/theming'
export function App() {
return (
)
}
```
### Switching Themes Dynamically
```typescript
import { useTheme } from '@/fakemui/theming'
export function ThemeSwitcher() {
const { setTheme } = useTheme()
return (