# Morsel Pack

> The whole Morsel asset pack in one install: eight dishes in twenty versions, soft-lit and raymarched in WebGL, each with its own motion: a burger whose layers hop apart, a hot dog piped with mustard, a sandwich that fans open, sushi that somersaults. Six palettes or your own colors, plus MorselTable, MorselPiece, MorselCard, MorselOptions and MorselPalettePicker.

- Slug: `morsel-pack`
- Category: [Asset packs](https://www.assembli.design/category/asset-packs.md)
- Subcategory: [Morsel](https://www.assembli.design/category/asset-packs/morsel.md) (`morsel`)
- Type: block
- Tags: 3d, webgl, asset-pack, food, illustration, fast-food, sushi, composition
- npm dependencies: motion
- shadcn/ui dependencies: @assembli/morsel-burger, @assembli/morsel-hotdog, @assembli/morsel-sandwich, @assembli/morsel-nigiri, @assembli/morsel-maki, @assembli/morsel-temaki, @assembli/morsel-fries, @assembli/morsel-soda
- Added: 2026-10-21
- Live preview: https://www.assembli.design/preview/morsel-pack
- Page: https://www.assembli.design/components/morsel-pack

## 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/morsel-pack/morsel-pack.tsx` and installs dependencies):

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

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

## Code

> Component source needs an Assembli subscription ($12/month) 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.
