diff --git a/playground/src/App.tsx b/playground/src/App.tsx
index 3c08baa..d4f8bf3 100644
--- a/playground/src/App.tsx
+++ b/playground/src/App.tsx
@@ -4,8 +4,16 @@ import Flex from "../../src/components/flex/Flex";
import CopyButton from "../../src/components/copy-button/CopyButton";
import ToastStack from "../../src/components/toastcontainer/ToastStack";
import { toastStore } from "../../src/stores/toastStore";
+import { createSignal } from "solid-js";
+import ColorPicker from "@src/components/colorpicker";
export default function App() {
+ const [color1, setColor1] = createSignal("#4ECDC4");
+ const [color2, setColor2] = createSignal("rgb(255, 107, 107)");
+ const [color3, setColor3] = createSignal("rgba(69, 183, 209, 0.7)");
+ const [color4, setColor4] = createSignal("hsl(45, 100%, 60%)");
+ const [color5, setColor5] = createSignal("#98D8C8");
+
return (
@pathscale/ui.
+ A comprehensive color picker with support for multiple formats, + alpha channel, swatches, and full keyboard navigation. +
++ Selected Color (HEX): +
+{color1()}
+HEX
+{color1()}
+RGB
+{color2()}
+RGBA
+{color3()}
+HSL
+{color4()}
++ Selected Color (RGBA): +
+{color3()}
++ Custom Color Palette: +
+{color5()}
++ Starts in Wheel Mode: +
+{color4()}
+Bottom (default)
+Top
+Left
+Right
++ This picker is disabled and cannot be opened. +
+Try these keyboard shortcuts:
+
+ {` void
+ format?: ColorFormat // 'hex' | 'rgb' | 'rgba' | 'hsl' | 'hsla'
+ disabled?: boolean
+ swatches?: string[]
+ showAlpha?: boolean
+ placement?: 'top' | 'bottom' | 'left' | 'right'
+/>`}
+
+