Skip to main content

copy-component

Replicate a page-builder section from a reference — a text description, a screenshot of an existing page, or an HTML/code snippet — into a full Strapi + React component that fits the starter's conventions.

It turns a reference into an editable section that fits this starter, instead of leaving it as a static copy.

Use it when

  • You have a screenshot of a section and want it as a page-builder component.
  • You want to port an HTML/JSX/Astro snippet into a Strapi-driven section.
  • You can describe a section and want it built end to end.

What it helps solve

  • Recreates a section from a screenshot, live page, design description, or code snippet.
  • Turns a static visual reference into content editors can reuse.
  • Helps port sections from another site or framework into this starter.
  • Avoids duplicating an existing page-builder section when one already fits.

For generic UI primitives use add-ui-component; for a new API resource use add-content-type.

See also: Page Builder.