Skip to content

Add a copy button to the pg-color basic example #4

Description

@BittuBarnwal7479

Description

The basic pg-color example displays the selected color value but doesn't provide a convenient way to copy it.

Proposed solution

Add a Copy button next to the selected color.

The button should:

  • remain disabled until a color is selected
  • copy the selected HEX color to the clipboard
  • provide visual feedback after copying

This would improve the usability of the example for developers who frequently need to reuse selected color values.

20260624-2357-09.4584045.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions