open-index/open-npm huggingface dataset:
npm package: @simplemodule/client
Description: [![npm](https://img.shields.io/npm/v/@simplemodule/client.svg)](https://www.npmjs.com/package/@simplemodule/client)
Latest version: 0.0.30

# @simplemodule/client

[![npm](https://img.shields.io/npm/v/@simplemodule/client.svg)](https://www.npmjs.com/package/@simplemodule/client)

Vite plugin and utilities for building SimpleModule frontend modules.

## Installation

```bash
npm install @simplemodule/client
```

## Quick Start

```typescript
// vite.config.ts
import { defineModuleConfig } from '@simplemodule/client/module';

export default defineModuleConfig({
  moduleName: 'Products',
});
```

```typescript
// app.tsx
import { resolvePage } from '@simplemodule/client/resolve-page';

createInertiaApp({
  resolve: resolvePage,
  // ...
});
```

## Key Features

- **defineModuleConfig** -- Vite configuration factory for module library builds
- **resolvePage** -- dynamic page resolver that loads module bundles by route name
- **Vite vendor plugin** -- bundles shared dependencies (React, Inertia) for module consumption

## Links

- [GitHub Repository](https://github.com/antosubash/SimpleModule)
npm package: @simplemodule/theme-default
Description: [![npm](https://img.shields.io/npm/v/@simplemodule/theme-default.svg)](https://www.npmjs.com/package/@simplemodule/theme-default)
Latest version: 0.0.30

# @simplemodule/theme-default

[![npm](https://img.shields.io/npm/v/@simplemodule/theme-default.svg)](https://www.npmjs.com/package/@simplemodule/theme-default)

Default Tailwind CSS theme for SimpleModule applications.

## Installation

```bash
npm install @simplemodule/theme-default
```

## Quick Start

Import the theme CSS in your application entry point:

```typescript
import '@simplemodule/theme-default/theme.css';
```

## Key Features

- **Base Tailwind CSS theme** with CSS custom properties for colors, spacing, and typography
- **Light and dark mode** support via CSS variables
- **Designed for @simplemodule/ui** -- provides the default styling for all UI components

## Links

- [GitHub Repository](https://github.com/antosubash/SimpleModule)
npm package: @simplemodule/ui
Description: [![npm](https://img.shields.io/npm/v/@simplemodule/ui.svg)](https://www.npmjs.com/package/@simplemodule/ui)
Latest version: 0.0.30

# @simplemodule/ui

[![npm](https://img.shields.io/npm/v/@simplemodule/ui.svg)](https://www.npmjs.com/package/@simplemodule/ui)

Pre-built React UI component library for SimpleModule, built on Radix UI primitives with Tailwind CSS styling.

## Installation

```bash
npm install @simplemodule/ui
```

## Quick Start

```tsx
import { Button } from '@simplemodule/ui/components';
import { cn } from '@simplemodule/ui/lib/utils';

export function MyPage() {
  return <Button variant="default">Click me</Button>;
}
```

## Components

Accordion, Alert, AspectRatio, Avatar, Badge, Breadcrumb, Button, Calendar, Card, Chart, Checkbox, Collapsible, Command, Container, DataGrid, DataGridPage, DatePicker, Dialog, DropdownMenu, Field, Grid, HoverCard, Input, Label, PageHeader, PageShell, Popover, Progress, RadioGroup, Resizable, ScrollArea, Section, Select, Separator, Sheet, Sidebar, Skeleton, Slider, Spinner, Stack, Switch, Table, Tabs, Textarea, Toast, Toggle, ToggleGroup, Tooltip

## Key Features

- **48 components** built on Radix UI primitives
- **Tailwind CSS** styling with full theme customization
- **Accessible** -- ARIA-compliant via Radix UI
- **Tree-shakeable** -- import only what you use

## Links

- [GitHub Repository](https://github.com/antosubash/SimpleModule)