Skip to content

🎥 Make videos programmatically with React

Update 'Ask AI' dropdown entry to use Remotion triangle icon

Clauded913251fa3aa
diff --git a/packages/docs/src/theme/DocBreadcrumbs/icons.tsx b/packages/docs/src/theme/DocBreadcrumbs/icons.tsx
index 155a783de5..d9e11f174b 100644
--- a/packages/docs/src/theme/DocBreadcrumbs/icons.tsx
+++ b/packages/docs/src/theme/DocBreadcrumbs/icons.tsx
@@ -133,3 +133,20 @@ export function MarkdownIcon({size = 18}: {readonly size?: number}) {
</svg>
);
}
+
+export function RemotionIcon({size = 18}: {readonly size?: number}) {
+ return (
+ <svg
+ width={size}
+ height={size}
+ viewBox="0 0 340 351"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ >
+ <path
+ d="M76.5299 0.030304C69.1759 0.429474 63.2497 1.59628 57.2775 3.8685C54.299 4.98926 49.4168 7.43039 46.7301 9.1192C35.4918 16.1661 26.925 26.7596 22.4573 39.0879C21.5668 41.529 19.1565 49.3128 17.6058 54.671C7.27339 90.489 1.40862 129.654 0.14969 171.107C-0.0498966 177.708 -0.0498966 193.43 0.14969 199.924C0.994094 227.405 3.61942 252.215 8.37879 277.517C10.3132 287.757 13.4145 301.513 15.2108 307.762C18.8801 320.459 26.3723 331.267 37.0271 339.189C44.1662 344.501 52.2724 348.063 61.2538 349.813C65.5833 350.658 71.2946 351.041 75.5012 350.765C81.3199 350.381 92.8653 348.831 102.246 347.157C144.527 339.619 183.585 326.124 219.004 306.81C241.434 294.574 260.61 281.324 279.11 265.25C297.549 249.252 313.27 232.042 327.103 212.728C330.312 208.26 331.924 205.65 333.536 202.365C337.681 193.89 339.631 185.461 339.615 176.035C339.615 167.253 337.957 159.454 334.38 151.47C332.661 147.617 331.018 144.853 327.333 139.603C313.761 120.273 298.7 103.431 280.338 87.0654C251.874 61.7025 218.067 40.8995 180.315 25.5006C172.132 22.1691 164.072 19.2367 154.369 16.0587C133.827 9.34949 108.402 3.53076 86.893 0.629089C83.5154 0.168518 78.9249 -0.0924988 76.5299 0.030304Z"
+ fill="currentColor"
+ />
+ </svg>
+ );
+}
diff --git a/packages/docs/src/theme/DocBreadcrumbs/index.tsx b/packages/docs/src/theme/DocBreadcrumbs/index.tsx
index 57b672b393..f3eb277b91 100644
--- a/packages/docs/src/theme/DocBreadcrumbs/index.tsx
+++ b/packages/docs/src/theme/DocBreadcrumbs/index.tsx
@@ -9,6 +9,7 @@ import {
ExternalLinkIcon,
MarkdownIcon,
OpenAIIcon,
+ RemotionIcon,
VSCodeIcon,
} from './icons';
@@ -278,7 +279,7 @@ export default function DocBreadcrumbsWrapper(props: Props): ReactNode {
}}
>
<AiDropdownItemComponent
- icon={<AnthropicIcon />}
+ icon={<RemotionIcon />}
title="Ask AI"
description="Ask a question to our AI assistant"
onClick={handleAskAI}