Skip to content

🎥 Make videos programmatically with React

zColor docs

Jonny Burger4e28d309de80
diff --git a/packages/docs/docs/z-color.md b/packages/docs/docs/z-color.md
new file mode 100644
index 0000000000..c533be9fa3
--- /dev/null
+++ b/packages/docs/docs/z-color.md
@@ -0,0 +1,13 @@
+---
+id: z-color
+title: zColor()
+---
+
+Using `zColor()`, you can specify in your [schema](/docs/parametrized-rendered) that a string has to be a color.
+
+In the Remotion Preview, a color picker will be displayed allowing to change and validate the color picker.
+
+## See also
+
+- [Parametrized rendereding](/docs/parametrized-rendered)
+- [`z`](/docs/z)
diff --git a/packages/docs/docs/z.md b/packages/docs/docs/z.md
index f4db7773e5..06cb02bb41 100644
--- a/packages/docs/docs/z.md
+++ b/packages/docs/docs/z.md
@@ -82,3 +82,8 @@ export const RemotionRoot: React.FC = () => {
);
};
```
+
+## See also
+
+- [Parametrized rendereding](/docs/parametrized-rendered)
+- [`zColor()`](/docs/z-color)
diff --git a/packages/docs/sidebars.js b/packages/docs/sidebars.js
index 42f898f66f..20e336eca3 100644
--- a/packages/docs/sidebars.js
+++ b/packages/docs/sidebars.js
@@ -84,6 +84,7 @@ module.exports = {
"folder",
"easing",
"z",
+ "z-color",
"null",
"clipper",
],