# Ribbon

> Flux pack: a wide band of liquid satin looped into a ring with three half twists, so its face and back keep trading places as the twists travel round the loop, while the loop itself rolls like a wave and the band swells and thins. The colored light pours along it as it turns. A tap whips the twists once round the loop. Raymarched in WebGL.

- Slug: `flux-ribbon`
- Category: [Asset packs](https://www.assembli.design/category/asset-packs.md)
- Subcategory: [Flux](https://www.assembli.design/category/asset-packs/flux.md) (`flux`)
- Type: component
- Tags: 3d, webgl, raymarching, asset, liquid, iridescent, satin, ribbon, band, mobius, loop, twist
- npm dependencies: none
- shadcn/ui dependencies: none
- Added: 2026-10-24
- Live preview: https://www.assembli.design/preview/flux-ribbon
- Page: https://www.assembli.design/components/flux-ribbon

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

```bash
npx shadcn@latest add @assembli/flux-ribbon
```

Registry item JSON: https://www.assembli.design/r/flux-ribbon.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.
