Invite Team
An invite field types emails, sends invites and a toast confirms in a project list. A free, MIT-licensed Remotion product scene.
$ pnpm dlx shadcn@latest add @remocn/invite-teamUsage
// src/Root.tsx
import { Composition } from "remotion";
import { InviteTeam } from "@/components/remocn/invite-team";
const InviteTeamScene = () => (
<InviteTeam emails={["maya@kitebase.io", "leo@kitebase.io"]} role="Editor" workspace="Kitebase" />
);
export const RemotionRoot = () => (
<Composition
id="InviteTeam"
component={InviteTeamScene}
durationInFrames={430}
fps={60}
width={1280}
height={720}
/>
);A project app opens behind an invite modal; a cursor types up to three emails into chips, switches the role in a select, clicks send, and avatars fly into the header while a toast confirms. Pass emails, role and workspace to make it yours, and images with your own project thumbnails (the default files only exist in the Remocn repo). It ships light and dark through theme.
The ground is a live gradients.sh shader (GshGround), installed with the component as @remocn/gsh. Pick another look with the ground preset prop.
Props17
| Prop | Type | Default |
|---|---|---|
| emails | string[]— Emails typed into the invite field (up to 3 fit best). | |
| role | string"Editor" Role the select switches to. | |
| workspace | string"Kitebase" Workspace name shown in the modal and app. | |
| pageTitle | string"Projects" Page heading in the app behind the modal. | |
| fieldLabel | string"Email addresses" Label above the email field. | |
| doneLabel | string"Invites sent" Button label once the invites are sent. | |
| images | string[]DEFAULT_IMAGES Project thumbnail URLs behind the modal; defaults ship with Remocn only. | |
| theme | "light" | "dark""light" Visual theme; ships light and dark. | |
| accent | string"#3B5BFD" Accent color for highlights and controls. | |
| ink | string— Text color; overrides the theme ink. | |
| background | string— Solid fill in place of the gradient ground; pass "transparent" to drop it. | |
| fontFamily | string"Hanken Grotesk" Typeface for the copy. Load the font in your project first. | |
| scale | number1 Size of the foreground around the frame's center; the background stays put. | |
| delay | number0 Frames to hold the first frame before anything moves. | |
| speed | number1 Playback speed multiplier for the whole timeline. | |
| ground | GshPresetId— Preset id for the gradients.sh background shader. | |
| groundParams | Partial<GradientParams>— Overrides for the shader parameters of the chosen ground. | |
- emailsstring[]
Emails typed into the invite field (up to 3 fit best).
- rolestring
Role the select switches to.
Default
"Editor" - workspacestring
Workspace name shown in the modal and app.
Default
"Kitebase" - pageTitlestring
Page heading in the app behind the modal.
Default
"Projects" - fieldLabelstring
Label above the email field.
Default
"Email addresses" - doneLabelstring
Button label once the invites are sent.
Default
"Invites sent" - imagesstring[]
Project thumbnail URLs behind the modal; defaults ship with Remocn only.
Default
DEFAULT_IMAGES - theme"light" | "dark"
Visual theme; ships light and dark.
Default
"light" - accentstring
Accent color for highlights and controls.
Default
"#3B5BFD" - inkstring
Text color; overrides the theme ink.
- backgroundstring
Solid fill in place of the gradient ground; pass "transparent" to drop it.
- fontFamilystring
Typeface for the copy. Load the font in your project first.
Default
"Hanken Grotesk" - scalenumber
Size of the foreground around the frame's center; the background stays put.
Default
1 - delaynumber
Frames to hold the first frame before anything moves.
Default
0 - speednumber
Playback speed multiplier for the whole timeline.
Default
1 - groundGshPresetId
Preset id for the gradients.sh background shader.
- groundParamsPartial<GradientParams>
Overrides for the shader parameters of the chosen ground.