Components
    • Animation
    • Barcodes
    • Buttons
    • Charts
    • Common Utilities
    • Conversational UI
    • Data Grid
    • Data Query
    • Data Tools
    • Date Inputs
    • Date Math
    • Dialogs
    • Drawing
    • Dropdowns
    • Editor
    • Excel Export
    • File Saver
    • Form
    • Gantt
    • Gauges
    • Indicators
    • Inputs
    • Labels
    • Layout
    • ListBox
    • ListView
    • Mapbeta
    • Notification
    • PDF Processing
    • PivotGrid
    • Popup
    • Progress Bars
    • Ripple
    • Scheduler
    • ScrollView
    • Sortable
    • TaskBoard
    • Tooltips
    • TreeList
    • TreeView
    • Upload
    Sample Applications
    Styling & Themes
    Common Features
    Project Setup
    Changelog

FlatColorPickerProps

Represents the properties of [FlatColorPicker](% slug api_inputs_flatcolorpicker %) component.

NameTypeDefaultDescription

className?

string

Sets additional classes to the FlatColorPicker.

disabled?

boolean

Determines whether the FlatColorPicker is disabled.

header?

React.ComponentType<undefined>

Sets custom header component.

id?

string

Sets the id property of the top div element of the FlatColorPicker.

showButtons?

boolean

Specifies whether action buttons will be rendered in the footer.

showClearButton?

boolean

Specifies whether clear button will be rendered in the header.

showPreview?

boolean

Specifies whether preview and revert color boxes will be rendered in the header.

style?

React.CSSProperties

Sets additional CSS styles to the FlatColorPicker.

tabIndex?

number

Sets the tabIndex property of the FlatColorPicker.

value?

string

Sets the color value.

view?

"ColorGradient" | "ColorPalette"

Sets the FlatColorPicker view. The default is ColorGradient.