# Kami Pack

> The whole Kami asset pack in one install: eleven pieces of folded origami paper, raymarched in WebGL in soft window light. A crane, a folding fan, a fortune teller, a frog, a paper dart, a boat, a lotus, a pinwheel, a fox, a glowing lantern and a senbazuru of sixteen cranes, each moving the way paper folds, plus a washi stage, paper-pack palette picker and crease-pattern picker.

- Slug: `kami-pack`
- Category: [Asset packs](https://www.assembli.design/category/asset-packs.md)
- Subcategory: [Kami](https://www.assembli.design/category/asset-packs/kami.md) (`kami`)
- Type: block
- Tags: 3d, webgl, asset-pack, origami, paper, washi, crane, fan, lantern
- npm dependencies: none
- shadcn/ui dependencies: @assembli/kami-boat, @assembli/kami-crane, @assembli/kami-fan, @assembli/kami-fortune, @assembli/kami-fox, @assembli/kami-frog, @assembli/kami-lantern, @assembli/kami-lotus, @assembli/kami-pinwheel, @assembli/kami-plane, @assembli/kami-senbazuru
- Live preview: https://www.assembli.design/preview/kami-pack
- Page: https://www.assembli.design/components/kami-pack

![Kami Pack preview](https://www.assembli.design/thumbnails/kami-pack-light.png)

## Props

Other props pass through to the root element.

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `value` (required) | `T` |  |  |
| `onValueChange` (required) | `(value: T) => void` |  |  |
| `label` | `string` | `"Paper"` | Names the group for assistive tech. |

## Install

One-time setup (needs a subscription):

1. Add the registry to the project's `components.json`: `{"@assembli":{"url":"https://www.assembli.design/r/{name}.json","headers":{"Authorization":"Bearer ${ASSEMBLI_API_KEY}"}}}` (merge into `"registries"`).
2. Put an API key from https://www.assembli.design/account in `.env.local` as `ASSEMBLI_API_KEY=asm_…`.

Then install with the shadcn CLI (writes `components/kami-pack/kami-pack.tsx` and installs dependencies):

```bash
npx shadcn@latest add @assembli/kami-pack
```

Registry item JSON: https://www.assembli.design/r/kami-pack.json (send `Authorization: Bearer <api key>`)

## Code

> Component source needs an Assembli subscription ($12/month or $96/year) and an API key sent as `Authorization: Bearer <key>`. To get one without copying anything, POST https://www.assembli.design/api/agent/login (or call the MCP tool connect_account), show the user the link it returns, and poll https://www.assembli.design/api/agent/token for the key. Or subscribe at https://www.assembli.design/pricing and create a key at https://www.assembli.design/account.
