--- title: "Code Snippet Flight" description: "Discrete code snippets fly in from the side and assemble into a stacked program, staggered. Block-level FLIP." mode: "frame" --- import { CatalogDetail, CatalogSlot } from "/snippets/catalog-detail.jsx"; import { InstallCommand } from "/snippets/install-command.jsx"; ```html code-snippet-flight.html Code Snippet Flight
pipeline.js — Code Snippet Flight
```
That writes one file: `compositions/code-snippet-flight.html`. ## Add it to your video It runs for 6 seconds at 1920×1080. Paste this into your composition: ```html index.html
``` Move it in time with `data-start`. Put it on a different timeline row with `data-track-index`. See [data attributes](/concepts/data-attributes) for the rest. {/* hf:generated-footer */} Tagged `code` `code-animation` `flight` `developer`. ## Related topics - [Browse the complete Catalog](/catalog) - [Add assets and Catalog items in Studio](/studio/assets-and-blocks) - [Build a richer composition](/go-further)