Skip to content

🎥 Make videos programmatically with React

alright

JonnyBurger640c995f24aa
diff --git a/packages/docs/components/demos/RoundedTextBox.tsx b/packages/docs/components/demos/RoundedTextBox.tsx
index bb3eef4000..9e063ff33e 100644
--- a/packages/docs/components/demos/RoundedTextBox.tsx
+++ b/packages/docs/components/demos/RoundedTextBox.tsx
@@ -16,7 +16,7 @@ type Props = {
const fontWeight = '700';
const boxWidth = 1100;
const lineHeight = 1.5;
-const maxFontSize = 70;
+const maxFontSize = 200;
const {waitUntilDone, fontFamily} = loadFont('normal', {
weights: [fontWeight],
@@ -78,7 +78,7 @@ const RoundedTextBoxInner: React.FC<Props> = ({
return (
<AbsoluteFill
style={{
- backgroundColor: '#eee',
+ backgroundColor: '#ddd',
justifyContent: 'center',
alignItems: 'center',
}}
diff --git a/packages/docs/docs/rounded-text-box/create-rounded-text-box.mdx b/packages/docs/docs/rounded-text-box/create-rounded-text-box.mdx
index 24a447c989..00336c56d8 100644
--- a/packages/docs/docs/rounded-text-box/create-rounded-text-box.mdx
+++ b/packages/docs/docs/rounded-text-box/create-rounded-text-box.mdx
@@ -6,8 +6,12 @@ crumb: '@remotion/rounded-text-box'
_Part of the [`@remotion/rounded-text-box`](/docs/rounded-text-box) package._
+Creates a SVG path for rendering a text box with rounded corners, as pioneered by TikTok and Instagram.
+
<Demo type="rounded-text-box" />
+[View demo component source code](https://github.com/remotion-dev/remotion/blob/main/packages/docs/components/demos/RoundedTextBox.tsx)
+
## API
_object_ <TsType type="CreateRoundedTextBoxProps" source="@remotion/rounded-text-box" />