toucan eject

Copy complete, editable component groups and their local dependencies.

bash
pnpm exec toucan eject button input

Arguments and options

text
[artifact ...]    One or more component-group or capability names, or "all"
--out <path>      Override the configured output directory
--force           Replace conflicting generated files
--no-interactive  Require artifact names instead of prompting
--help, -h        Show command help

Ownership contract

Each group contains its public exports and co-located CSS. Shared helpers are placed below _toucan. Existing changed files are protected unless you deliberately pass --force.

Component group names are listed in the component reference. Compound exports are installed with their group—for example GridItem arrives with grid.

Shared capabilities

Toucan resolves shared accessibility capabilities recursively. Checkbox, Input, Radio, Select, Textarea, and Toggle automatically include the visually-hidden source and CSS they require. Shared files are emitted once when several selected groups depend on them.

Capabilities are not additional component groups, but they can be ejected directly when application-owned code needs them:

bash
pnpm exec toucan eject visually-hidden