open-index/open-npm huggingface dataset:
npm package: @table-js/core
Description: Table.js core runtime - router, focus, navigation for Smart TV
Author: Table.js Team
Latest version: 0.0.5

# @tablejs/core

Core runtime for Table.js - the Smart TV application framework.

## Features

- **File-based Router** - Next.js-style app router with dynamic routes
- **Focus Engine** - Spatial navigation for TV remotes
- **Platform Support** - Works on Tizen, webOS, and Android TV

## Installation

```bash
npm install @tablejs/core react react-dom
```

## Quick Start

```tsx
import { TableApp, defineRoutes } from '@tablejs/core'

const routes = defineRoutes([
  { path: '/', component: () => import('./app/page') },
  { path: '/movie/[id]', component: () => import('./app/movie/[id]/page') },
])

function App() {
  return <TableApp routes={routes} />
}
```

## Documentation

Visit [tablejs.dev](https://tablejs.dev) for full documentation.

## License

MIT
npm package: @table-js/ui
Description: Table.js UI components for Smart TV
Author: Table.js Team
Latest version: 0.0.5

# @tablejs/ui

UI components for Table.js Smart TV applications.

## Installation

```bash
npm install @tablejs/ui @tablejs/core
```

## Components

- **Button** - Focusable button with variants
- **Card** - Content card with image and text
- **Shelf** - Netflix-style horizontal scrolling shelf
- **Modal** - Overlay modal with focus trap

## Usage

```tsx
import { Button, Card, Shelf } from '@tablejs/ui'

function HomePage() {
  return (
    <Shelf title="Popular Movies">
      <Card title="Inception" image="/inception.jpg" />
      <Card title="Interstellar" image="/interstellar.jpg" />
    </Shelf>
  )
}
```

## License

MIT