--primary: #f43f5e;--accent: #8b5cf6;--surface: #0ea5e9;
CSS lines with inline color swatch squares next to each hex value.
The import and the props worth knowing about, in one place.
import { Editor26 } from "@/components/beste/piece/editor26";
<Editor26
colors={[
{
"key": "--primary",
"value": "#f43f5e"
},
{
"key": "--accent",
"value": "#8b5cf6"
},
{
"key": "--surface",
"value": "#0ea5e9"
}
]}
bordered={false}
/>Ship with confidence by running through the five-point review.
1// TODO migrate to server components2// FIXME handles null state poorly3// NOTE revisit once design lock lands