# @vvfx/gizmo

Artis canvas interaction primitives and built-in gizmos.

> This package is currently an alpha release. Its public API may change between
> alpha versions; pin the exact version when integrating it into an application.

## Installation

Install `@vvfx/gizmo` together with its three peer dependencies:

```bash
pnpm add @vvfx/gizmo@0.0.1-alpha.0 \
  @galacean/effects@2.10.0-alpha.4 \
  @galacean/effects-plugin-multimedia@2.10.0-alpha.4 \
  @galacean/effects-plugin-rich-text@2.10.0-alpha.4
```

Supported peer versions are `>=2.10.0-alpha.4` for all three Galacean
packages. The application must provide these dependencies so Gizmo and the host
share the same Effects runtime.

## Usage

The package exposes a single root entry with ESM, CommonJS, and TypeScript
declaration outputs:

```ts
import { GizmoManager } from '@vvfx/gizmo'

const manager = new GizmoManager()

console.log(manager.activeGizmos)
manager.dispose()
```

CommonJS consumers can load the same root API:

```js
const { GizmoManager } = require('@vvfx/gizmo')
```

## License

MIT
