Grid to App
A product grid expands into a store admin app with sidebar and product catalogue. A free, MIT-licensed Remotion product scene.
$ pnpm dlx shadcn@latest add @remocn/grid-to-appUsage
// src/Root.tsx
import { Composition } from "remotion";
import { GridToApp } from "@/components/remocn/grid-to-app";
const GridToAppScene = () => (
<GridToApp storeName="Hearth & Co" pageTitle="Catalogue" accent="#ff6a2b" />
);
export const RemotionRoot = () => (
<Composition
id="GridToApp"
component={GridToAppScene}
durationInFrames={264}
fps={60}
width={1280}
height={720}
/>
);Two rows of product tiles pull back into a store admin window with a sidebar, header and a product table. The product count rolls up, then the Publish button presses and flips to Store live. Pass storeName, pageTitle, products (name and price) and your own images, because the default images use staticFile(...) paths that only exist in the Remocn repo. The theme prop ships dark and light.
The ground is a live gradients.sh shader (GshGround), installed with the component as @remocn/gsh. Pick another look with the ground preset prop.
Props17
| Prop | Type | Default |
|---|---|---|
| theme | "dark" | "light""dark" Dark or light admin and background styling. | |
| accent | string"#ff6a2b" Accent color for the Publish button and highlights. | |
| ink | string— Text color; overrides the theme ink. | |
| storeName | string"Studio Goods" Store name shown at the top of the sidebar. | |
| pageTitle | string"Products" Heading of the catalogue page. | |
| publishLabel | string"Publish" Label of the top-bar button before the store goes live. | |
| liveLabel | string"Store live" Label of the same button once the store is live. | |
| addLabel | string"Add product" Label of the primary button next to the page title. | |
| fontFamily | string"Inter Tight" Typeface for the copy. Load the font in your project first. | |
| images | string[]— Product image URLs, one per product, in order. | |
| products | { name: string; price: string }[]— Products as name and price pairs, shown in tiles and table. | |
| ground | GshPresetId— Preset id for the shader background. | |
| groundParams | Partial<GradientParams>— Overrides for the shader background parameters. | |
| background | string— Solid fill in place of the gradient ground; pass "transparent" to drop it. | |
| scale | number1 Size of the foreground around the frame's center; the background stays put. | |
| delay | number0 Frames to hold the first frame before anything moves. | |
| speed | number1 Playback speed multiplier for the whole timeline. | |
- theme"dark" | "light"
Dark or light admin and background styling.
Default
"dark" - accentstring
Accent color for the Publish button and highlights.
Default
"#ff6a2b" - inkstring
Text color; overrides the theme ink.
- storeNamestring
Store name shown at the top of the sidebar.
Default
"Studio Goods" - pageTitlestring
Heading of the catalogue page.
Default
"Products" - publishLabelstring
Label of the top-bar button before the store goes live.
Default
"Publish" - liveLabelstring
Label of the same button once the store is live.
Default
"Store live" - addLabelstring
Label of the primary button next to the page title.
Default
"Add product" - fontFamilystring
Typeface for the copy. Load the font in your project first.
Default
"Inter Tight" - imagesstring[]
Product image URLs, one per product, in order.
- products{ name: string; price: string }[]
Products as name and price pairs, shown in tiles and table.
- groundGshPresetId
Preset id for the shader background.
- groundParamsPartial<GradientParams>
Overrides for the shader background parameters.
- backgroundstring
Solid fill in place of the gradient ground; pass "transparent" to drop it.
- scalenumber
Size of the foreground around the frame's center; the background stays put.
Default
1 - delaynumber
Frames to hold the first frame before anything moves.
Default
0 - speednumber
Playback speed multiplier for the whole timeline.
Default
1