Nova text field with click to copy support
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

Nova Text Copy Field

Packagist Version Packagist Downloads StyleCI

A Laravel Nova text field with click to copy support. This field behaves just like a text field but adds the ability to copy the field value to your clipboard with just a click.

This package can also be found on Nova Packages.

animated screenshot


> composer require sixlive/nova-text-copy-field


Add the field to a resource.

use Sixlive\TextCopy\TextCopy;

public function fields(Request $request)
    return [
        TextCopy::make('Example Copy Field', 'example_copy_field'),


Default State

default default

Success State

When the field value has been successfully copied to the user's clipboard. success

Error State

When there is an error adding the field vallue to the user's clipboard. error


Please see CHANGELOG for more information on what has changed recently.


Please see CONTRIBUTING for details.

Code Style

StyleCI will apply the Laravel preset.


If you discover any security related issues, please email instead of using the issue tracker.



The MIT License (MIT). Please see License File for more information.