Skip to content

🎥 Make videos programmatically with React

Studio: Use gear and background removal icons

Jonny Burger9580f339c534
diff --git a/packages/studio/src/components/CurrentAsset.tsx b/packages/studio/src/components/CurrentAsset.tsx
index 2868ebfe69..2f32a7b63e 100644
--- a/packages/studio/src/components/CurrentAsset.tsx
+++ b/packages/studio/src/components/CurrentAsset.tsx
@@ -16,9 +16,9 @@ import {
import {useImageMetadata} from '../helpers/use-image-metadata';
import type {MediaMetadata} from '../helpers/use-media-metadata';
import {useMediaMetadata} from '../helpers/use-media-metadata';
+import {BackgroundRemovalIcon} from '../icons/background-removal';
import {ExpandedFolderIcon} from '../icons/folder';
import {RemotionConvertIcon} from '../icons/remotion-convert';
-import {SeparationIcon} from '../icons/separation';
import {TranscriptionIcon} from '../icons/transcription';
import {TrashIcon} from '../icons/trash';
import {SetSelectedModalContext} from '../state/modals';
@@ -434,7 +434,10 @@ export const AssetInfo: React.FC<{
disabled={mutationsDisabled}
onClick={onTrackMatting}
renderIcon={(color) => (
- <SeparationIcon color={color} style={quickActionIconStyle} />
+ <BackgroundRemovalIcon
+ color={color}
+ style={quickActionIconStyle}
+ />
)}
>
Remove background
diff --git a/packages/studio/src/components/InspectorPanel/SequenceSelectionInspector.tsx b/packages/studio/src/components/InspectorPanel/SequenceSelectionInspector.tsx
index 1f2a9f67db..7882823aa7 100644
--- a/packages/studio/src/components/InspectorPanel/SequenceSelectionInspector.tsx
+++ b/packages/studio/src/components/InspectorPanel/SequenceSelectionInspector.tsx
@@ -5,9 +5,9 @@ import type {TimelineTrackData} from '../../helpers/get-timeline-sequence-sort-k
import {isStudioInteractivityEnabled} from '../../helpers/interactivity-enabled';
import {useMediaMetadata} from '../../helpers/use-media-metadata';
import {AudioIcon} from '../../icons/audio';
+import {BackgroundRemovalIcon} from '../../icons/background-removal';
import {DuplicateIcon} from '../../icons/duplicate';
import {ScissorsIcon} from '../../icons/scissors';
-import {SeparationIcon} from '../../icons/separation';
import {SnowflakeIcon} from '../../icons/snowflake';
import {TranscriptionIcon} from '../../icons/transcription';
import {TrashIcon} from '../../icons/trash';
@@ -293,7 +293,7 @@ const SequenceSourceQuickActions: React.FC<{
onClick={onRemoveBackground}
title={videoMattingDisabledReason}
renderIcon={(color) => (
- <SeparationIcon style={actionIconStyle} color={color} />
+ <BackgroundRemovalIcon style={actionIconStyle} color={color} />
)}
>
Remove background
diff --git a/packages/studio/src/components/VideoMatting/VideoMattingModal.tsx b/packages/studio/src/components/VideoMatting/VideoMattingModal.tsx
index 490652d39b..0ce16fea6f 100644
--- a/packages/studio/src/components/VideoMatting/VideoMattingModal.tsx
+++ b/packages/studio/src/components/VideoMatting/VideoMattingModal.tsx
@@ -15,8 +15,8 @@ import React, {
} from 'react';
import {BLUE_DISABLED} from '../../helpers/colors';
import {Checkmark} from '../../icons/Checkmark';
+import {GearIcon} from '../../icons/gear';
import {ModelsIcon} from '../../icons/models';
-import {SeparationIcon} from '../../icons/separation';
import type {VideoMattingModalState} from '../../state/modals';
import {SetSelectedModalContext} from '../../state/modals';
import {SidebarContext} from '../../state/sidebar';
@@ -275,7 +275,7 @@ export const VideoMattingModal: React.FC<VideoMattingModalState> = ({
onClick={() => setTab('remove')}
renderIcon={(color) => (
<div style={iconContainer}>
- <SeparationIcon color={color} style={icon} />
+ <GearIcon color={color} style={icon} />
</div>
)}
selected={tab === 'remove'}
diff --git a/packages/studio/src/icons/background-removal.tsx b/packages/studio/src/icons/background-removal.tsx
new file mode 100644
index 0000000000..2980a6b7e1
--- /dev/null
+++ b/packages/studio/src/icons/background-removal.tsx
@@ -0,0 +1,16 @@
+import type {SVGProps} from 'react';
+import {CURRENT_COLOR_LOWERCASE} from '../helpers/colors';
+
+// Font Awesome Pro v7.3.1, Copyright 2026 Fonticons, Inc.
+// https://fontawesome.com/license
+export const BackgroundRemovalIcon = ({
+ color,
+ ...props
+}: SVGProps<SVGSVGElement> & {readonly color?: string}) => (
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640" {...props}>
+ <path
+ fill={color ?? CURRENT_COLOR_LOWERCASE}
+ d="M128 64C92.7 64 64 92.7 64 128L64 208C64 216.8 71.2 224 80 224C88.8 224 96 216.8 96 208L96 128C96 110.3 110.3 96 128 96L208 96C216.8 96 224 88.8 224 80C224 71.2 216.8 64 208 64L128 64zM512 64L432 64C423.2 64 416 71.2 416 80C416 88.8 423.2 96 432 96L512 96C529.7 96 544 110.3 544 128L544 208C544 216.8 551.2 224 560 224C568.8 224 576 216.8 576 208L576 128C576 92.7 547.3 64 512 64zM64 512C64 547.3 92.7 576 128 576L208 576C216.8 576 224 568.8 224 560C224 551.2 216.8 544 208 544L128 544C110.3 544 96 529.7 96 512L96 432C96 423.2 88.8 416 80 416C71.2 416 64 423.2 64 432L64 512zM512 576C547.3 576 576 547.3 576 512L576 432C576 423.2 568.8 416 560 416C551.2 416 544 423.2 544 432L544 512C544 529.7 529.7 544 512 544L432 544C423.2 544 416 551.2 416 560C416 568.8 423.2 576 432 576L512 576zM296 288C296 274.7 285.3 264 272 264C258.7 264 248 274.7 248 288C248 301.3 258.7 312 272 312C285.3 312 296 301.3 296 288zM368 312C381.3 312 392 301.3 392 288C392 274.7 381.3 264 368 264C354.7 264 344 274.7 344 288C344 301.3 354.7 312 368 312zM320 192C390.7 192 448 249.3 448 320C448 390.7 390.7 448 320 448C249.3 448 192 390.7 192 320C192 249.3 249.3 192 320 192zM320 480C408.4 480 480 408.4 480 320C480 231.6 408.4 160 320 160C231.6 160 160 231.6 160 320C160 408.4 231.6 480 320 480zM278.4 352C274 344.4 264.2 341.7 256.5 346.2C248.8 350.7 246.2 360.4 250.7 368.1C264.5 392 290.4 408.1 320 408.1C349.6 408.1 375.5 392 389.3 368.1C393.7 360.4 391.1 350.7 383.5 346.2C375.9 341.7 366.1 344.4 361.6 352C353.3 366.4 337.8 376 320 376C302.2 376 286.7 366.4 278.4 352z"
+ />
+ </svg>
+);
diff --git a/packages/studio/src/icons/separation.tsx b/packages/studio/src/icons/separation.tsx
deleted file mode 100644
index eed27ef24c..0000000000
--- a/packages/studio/src/icons/separation.tsx
+++ /dev/null
@@ -1,14 +0,0 @@
-import type {SVGProps} from 'react';
-import {CURRENT_COLOR_LOWERCASE} from '../helpers/colors';
-
-export const SeparationIcon = ({
- color,
- ...props
-}: SVGProps<SVGSVGElement> & {readonly color?: string}) => (
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512" {...props}>
- <path
- d="M0 64c0 29.8 20.4 54.9 48 62v100c-27.6 7.1-48 32.2-48 62 0 35.3 28.7 64 64 64 29.8 0 54.9-20.4 62-48h196c7.1 27.6 32.2 48 62 48 35.3 0 64-28.7 64-64 0-29.8-20.4-54.9-48-62V126c27.6-7.1 48-32.2 48-62 0-35.3-28.7-64-64-64-29.8 0-54.9 20.4-62 48H126C118.9 20.4 93.8 0 64 0 28.7 0 0 28.7 0 64Zm322 16c5.8 22.5 23.5 40.2 46 46v100c-22.5 5.8-40.2 23.5-46 46H126c-5.8-22.5-23.5-40.2-46-46V126c22.5-5.8 40.2-23.5 46-46h196Zm174 128h-16v32h34c5.8 22.5 23.5 40.2 46 46v100c-22.5 5.8-40.2 23.5-46 46H318c-5.8-22.5-23.5-40.2-46-46v-34h-32v34c-27.6 7.1-48 32.2-48 62 0 35.3 28.7 64 64 64 29.8 0 54.9-20.4 62-48h196c7.1 27.6 32.2 48 62 48 35.3 0 64-28.7 64-64 0-29.8-20.4-54.9-48-62V286c27.6-7.1 48-32.2 48-62 0-35.3-28.7-64-64-64-29.8 0-54.9 20.4-62 48h-18Zm80 48a32 32 0 1 1 0-64 32 32 0 1 1 0 64ZM544 448a32 32 0 1 1 64 0 32 32 0 1 1-64 0ZM256 480a32 32 0 1 1 0-64 32 32 0 1 1 0 64Zm96-192a32 32 0 1 1 64 0 32 32 0 1 1-64 0ZM64 320a32 32 0 1 1 0-64 32 32 0 1 1 0 64ZM352 64a32 32 0 1 1 64 0 32 32 0 1 1-64 0ZM64 96a32 32 0 1 1 0-64 32 32 0 1 1 0 64Z"
- fill={color ?? CURRENT_COLOR_LOWERCASE}
- />
- </svg>
-);