--- title: "raea make component" summary: "Copy a ready-made component or set into the project's components/, or the workspace's shared/components/, to use and change as your own." order: 103 sources: ["engine/cli/src/index.ts", "engine/cli/src/registry.gen.ts", "engine/cli/src/catalog.ts"] --- Components are ready-made pieces of a composition (captions, lower thirds, end cards and the like) and sets of them. `raea make component list` shows them; `raea make component add` copies one into `components/NAME/`, where it's yours: raea never updates or overwrites it unasked. With `--shared` it goes into the workspace's `shared/components/` instead, for every project to import as `@shared/components/NAME`. `raea part` is the old name and still works. Beside raea's own sets is the library: several hundred open-source components (text reveals, counters, charts, transitions, product-screen demos, game HUDs and more), sorted by what they're for rather than who made them. `raea make component list` ends with its categories; `list WORDS` searches it by a category (`text`), a category and type (`text/reveal`), or words in a name or description (`"count up"`). `add NAME` copies the component into `components/CATEGORY/NAME/`, with the shared helpers it needs under `components/_lib/`. Each file's first line names the library it came from, and `CREDITS.md` in sdk/raea/library/components holds their licences. ```sh raea make component list raea make component add captions end-card raea make component add reel --shared raea make component list text/reveal raea make component list count up raea make component add soft-blur-in ``` ## Usage ```sh raea make component list [WORDS] | raea make component add NAME ... [--shared] [--force] (a ready component or set copied into components/, or the workspace's shared/components/ with --shared, yours to change; WORDS search the library by use: text/reveal, "count up") ``` Headless: it needs nothing running and opens no window. Takes any number of arguments besides its flags. ## Flags | Flag | Takes | What it does | | --- | --- | --- | | `--force` | – | Replace a component's files that are already there. Without it, an existing component is left alone and the command stops. | | `--shared` | – | Copy into the workspace's `shared/components/` instead, where every project in the workspace imports it as `/components/NAME`. |