Skip to content

🎥 Make videos programmatically with React

Move news article highlight to Storytelling (#10326)

Igor Samokhovetsc52e7a6d8789
diff --git a/packages/docs/elements-sidebars.ts b/packages/docs/elements-sidebars.ts
index eff40f64f8..6212fbe0e7 100644
--- a/packages/docs/elements-sidebars.ts
+++ b/packages/docs/elements-sidebars.ts
@@ -64,6 +64,13 @@ const sidebars: SidebarsConfig = {
'overlays/social-endcard/index',
],
},
+ {
+ type: 'category',
+ label: 'Storytelling',
+ link: {type: 'doc', id: 'storytelling/index'},
+ collapsed: false,
+ items: ['text/news-article-headline-highlight/index'],
+ },
{
type: 'category',
label: 'Text',
@@ -72,7 +79,6 @@ const sidebars: SidebarsConfig = {
items: [
'text/circle-marker/index',
'text/crossed-off/index',
- 'text/news-article-headline-highlight/index',
'text/strike-through/index',
'text/text-marker/index',
],
diff --git a/packages/docs/elements/storytelling/index.mdx b/packages/docs/elements/storytelling/index.mdx
new file mode 100644
index 0000000000..9ecc8277f7
--- /dev/null
+++ b/packages/docs/elements/storytelling/index.mdx
@@ -0,0 +1,10 @@
+---
+title: Storytelling
+description: Drop-in storytelling scenes for Remotion videos.
+---
+
+import {ElementLibrary} from '@site/src/components/Elements/ElementLibrary';
+
+# Storytelling
+
+<ElementLibrary category="storytelling" />
diff --git a/packages/docs/src/components/Elements/element-definitions.ts b/packages/docs/src/components/Elements/element-definitions.ts
index bc61c4c433..1b30eaba02 100644
--- a/packages/docs/src/components/Elements/element-definitions.ts
+++ b/packages/docs/src/components/Elements/element-definitions.ts
@@ -387,7 +387,7 @@ export const elementDefinitions = {
width: 1920,
},
'text/news-article-headline-highlight': {
- category: 'text',
+ category: 'storytelling',
component: NewsArticleHeadlineHighlight,
contributors: [],
description: