open-index/open-npm huggingface dataset:
npm package: @iamayushdas/liblib-core
Description: Core primitives: state machines, context system, slots, type utilities
Author: Ayush Das
Latest version: 0.0.1

# @liblib/core

Core primitives for building headless UI components: state machines, context system, slots, and type utilities.

## Installation

```bash
npm install @liblib/core
# or
pnpm add @liblib/core
# or
yarn add @liblib/core
```

## Features

- 🎯 **State Machines** - Explicit state transitions, no magic
- 🔌 **Context System** - Type-safe context for component composition
- 🧩 **Slot System** - Flexible component composition with asChild pattern
- 📘 **Type Utilities** - TypeScript utilities for building type-safe APIs

## License

MIT © Ayush Das
npm package: @iamayushdas/liblib-primitives
Description: Headless UI primitives with extreme composability
Author: Ayush Das
Latest version: 0.0.1

# @liblib/primitives

Headless UI primitives with extreme composability for React.

## Installation

```bash
npm install @liblib/primitives
# or
pnpm add @liblib/primitives
# or
yarn add @liblib/primitives
```

## Features

- 🎨 **Headless First** - Zero styles, complete control
- 🔄 **State Machines** - Explicit state transitions
- 🧩 **Extreme Composability** - Every element replaceable with asChild
- ♿ **Accessible** - WAI-ARIA compliant
- 📘 **TypeScript Strict** - Full type inference

## Components

Currently available:
- ✅ **Dialog** - Modal dialogs with focus trap and portal

Coming soon: Select, Tooltip, Popover, Accordion, Tabs, and more!

## Quick Start

```tsx
import { Dialog } from '@liblib/primitives'

function App() {
  return (
    <Dialog.Root>
      <Dialog.Trigger>Open</Dialog.Trigger>
      <Dialog.Portal>
        <Dialog.Overlay />
        <Dialog.Content>
          <Dialog.Title>Hello World</Dialog.Title>
          <Dialog.Description>This is a dialog</Dialog.Description>
          <Dialog.Close>Close</Dialog.Close>
        </Dialog.Content>
      </Dialog.Portal>
    </Dialog.Root>
  )
}
```

## Documentation

Visit [liblib-library.vercel.app](https://liblib-library.vercel.app) for full documentation.

## License

MIT © Ayush Das
npm package: @iamayushdas/liblib-react
Description: React bindings for liblib core primitives
Author: Ayush Das
Latest version: 0.0.1

# @liblib/react

React bindings for liblib core primitives.

## Installation

```bash
npm install @liblib/react @liblib/core
# or
pnpm add @liblib/react @liblib/core
# or
yarn add @liblib/react @liblib/core
```

## Features

- ⚛️ **React Hooks** - Use state machines and context in React components
- 🔌 **Slot Component** - Implement the asChild pattern in React
- 📘 **TypeScript** - Full type safety

## License

MIT © Ayush Das