🎥 Make videos programmatically with React
`@remotion/studio`: Link effects documentation (#9992)
Jonny Burger0b9567496706
diff --git a/packages/studio/src/components/EffectPickerModal.tsx b/packages/studio/src/components/EffectPickerModal.tsxindex 691cfd1e69..534ca5bdf2 100644--- a/packages/studio/src/components/EffectPickerModal.tsx+++ b/packages/studio/src/components/EffectPickerModal.tsx@@ -19,6 +19,7 @@ import {} from '../helpers/colors';import {useKeybinding} from '../helpers/use-keybinding';import {EffectsIcon} from '../icons/effects';+import {ExternalLinkIcon} from '../icons/external-link';import {ModalsContext, type AddEffectModalState} from '../state/modals';import {ContextMenu} from './ContextMenu';import {addEffectToSequence} from './effect-drag-and-drop';@@ -52,6 +53,47 @@ const inputStyle: React.CSSProperties = {borderRadius: 4,};+const aboutEffectsRow: React.CSSProperties = {+ display: 'flex',+ justifyContent: 'flex-end',+ marginBottom: 8,+};++const aboutEffectsLink: React.CSSProperties = {+ alignItems: 'center',+ color: LIGHT_TEXT,+ cursor: 'default',+ display: 'inline-flex',+ fontFamily: 'sans-serif',+ fontSize: 12,+ gap: 4,+ lineHeight: '14px',+ minWidth: 0,+ textDecoration: 'none',+};++const aboutEffectsLinkHovered: React.CSSProperties = {+ ...aboutEffectsLink,+ color: WHITE,+};++const aboutEffectsLabel: React.CSSProperties = {+ color: 'inherit',+ fontFamily: 'sans-serif',+ fontSize: 12,+ lineHeight: '14px',+ minWidth: 0,+ overflow: 'hidden',+ textOverflow: 'ellipsis',+ whiteSpace: 'nowrap',+};++const aboutEffectsIcon: React.CSSProperties = {+ flexShrink: 0,+ height: 12,+ width: 12,+};+const resultList: React.CSSProperties = {height: 320,overflowY: 'auto',@@ -181,6 +223,7 @@ const EffectPickerContent: React.FC<{readonly state: AddEffectModalState;}> = ({state}) => {const {setSelectedModal} = useContext(ModalsContext);+ const [aboutEffectsHovered, setAboutEffectsHovered] = useState(false);const [query, setQuery] = useState('');const [selectedIndex, setSelectedIndex] = useState(0);const inputRef = useRef<HTMLInputElement>(null);@@ -269,6 +312,25 @@ const EffectPickerContent: React.FC<{return (<div style={container}><div style={content}>+ <div style={aboutEffectsRow}>+ <a+ href="https://remotion.dev/effects"+ target="_blank"+ rel="noopener noreferrer"+ style={+ aboutEffectsHovered ? aboutEffectsLinkHovered : aboutEffectsLink+ }+ onMouseEnter={() => setAboutEffectsHovered(true)}+ onMouseLeave={() => setAboutEffectsHovered(false)}+ >+ <span style={aboutEffectsLabel}>About effects</span>+ <ExternalLinkIcon+ aria-hidden="true"+ color={aboutEffectsHovered ? WHITE : LIGHT_TEXT}+ style={aboutEffectsIcon}+ />+ </a>+ </div><RemotionInputref={inputRef}type="text"diff --git a/packages/studio/src/icons/external-link.tsx b/packages/studio/src/icons/external-link.tsxnew file mode 100644index 0000000000..404c19091e--- /dev/null+++ b/packages/studio/src/icons/external-link.tsx@@ -0,0 +1,19 @@+import type {SVGProps} from 'react';+import React from 'react';++// Font Awesome Pro v7.3.1, Copyright 2026 Fonticons, Inc.+// https://fontawesome.com/license (Commercial License)+export const ExternalLinkIcon: React.FC<+ SVGProps<SVGSVGElement> & {+ readonly color: string;+ }+> = ({color, ...props}) => {+ return (+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" {...props}>+ <path+ fill={color}+ d="M304 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l153.4 0-260.7 260.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L480 54.6 480 208c0 8.8 7.2 16 16 16s16-7.2 16-16l0-192c0-8.8-7.2-16-16-16L304 0zM80 96C35.8 96 0 131.8 0 176L0 432c0 44.2 35.8 80 80 80l256 0c44.2 0 80-35.8 80-80l0-96c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 96c0 26.5-21.5 48-48 48L80 480c-26.5 0-48-21.5-48-48l0-256c0-26.5 21.5-48 48-48l96 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L80 96z"+ />+ </svg>+ );+};