# ColorSwatchItem (@salmonui/inputs/color-picker)

> The ColorSwatchItem type of @salmonui/inputs/color-picker: A palette entry: a color string, or a color with its accessible name.

Canonical: https://salmonui.dev/docs/reference/inputs/color-picker/ColorSwatchItem

```ts
import type { ColorSwatchItem } from '@salmonui/inputs/color-picker';
```

Entry index: https://salmonui.dev/docs/reference/inputs/color-picker (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/inputs/color-picker.md).

## Reference

Kind: type

```ts
type ColorSwatchItem = string | {
    readonly value: string;
    readonly label?: string | undefined;
};
```

A palette entry: a color string, or a color with its accessible name.
