Manifest reference#
Every effect has an effect.json. The validator rejects a manifest that breaks any rule on this page.
Fields#
| Field | Type | Required | Meaning |
|---|
id | string | yes | Stable identifier, unique in the registry |
name | string | yes | Display name |
slug | string | yes | Lowercase kebab-case, equal to the folder name, used in every URL |
version | string | yes | Semantic version, such as 1.0.0 |
description | string | yes | One sentence shown on cards and in search |
category | string | yes | Catalog category, such as cards or scroll |
tags | string[] | no | Search and tag pages |
pricing | free or premium | yes | Premium locks source and docs |
framework | react, html or css | yes | See Effect types |
rendering | css, javascript, canvas or webgl | yes | Drives the rendering filter |
reducedMotion | boolean | no | true only when the effect honours prefers-reduced-motion |
dependencies | object | no | Package name to version range. For HTML effects, the libraries loaded from a CDN |
delivery | inline or repo | no | repo requires repository |
repository | object | for repo | url, optional branch and subdirectory |
previewMode | live or media | no | media shows the thumbnail instead of a demo |
thumbnail | string | for premium and media | A file in the folder or an https URL |
demoUrl | string | no | An external https demo on an allowed host |
playground | object | no | Live controls; see below |
Playground#
json
"playground": {
"component": "TiltCard",
"entry": "TiltCard.tsx",
"children": "Your content",
"controls": [
{ "name": "maxTilt", "label": "Max tilt", "type": "number", "default": 10, "min": 0, "max": 30, "step": 1, "unit": "°" },
{ "name": "color", "label": "Colour", "type": "color", "default": "#6366f1" }
]
}
| Field | Meaning |
|---|
component | The exported component, as a named export |
entry | The file in src/ that exports it |
children | Optional text placed inside the component in the usage snippet |
controls | One to twelve controls |
Control type | Extra fields | Rules |
|---|
number | min, max, step (default 1), unit | min < max, and default within them |
color | none | default is #rrggbb |
boolean | none | default is true or false |
select | options: { label, value }[] | Two to twelve unique values; default is one of them |
text | none | Up to 120 characters |
Every control has a name (a valid prop name, unique, never children) and a label. Playgrounds work only on free, live, inline React effects.
Kits#
| Field | Type | Meaning |
|---|
slug | string | Equal to the file name without .json |
name | string | Display name |
description | string | One or two sentences |
effects | string[] | Two to twenty-four distinct effect slugs, in display order |