Publish a component
| Flag | Purpose |
|---|---|
--description | Short description (recommended) |
--to <library-slug> | Publish into a specific team library |
--name / --slug | Override the auto-detected name/slug |
--tags a,b,c | Set tags explicitly |
--demo <file> | Use a specific demo file |
--preview <img> | Attach a preview image |
--registry ui|hooks|blocks|icons | Registry kind |
--public / --unlisted / --private | Visibility (default unlisted; --public goes through moderation) |
--website <url> | Link a live site |
--registry-dep <dep> | Declare a registry dependency (repeatable) |
Publish a theme
:root and .dark blocks.
Publish a template
--price and a --buy-url checkout link. See Selling & promotion.
Edit your content
--type is component, theme, or template. Editable fields differ per type (templates use numeric tag ids and have no visibility field).
Unpublish or delete
--yes is required to confirm. For components and themes this unpublishes (sets visibility to private / clears the published date). For templates it is a permanent delete.