1. Components
  2. Copy Markup

Advanced Forms

Tailwind CSS Copy Markup

The Copy Markup Component efficiently adds new fields in forms, such as extra address entries. It automates form expansion, ensuring consistency and saving time. Ideal for flexible form structures like dynamic surveys and registration forms.

Requires JS

Note that this component requires the use of our Copy Markup plugin, else you can skip this message if you are already using Preline UI as a package.

Basic usage

A basic usage of copy markup with a base input.

Select

Use with select

Predefined markup

A predefined markup that hidden by default, and only copies after "add" button was clicked.

Basic usage in modal window.

Destroy and Reinitialize New

Provides destroy method that helps to destroy a copy markup.