{"name":"scene","entry":"component","title":"Scene","description":"Full-bleed cream canvas that fills its composition and clips overflow; one per scene.","category":"Layout","capabilities":["player"],"needsRemotion":false,"registryDependencies":["@jbm/tokens"],"install":"npx shadcn@latest add @jbm/scene","installName":"scene","page":"https://jbm-ui.bns.studio/c/scene","registryItem":"https://jbm-ui.bns.studio/r/scene.json","sourcePath":"registry/jbm/motion/scene.tsx","files":[{"source":"registry/jbm/motion/scene.tsx","target":"src/jbm/motion/scene.tsx","import":"@/jbm/motion/scene","type":"registry:component"}],"endpoints":{"markdown":"https://jbm-ui.bns.studio/catalog/scene.md","json":"https://jbm-ui.bns.studio/catalog/scene.json"},"snippet":"import { Scene } from \"@/jbm/motion/scene\"\nimport { Big } from \"@/jbm/ui/big\" // install @jbm/big separately\n\n<Scene><Big>Una idea a la vez.</Big></Scene>","api":[{"export":"Scene","kind":"component","summary":"Absolutely positioned div with inset 0, the canvas background color, and overflow hidden. Place one inside each Remotion Sequence and lay out blocks inside it.","props":[{"name":"children","type":"React.ReactNode","required":true,"default":null,"description":"Scene content; absolutely positioned children are placed relative to the scene."},{"name":"style","type":"React.CSSProperties","required":false,"default":null,"description":"Inline styles merged last, e.g. flex centering or padding."}],"passthrough":[]}],"stage":{"mode":"declared","landscape":{"width":"fill","height":1080},"vertical":{"width":"fill","height":1920},"basis":"inset: 0 fills the positioned parent, which in a composition is the full stage: 1920×1080 in landscape and 1080×1920 in vertical (stage tokens in lib/tokens.ts)."},"examples":[{"title":"A headline on the canvas","code":"import { Scene } from \"@/jbm/motion/scene\"\nimport { Big } from \"@/jbm/ui/big\" // install @jbm/big separately\n\n<Scene><Big>Una idea a la vez.</Big></Scene>"},{"title":"Centered content","code":"import { Scene } from \"@/jbm/motion/scene\"\n\n<Scene style={{ display: \"flex\", alignItems: \"center\", justifyContent: \"center\", padding: 120 }}>\n  {children}\n</Scene>"}],"qa":["Check the canvas covers the full composition in both orientations with no white edge, and content outside it is clipped.","The preview is a single still frame; confirm the background is the cream canvas token, not a hard-coded color."],"related":[{"name":"tokens","relation":"installs"},{"name":"scene-spec","relation":"installed-by"},{"name":"big","relation":"example-import"}],"setup":{"namespace":"@jbm","componentsJson":{"registries":{"@jbm":"https://jbm-ui.bns.studio/r/{name}.json"}},"command":"npx shadcn@latest add @jbm/<name>","target":"src/jbm/","importAlias":"@/jbm/…","tsconfigPaths":{"@/*":["./src/*"]}},"rules":["Install through the @jbm namespace: each registry item JSON (/r/<name>.json) carries its files' contents and each guide is served at /docs/<slug>.md, so agents never need the source repository (it is public on GitHub for people browsing the code).","Files install to src/jbm/ and import as @/jbm/…, which needs the @/* → ./src/* path alias in tsconfig.json.","Items marked needsRemotion require the remotion package and must render inside a Remotion composition or Player; every other item works in any React page.","Use one vermilion accent per composition; accent2 is for annotations only and soft is for dark surfaces only.","Stages are 1920×1080 landscape and 1080×1920 vertical with declared safe areas; each item's stage field declares its size in stage pixels, and scenes compose from YAML-shaped specs with @jbm/scene-spec."],"links":{"catalog":"https://jbm-ui.bns.studio/catalog.json","llms":"https://jbm-ui.bns.studio/llms.txt"}}