A newer version of the Gradio SDK is available:
5.7.1
@gradio/colorpicker
<script>
import { BaseColorPicker, BaseExample } from "@gradio/colorpicker";
</script>
BaseColorPicker
export let value = "#000000";
export let value_is_output = false;
export let label: string;
export let info: string | undefined = undefined;
export let disabled = false;
export let show_label = true;
BaseExample
export let value: string;
export let type: "gallery" | "table";
export let selected = false;