pnp / pnp/sp-dev-fx-controls-react

Color picker button?

Open
#760 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type:enhancement
Dominant language
TypeScript
Stars
433
Forks
418
Avg merge
5d 6m
Merged PRs (30d)
19

Description

Category

[x] Enhancement
[ ] Bug
[x] Question

Version

Please specify what version of the library you are using: [2.1.0]

Question

Is there a control (or a sample) that would be like color picker button? Like this one (office ribbon):

image

I know there is swatch, but I need basically a dropdown button (preferably as close to the office as possible). If not available are there plans to have something like this?

What could be an optimal way to implement something like this based on fluentui?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing SwatchColorPicker control and the linked Fluent UI color-picker example, then compare their behavior with the Office ribbon button shown in the issue. Define the required dropdown-button interaction and an implementation approach based on Fluent UI; the issue is complete when the proposed control behavior and scope are clear.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.