Skip to main content

Crate floem_picker

Crate floem_picker 

Source
Expand description

§floem-picker

A color picker widget for Floem.

Provides an inline HSB color picker with 2D saturation/brightness area, hue slider, optional alpha slider, numeric inputs, and hex editing.

§Usage

use floem::prelude::*;
use floem_picker::{solid_picker, SolidColor};

let color = RwSignal::new(SolidColor::from_hex("3B82F6").unwrap());
// Use `solid_picker(color)` in Floem view tree.

Structs§

SolidColor
RGBA color with components in the 0.0–1.0 range.

Functions§

solid_picker
Creates the top-level color picker view.