Copy Any Component logo

Copy Any Component

By Metehan Kasap

A powerful Strapi plugin for copying components between pages with drag & drop

Latest version

v1.1.1

released December 28, 2025

npm install strapi-plugin-copy-any-component

Copy Any Component Plugin for Strapi 5

npm version License: MIT

🌐 Visit Website | šŸ“¦ NPM | šŸ“š GitHub

A powerful Strapi plugin that allows you to copy and reorder components between pages using an intuitive drag-and-drop interface. No code required!

✨ Features

  • šŸŽÆ Drag & Drop Interface
  • šŸ” Auto-Detects all content types and dynamic zones
  • āš™ļø Zero-Code Configuration via admin panel
  • šŸ“ø Media Support
  • šŸ’¾ Draft/Publish System

šŸ“¦ Installation

npm install strapi-plugin-copy-any-component

Register Plugin

Add to config/plugins.ts:

export default () => ({
  'copy-any-component': {
    enabled: true,
    config: {
      contentType: 'api::page.page',  // Optional: default content type
      dynamicZoneField: 'sections',    // Optional: default dynamic zone
    },
  },
});

Note: The config section is optional. You can also configure content type via admin panel.

Set Permissions

Go to Settings > Users & Permissions > Roles, select your role, and enable all permissions for Copy Any Component.

Restart Strapi:

npm run develop

šŸš€ Usage

  1. Go to Plugins > Copy Any Component in Strapi admin
  2. Configure content type via āš™ļø Content Type Settings (optional)
  3. Select Source Page and Target Page
  4. Drag components from Source to Target
  5. Click Publish to save

Requirements

  • Strapi 5.0.0+
  • Node.js 18.x+
  • React 18.2.0+ (for flushSync support)

āš ļø Troubleshooting

flushSync Error

Update React version in package.json:

{
  "dependencies": {
    "react": "^18.2.0",
    "react-dom": "^18.2.0"
  }
}

Then:

rm -rf node_modules package-lock.json
npm install
npm run develop

License

MIT

Support

GitHub Issues

Submit your content

Share your work with the community and get it listed in the Strapi ecosystem for everyone to discover and use.

Submit
Submit your content