UI Toolkit Web
AnthropicOfficialCreated by ZoomDistributed by Anthropic
- Skill
- Tool integration
- Software development
- MIT
- No issues found
AutoGineer summary
Written by AutoGineer from the skill’s own files, not by the author
The Zoom Video SDK UI Toolkit provides a ready-to-use, professional video conferencing interface for web applications. It is designed for developers who need to implement video capabilities quickly without building custom layouts, controls, or participant management systems from scratch. The toolkit is framework-agnostic, supporting React, Vue, Angular, Next.js, and vanilla JavaScript, and offers a modular approach where you can choose between a full composite UI or individual components.
What it does
- Renders a complete, pre-built video conferencing interface.
- Provides modular components for chat, screen sharing, participant lists, and settings.
- Supports framework-specific integrations including React, Vue, and Angular.
- Handles session lifecycle management and event listeners.
- Allows for theme customization and feature toggling.
- Includes built-in support for virtual backgrounds and quality statistics.
When to use it
- When you need to add video conferencing to your web app quickly.
- When you prefer a standard, consistent Zoom-like UI over a fully custom design.
- When you want to avoid building complex video rendering and control logic.
- When you are working within a modern web framework like React or Next.js.
Advantages
- Significantly reduces development time for video features.
- Provides a professional, battle-tested UI out of the box.
- Highly configurable with optional features and themes.
- Works seamlessly across major modern web frameworks.
- Includes essential tools like screen sharing and chat by default.
Usage examples
- “How do I initialize the Zoom UI Toolkit in a React application?”
- You use the joinSession method within a useEffect hook, passing a configuration object that includes your JWT, session name, and desired features, while ensuring the UI Toolkit CSS is imported.
- “What is the recommended way to handle authentication for the UI Toolkit?”
- You must generate a JWT on your server using your SDK key and secret, then pass this token to the client-side configuration; never expose your SDK secret in the browser.
Install
Download the skill as a ZIP:
https://autogineer.com/agent-skills/anthropics/ui-toolkit-web/downloadUnzip it into the cross-client skills folder of your project:
mkdir -p .agents/skills && unzip ui-toolkit-web.zip -d .agents/skills
Documentation by Zoom
Zoom Video SDK UI Toolkit
Background reference for the prebuilt Zoom Video SDK UI Toolkit on web. Prefer choose-zoom-approach first when the user might still need Meeting SDK instead.
Official Documentation: https://developers.zoom.us/docs/video-sdk/web/ui-toolkit/ API Reference: https://marketplacefront.zoom.us/sdk/uitoolkit/web/ NPM Package: https://www.npmjs.com/package/@zoom/videosdk-zoom-ui-toolkit Live Demo: https://sdk.zoom.com/videosdk-uitoolkit
Quick Links
New to UI Toolkit? Follow this path:
Quick Start - Get running in 5 minutes (see below)
JWT Authentication - Server-side token generation (required)
Composite vs Components - Choose your approach
Framework Integration - React, Vue, Angular, Next.js patterns
Integrated Index - see the section below in this file
Having issues?
Session not joining → Check JWT Authentication (most common issue)
React 18 peer dependency error → See Installation section
CSS not loading → See Troubleshooting
Components not showing → Check Component Lifecycle
Start with preflight checks → 5-Minute Runbook
Overview
The Zoom Video SDK UI Toolkit is a pre-built video UI library that renders complete video conferencing experiences with minimal code. Unlike the raw Video SDK, the UI Toolkit provides:
✅ Ready-to-use UI - Professional video interface out of the box
✅ Zero UI code - No need to build video layouts, controls, or participant management
✅ Framework agnostic - Works with React, Vue, Angular, Next.js, vanilla JS
✅ Highly customizable - Choose which features to enable, customize themes
✅ Built-in features - Chat, screen share, settings, virtual backgrounds included
When to use UI Toolkit:
You want a complete video solution quickly
You need Zoom-like UI consistency
You don't want to build custom video UI
You need standard features (chat, share, participants)
When to use raw Video SDK instead:
You need complete custom UI control
You're building a non-standard video experience
You need access to raw video/audio data
You want to build your own rendering pipeline
Installation
npm install @zoom/videosdk-zoom-ui-toolkit jsrsasign
npm install -D @types/jsrsasignNote: React support depends on the UI Toolkit version. Check the package peer dependencies for your installed version (React 18 is commonly required).
Quick Start
Basic Usage (Vanilla JS)
import uitoolkit from "@zoom/videosdk-zoom-ui-toolkit";
import "@zoom/videosdk-ui-toolkit/dist/videosdk-zoom-ui-toolkit.css";
const container = document.getElementById("sessionContainer");
const config = {
videoSDKJWT: "your_jwt_token",
sessionName: "my-session",
userName: "John Doe",
sessionPasscode: "",
features: ["video", "audio", "share", "chat", "users", "settings"],
};
uitoolkit.joinSession(container, config);
uitoolkit.onSessionJoined(() => {
console.log("Session joined");
});
uitoolkit.onSessionClosed(() => {
console.log("Session closed");
});Next.js / React Integration
'use client';
import { useEffect, useRef } from 'react';
export default function VideoSession({ jwt, sessionName, userName }) {
const containerRef = useRef<HTMLDivElement>(null);
const uitoolkitRef = useRef<any>(null);
useEffect(() => {
let isMounted = true;
const init = async () => {
const uitoolkitModule = await import('@zoom/videosdk-zoom-ui-toolkit');
const uitoolkit = uitoolkitModule.default;
uitoolkitRef.current = uitoolkit;
// If TypeScript complains about CSS imports, configure your app to allow them
// (for example via a global `declare module \"*.css\";`), or import the CSS from
// a global entrypoint (Next.js layout/_app) instead of inlining here.
await import('@zoom/videosdk-ui-toolkit/dist/videosdk-zoom-ui-toolkit.css');
if (!isMounted || !containerRef.current) return;
const config: any = {
videoSDKJWT: jwt,
sessionName: sessionName,
userName: userName,
sessionPasscode: '',
features: ['video', 'audio', 'share', 'chat', 'users', 'settings'],
};
uitoolkit.joinSession(containerRef.current, config);
uitoolkit.onSessionJoined(() => console.log('Joined'));
uitoolkit.onSessionClosed(() => console.log('Closed'));
};
init();
return () => {
isMounted = false;
if (uitoolkitRef.current && containerRef.current) {
try {
uitoolkitRef.current.closeSession(containerRef.current);
} catch (e) {}
}
};
}, [jwt, sessionName, userName]);
return <div ref={containerRef} style={{ width: '100%', height: '100vh' }} />;
}Available Features
| Feature | Description |
|---|---|
video | Enable video layout and send/receive video |
audio | Show audio button, send/receive audio |
share | Screen sharing |
chat | In-session messaging |
users | Participant list |
settings | Device selection, virtual background |
preview | Pre-join camera/mic preview |
recording | Cloud recording (paid plan) |
leave | Leave/end session button |
Troubleshooting
troubleshooting/common-issues.md - CSS, SSR, JWT/session join, customization limits
JWT Token Generation (Server-Side)
Required: Generate JWT tokens on your server, never expose SDK secret client-side.
Node.js / Next.js API Route
import { NextRequest, NextResponse } from 'next/server';
import { KJUR } from 'jsrsasign';
const ZOOM_VIDEO_SDK_KEY = process.env.ZOOM_VIDEO_SDK_KEY;
const ZOOM_VIDEO_SDK_SECRET = process.env.ZOOM_VIDEO_SDK_SECRET;
export async function POST(request: NextRequest) {
const { sessionName, role, userName } = await request.json();
if (!sessionName || role === undefined) {
return NextResponse.json({ error: 'Missing params' }, { status: 400 });
}
const iat = Math.floor(Date.now() / 1000);
const exp = iat + 60 * 60 * 2; // 2 hours
const oHeader = { alg: 'HS256', typ: 'JWT' };
const oPayload = {
app_key: ZOOM_VIDEO_SDK_KEY,
role_type: role, // 0 = participant, 1 = host
tpc: sessionName,
version: 1,
iat,
exp,
user_identity: userName || 'User',
};
const signature = KJUR.jws.JWS.sign(
'HS256',
JSON.stringify(oHeader),
JSON.stringify(oPayload),
ZOOM_VIDEO_SDK_SECRET
);
return NextResponse.json({ signature });
}JWT Payload Fields
| Field | Required | Description |
|---|---|---|
app_key | Yes | Your Video SDK Key |
role_type | Yes | 0 = participant, 1 = host |
tpc | Yes | Session/topic name |
version | Yes | Always 1 |
iat | Yes | Issued at (Unix timestamp) |
exp | Yes | Expiration (Unix timestamp) |
user_identity | No | User identifier |
API Reference
Core Methods
uitoolkit.joinSession(container, config);
uitoolkit.closeSession(container);Event Listeners
uitoolkit.onSessionJoined(callback);
uitoolkit.onSessionClosed(callback);
uitoolkit.offSessionJoined(callback);
uitoolkit.offSessionClosed(callback);Component Methods
uitoolkit.showChatComponent(container);
uitoolkit.hideChatComponent(container);
uitoolkit.showUsersComponent(container);
uitoolkit.hideUsersComponent(container);
uitoolkit.showControlsComponent(container);
uitoolkit.hideControlsComponent(container);
uitoolkit.showSettingsComponent(container);
uitoolkit.hideSettingsComponent(container);
uitoolkit.hideAllComponents();CDN Usage (No Build Step)
<link rel="stylesheet" href="https://source.zoom.us/uitoolkit/2.3.5-1/videosdk-zoom-ui-toolkit.css" />
<script src="https://source.zoom.us/uitoolkit/2.3.5-1/videosdk-zoom-ui-toolkit.min.umd.js"></script>
<div id="sessionContainer"></div>
<script>
const uitoolkit = window.UIToolkit;
uitoolkit.joinSession(document.getElementById('sessionContainer'), {
videoSDKJWT: 'your_jwt',
sessionName: 'my-session',
userName: 'User',
features: ['video', 'audio', 'chat']
});
</script>Next.js with basePath
When deploying Next.js under a subpath:
// next.config.ts
const nextConfig = {
basePath: "/your-app-path",
assetPrefix: "/your-app-path",
};Fetch API routes with full path:
fetch('/your-app-path/api/token', { ... })Prerequisites
Zoom Video SDK credentials from Zoom Marketplace
React version compatible with your installed UI Toolkit package (check peer deps; React 18 is common)
Server-side JWT generation (never expose SDK secret)
Modern browser with WebRTC support
Browser Support
| Browser | Version |
|---|---|
| Chrome | 78+ |
| Firefox | 76+ |
| Safari | 14.1+ |
| Edge | 79+ |
Common Issues
| Issue | Solution |
|---|---|
peer react@"^18.0.0" error | Use the React version required by the installed UI Toolkit package (check peer deps; React 18 is common) |
| CSS import TypeScript error | Configure TS/CSS handling (prefer a global *.css module declaration); avoid @ts-ignore except in throwaway demos |
| Config type error | Type config as any |
| API returns HTML not JSON | Check basePath in fetch URL |
Resources
GitHub: https://github.com/zoom/videosdk-zoom-ui-toolkit-web
UI Toolkit Docs: https://developers.zoom.us/docs/video-sdk/web/ui-toolkit/
Auth Endpoint Sample: https://github.com/zoom/videosdk-auth-endpoint-sample
Marketplace: https://marketplace.zoom.us/
Integrated Index
This section was migrated from SKILL.md.
Complete navigation for all UI Toolkit documentation.
📚 Start Here
New to the UI Toolkit? Follow this learning path:
SKILL.md - Main overview and quick start
5-Minute Runbook - Preflight checks before deep debugging
Quick Start Guide - Working code in 5 minutes (see skill.md)
JWT Authentication - Server-side token generation (see skill.md)
Choose Your Mode - Composite vs Components (see skill.md)
🎯 Core Concepts
Understanding how UI Toolkit works:
Composite vs Components - Two ways to use UI Toolkit (see skill.md)
UI Toolkit Architecture - How it wraps Video SDK internally
Feature Configuration - Understanding featuresOptions structure
Session Lifecycle - Join → Active → Leave/Close → Destroy flow
📖 Complete Guides
Getting Started
Installation - NPM install and React 18 setup (see skill.md)
Quick Start - Composite - Full UI in one container (see skill.md)
Quick Start - Components - Individual UI pieces (see skill.md)
JWT Authentication - Server-side token generation (see skill.md)
Framework Integration
React Integration - Hooks, useEffect patterns (see skill.md)
Vue.js Integration - Composition API and Options API (see skill.md)
Angular Integration - Component lifecycle (see skill.md)
Next.js Integration - App Router, Server Components (see skill.md)
Vanilla JavaScript - No framework usage (see skill.md)
Advanced Topics
Component Lifecycle - Mount, unmount, cleanup patterns
Event Listeners - React to session events
Session Management - Programmatic control
Quality Statistics - Monitor connection quality
Custom Themes - Theme customization
Virtual Backgrounds - Custom background images
📚 API Reference
Complete API documentation:
Core Methods (see skill.md)
joinSession()- Start a video sessioncloseSession()- End session and remove UIdestroy()- Clean up UI Toolkit instanceleaveSession()- Leave without destroying UI
Component Methods (see skill.md)
showControlsComponent()- Display control barshowChatComponent()- Display chat panelshowUsersComponent()- Display participants listshowSettingsComponent()- Display settings panelhideAllComponents()- Hide all components
Event Listeners (see skill.md)
onSessionJoined()- Session joined successfullyonSessionClosed()- Session endedonSessionDestroyed()- UI Toolkit destroyedonViewTypeChange()- View mode changedon()- Subscribe to Video SDK eventsoff()- Unsubscribe from events
Information Methods (see skill.md)
getSessionInfo()- Get session detailsgetCurrentUserInfo()- Get current usergetAllUser()- Get all participantsgetClient()- Get underlying Video SDK clientversion()- Get version info
Control Methods (see skill.md)
changeViewType()- Switch view modemirrorVideo()- Mirror self videoisSupportCustomLayout()- Check device support
Statistics Methods (see skill.md)
subscribeAudioStatisticData()- Audio quality statssubscribeVideoStatisticData()- Video quality statssubscribeShareStatisticData()- Share quality stats
🔧 Configuration
Feature Configuration (see skill.md)
featuresOptionsstructureAudio/Video options
Chat, Users, Settings
Virtual Background
Recording, Captions (paid features)
Theme customization
View modes
Session Configuration (see skill.md)
Required:
videoSDKJWT,sessionName,userNameOptional:
sessionPasscode,sessionIdleTimeoutMinsDebug mode
Web endpoint
Language settings
⚠️ Troubleshooting
Common Issues
React 18 peer dependency error
JWT token invalid
CSS not loading
Components not showing
Session join failures
See: troubleshooting/common-issues.md
Framework-Specific Issues
React: SSR, hydration, cleanup
Vue: Reactivity, lifecycle
Angular: Module imports, AOT
Next.js: App Router, basePath
Session Issues
Authentication failures
Connection problems
Video/audio not working
Screen share issues
📦 Sample Applications
Official Repositories:
| Framework | Repository | Key Features |
|---|---|---|
| React | videosdk-zoom-ui-toolkit-react-sample | Hooks, TypeScript |
| Vue.js | videosdk-zoom-ui-toolkit-vuejs-sample | Composition API |
| Angular | videosdk-zoom-ui-toolkit-angular-sample | Services, Guards |
| JavaScript | videosdk-zoom-ui-toolkit-javascript-sample | Vanilla JS |
| Auth Endpoint | videosdk-auth-endpoint-sample | Node.js JWT |
🌐 External Resources
Official Documentation: https://developers.zoom.us/docs/video-sdk/web/ui-toolkit/
API Reference: https://marketplacefront.zoom.us/sdk/uitoolkit/web/
NPM Package: https://www.npmjs.com/package/@zoom/videosdk-zoom-ui-toolkit
Marketplace: https://marketplace.zoom.us/
Developer Forum: https://devforum.zoom.us/
Live Demo: https://sdk.zoom.com/videosdk-uitoolkit
Changelog: https://developers.zoom.us/changelog/ui-toolkit/web/
🎓 Learning Path
Beginner
Read SKILL.md overview
Follow Quick Start - Composite
Generate JWT on server
Join your first session
Explore available features
Intermediate
Try Component Mode
Add event listeners
Customize theme
Add virtual backgrounds
Integrate with your framework
Advanced
Access underlying Video SDK
Subscribe to quality statistics
Handle all edge cases
Implement custom layouts
Build production-ready app
📋 Quick Reference Card
Minimal Working Example
import uitoolkit from "@zoom/videosdk-zoom-ui-toolkit";
import "@zoom/videosdk-ui-toolkit/dist/videosdk-zoom-ui-toolkit.css";
const config = {
videoSDKJWT: "YOUR_JWT",
sessionName: "test-session",
userName: "User",
featuresOptions: {
video: { enable: true },
audio: { enable: true }
}
};
uitoolkit.joinSession(document.getElementById("container"), config);
uitoolkit.onSessionJoined(() => console.log("Joined"));
uitoolkit.onSessionClosed(() => uitoolkit.destroy());Must-Remember Rules
✅ Always generate JWT server-side
✅ Always call
destroy()on cleanup✅ Always use React 18 (not 17/19)
✅ Always import CSS file
❌ Never expose SDK secret client-side
❌ Never skip
onSessionClosedcleanup❌ Never call components before
joinSession
📞 Support
Developer Forum: https://devforum.zoom.us/
Developer Support: https://developers.zoom.us/support/
Premier Support: https://explore.zoom.us/en/support-plans/developer/
Navigation: ← Back to SKILL.md
Environment Variables
See references/environment-variables.md for standardized
.envkeys and where to find each value.
Files
- ATTRIBUTION.mdAdded by AutoGineer980 B
- LICENSELicence file added by AutoGineer1.1 KiB
- RUNBOOK.md1.9 KiB
- SKILL.md17.3 KiB
- references/environment-variables.md738 B
- troubleshooting/common-issues.md1.2 KiB
SKILL.md
Zoom Video SDK UI Toolkit
Background reference for the prebuilt Zoom Video SDK UI Toolkit on web. Prefer choose-zoom-approach first when the user might still need Meeting SDK instead.
Official Documentation: https://developers.zoom.us/docs/video-sdk/web/ui-toolkit/ API Reference: https://marketplacefront.zoom.us/sdk/uitoolkit/web/ NPM Package: https://www.npmjs.com/package/@zoom/videosdk-zoom-ui-toolkit Live Demo: https://sdk.zoom.com/videosdk-uitoolkit
Quick Links
New to UI Toolkit? Follow this path:
Quick Start - Get running in 5 minutes (see below)
JWT Authentication - Server-side token generation (required)
Composite vs Components - Choose your approach
Framework Integration - React, Vue, Angular, Next.js patterns
Integrated Index - see the section below in this file
Having issues?
Session not joining → Check JWT Authentication (most common issue)
React 18 peer dependency error → See Installation section
CSS not loading → See Troubleshooting
Components not showing → Check Component Lifecycle
Start with preflight checks → 5-Minute Runbook
Overview
The Zoom Video SDK UI Toolkit is a pre-built video UI library that renders complete video conferencing experiences with minimal code. Unlike the raw Video SDK, the UI Toolkit provides:
✅ Ready-to-use UI - Professional video interface out of the box
✅ Zero UI code - No need to build video layouts, controls, or participant management
✅ Framework agnostic - Works with React, Vue, Angular, Next.js, vanilla JS
✅ Highly customizable - Choose which features to enable, customize themes
✅ Built-in features - Chat, screen share, settings, virtual backgrounds included
When to use UI Toolkit:
You want a complete video solution quickly
You need Zoom-like UI consistency
You don't want to build custom video UI
You need standard features (chat, share, participants)
When to use raw Video SDK instead:
You need complete custom UI control
You're building a non-standard video experience
You need access to raw video/audio data
You want to build your own rendering pipeline
Installation
npm install @zoom/videosdk-zoom-ui-toolkit jsrsasign
npm install -D @types/jsrsasignNote: React support depends on the UI Toolkit version. Check the package peer dependencies for your installed version (React 18 is commonly required).
Quick Start
Basic Usage (Vanilla JS)
import uitoolkit from "@zoom/videosdk-zoom-ui-toolkit";
import "@zoom/videosdk-ui-toolkit/dist/videosdk-zoom-ui-toolkit.css";
const container = document.getElementById("sessionContainer");
const config = {
videoSDKJWT: "your_jwt_token",
sessionName: "my-session",
userName: "John Doe",
sessionPasscode: "",
features: ["video", "audio", "share", "chat", "users", "settings"],
};
uitoolkit.joinSession(container, config);
uitoolkit.onSessionJoined(() => {
console.log("Session joined");
});
uitoolkit.onSessionClosed(() => {
console.log("Session closed");
});Next.js / React Integration
'use client';
import { useEffect, useRef } from 'react';
export default function VideoSession({ jwt, sessionName, userName }) {
const containerRef = useRef<HTMLDivElement>(null);
const uitoolkitRef = useRef<any>(null);
useEffect(() => {
let isMounted = true;
const init = async () => {
const uitoolkitModule = await import('@zoom/videosdk-zoom-ui-toolkit');
const uitoolkit = uitoolkitModule.default;
uitoolkitRef.current = uitoolkit;
// If TypeScript complains about CSS imports, configure your app to allow them
// (for example via a global `declare module \"*.css\";`), or import the CSS from
// a global entrypoint (Next.js layout/_app) instead of inlining here.
await import('@zoom/videosdk-ui-toolkit/dist/videosdk-zoom-ui-toolkit.css');
if (!isMounted || !containerRef.current) return;
const config: any = {
videoSDKJWT: jwt,
sessionName: sessionName,
userName: userName,
sessionPasscode: '',
features: ['video', 'audio', 'share', 'chat', 'users', 'settings'],
};
uitoolkit.joinSession(containerRef.current, config);
uitoolkit.onSessionJoined(() => console.log('Joined'));
uitoolkit.onSessionClosed(() => console.log('Closed'));
};
init();
return () => {
isMounted = false;
if (uitoolkitRef.current && containerRef.current) {
try {
uitoolkitRef.current.closeSession(containerRef.current);
} catch (e) {}
}
};
}, [jwt, sessionName, userName]);
return <div ref={containerRef} style={{ width: '100%', height: '100vh' }} />;
}Available Features
| Feature | Description |
|---|---|
video | Enable video layout and send/receive video |
audio | Show audio button, send/receive audio |
share | Screen sharing |
chat | In-session messaging |
users | Participant list |
settings | Device selection, virtual background |
preview | Pre-join camera/mic preview |
recording | Cloud recording (paid plan) |
leave | Leave/end session button |
Troubleshooting
troubleshooting/common-issues.md - CSS, SSR, JWT/session join, customization limits
JWT Token Generation (Server-Side)
Required: Generate JWT tokens on your server, never expose SDK secret client-side.
Node.js / Next.js API Route
import { NextRequest, NextResponse } from 'next/server';
import { KJUR } from 'jsrsasign';
const ZOOM_VIDEO_SDK_KEY = process.env.ZOOM_VIDEO_SDK_KEY;
const ZOOM_VIDEO_SDK_SECRET = process.env.ZOOM_VIDEO_SDK_SECRET;
export async function POST(request: NextRequest) {
const { sessionName, role, userName } = await request.json();
if (!sessionName || role === undefined) {
return NextResponse.json({ error: 'Missing params' }, { status: 400 });
}
const iat = Math.floor(Date.now() / 1000);
const exp = iat + 60 * 60 * 2; // 2 hours
const oHeader = { alg: 'HS256', typ: 'JWT' };
const oPayload = {
app_key: ZOOM_VIDEO_SDK_KEY,
role_type: role, // 0 = participant, 1 = host
tpc: sessionName,
version: 1,
iat,
exp,
user_identity: userName || 'User',
};
const signature = KJUR.jws.JWS.sign(
'HS256',
JSON.stringify(oHeader),
JSON.stringify(oPayload),
ZOOM_VIDEO_SDK_SECRET
);
return NextResponse.json({ signature });
}JWT Payload Fields
| Field | Required | Description |
|---|---|---|
app_key | Yes | Your Video SDK Key |
role_type | Yes | 0 = participant, 1 = host |
tpc | Yes | Session/topic name |
version | Yes | Always 1 |
iat | Yes | Issued at (Unix timestamp) |
exp | Yes | Expiration (Unix timestamp) |
user_identity | No | User identifier |
API Reference
Core Methods
uitoolkit.joinSession(container, config);
uitoolkit.closeSession(container);Event Listeners
uitoolkit.onSessionJoined(callback);
uitoolkit.onSessionClosed(callback);
uitoolkit.offSessionJoined(callback);
uitoolkit.offSessionClosed(callback);Component Methods
uitoolkit.showChatComponent(container);
uitoolkit.hideChatComponent(container);
uitoolkit.showUsersComponent(container);
uitoolkit.hideUsersComponent(container);
uitoolkit.showControlsComponent(container);
uitoolkit.hideControlsComponent(container);
uitoolkit.showSettingsComponent(container);
uitoolkit.hideSettingsComponent(container);
uitoolkit.hideAllComponents();CDN Usage (No Build Step)
<link rel="stylesheet" href="https://source.zoom.us/uitoolkit/2.3.5-1/videosdk-zoom-ui-toolkit.css" />
<script src="https://source.zoom.us/uitoolkit/2.3.5-1/videosdk-zoom-ui-toolkit.min.umd.js"></script>
<div id="sessionContainer"></div>
<script>
const uitoolkit = window.UIToolkit;
uitoolkit.joinSession(document.getElementById('sessionContainer'), {
videoSDKJWT: 'your_jwt',
sessionName: 'my-session',
userName: 'User',
features: ['video', 'audio', 'chat']
});
</script>Next.js with basePath
When deploying Next.js under a subpath:
// next.config.ts
const nextConfig = {
basePath: "/your-app-path",
assetPrefix: "/your-app-path",
};Fetch API routes with full path:
fetch('/your-app-path/api/token', { ... })Prerequisites
Zoom Video SDK credentials from Zoom Marketplace
React version compatible with your installed UI Toolkit package (check peer deps; React 18 is common)
Server-side JWT generation (never expose SDK secret)
Modern browser with WebRTC support
Browser Support
| Browser | Version |
|---|---|
| Chrome | 78+ |
| Firefox | 76+ |
| Safari | 14.1+ |
| Edge | 79+ |
Common Issues
| Issue | Solution |
|---|---|
peer react@"^18.0.0" error | Use the React version required by the installed UI Toolkit package (check peer deps; React 18 is common) |
| CSS import TypeScript error | Configure TS/CSS handling (prefer a global *.css module declaration); avoid @ts-ignore except in throwaway demos |
| Config type error | Type config as any |
| API returns HTML not JSON | Check basePath in fetch URL |
Resources
GitHub: https://github.com/zoom/videosdk-zoom-ui-toolkit-web
UI Toolkit Docs: https://developers.zoom.us/docs/video-sdk/web/ui-toolkit/
Auth Endpoint Sample: https://github.com/zoom/videosdk-auth-endpoint-sample
Marketplace: https://marketplace.zoom.us/
Integrated Index
This section was migrated from SKILL.md.
Complete navigation for all UI Toolkit documentation.
📚 Start Here
New to the UI Toolkit? Follow this learning path:
SKILL.md - Main overview and quick start
5-Minute Runbook - Preflight checks before deep debugging
Quick Start Guide - Working code in 5 minutes (see skill.md)
JWT Authentication - Server-side token generation (see skill.md)
Choose Your Mode - Composite vs Components (see skill.md)
🎯 Core Concepts
Understanding how UI Toolkit works:
Composite vs Components - Two ways to use UI Toolkit (see skill.md)
UI Toolkit Architecture - How it wraps Video SDK internally
Feature Configuration - Understanding featuresOptions structure
Session Lifecycle - Join → Active → Leave/Close → Destroy flow
📖 Complete Guides
Getting Started
Installation - NPM install and React 18 setup (see skill.md)
Quick Start - Composite - Full UI in one container (see skill.md)
Quick Start - Components - Individual UI pieces (see skill.md)
JWT Authentication - Server-side token generation (see skill.md)
Framework Integration
React Integration - Hooks, useEffect patterns (see skill.md)
Vue.js Integration - Composition API and Options API (see skill.md)
Angular Integration - Component lifecycle (see skill.md)
Next.js Integration - App Router, Server Components (see skill.md)
Vanilla JavaScript - No framework usage (see skill.md)
Advanced Topics
Component Lifecycle - Mount, unmount, cleanup patterns
Event Listeners - React to session events
Session Management - Programmatic control
Quality Statistics - Monitor connection quality
Custom Themes - Theme customization
Virtual Backgrounds - Custom background images
📚 API Reference
Complete API documentation:
Core Methods (see skill.md)
joinSession()- Start a video sessioncloseSession()- End session and remove UIdestroy()- Clean up UI Toolkit instanceleaveSession()- Leave without destroying UI
Component Methods (see skill.md)
showControlsComponent()- Display control barshowChatComponent()- Display chat panelshowUsersComponent()- Display participants listshowSettingsComponent()- Display settings panelhideAllComponents()- Hide all components
Event Listeners (see skill.md)
onSessionJoined()- Session joined successfullyonSessionClosed()- Session endedonSessionDestroyed()- UI Toolkit destroyedonViewTypeChange()- View mode changedon()- Subscribe to Video SDK eventsoff()- Unsubscribe from events
Information Methods (see skill.md)
getSessionInfo()- Get session detailsgetCurrentUserInfo()- Get current usergetAllUser()- Get all participantsgetClient()- Get underlying Video SDK clientversion()- Get version info
Control Methods (see skill.md)
changeViewType()- Switch view modemirrorVideo()- Mirror self videoisSupportCustomLayout()- Check device support
Statistics Methods (see skill.md)
subscribeAudioStatisticData()- Audio quality statssubscribeVideoStatisticData()- Video quality statssubscribeShareStatisticData()- Share quality stats
🔧 Configuration
Feature Configuration (see skill.md)
featuresOptionsstructureAudio/Video options
Chat, Users, Settings
Virtual Background
Recording, Captions (paid features)
Theme customization
View modes
Session Configuration (see skill.md)
Required:
videoSDKJWT,sessionName,userNameOptional:
sessionPasscode,sessionIdleTimeoutMinsDebug mode
Web endpoint
Language settings
⚠️ Troubleshooting
Common Issues
React 18 peer dependency error
JWT token invalid
CSS not loading
Components not showing
Session join failures
See: troubleshooting/common-issues.md
Framework-Specific Issues
React: SSR, hydration, cleanup
Vue: Reactivity, lifecycle
Angular: Module imports, AOT
Next.js: App Router, basePath
Session Issues
Authentication failures
Connection problems
Video/audio not working
Screen share issues
📦 Sample Applications
Official Repositories:
| Framework | Repository | Key Features |
|---|---|---|
| React | videosdk-zoom-ui-toolkit-react-sample | Hooks, TypeScript |
| Vue.js | videosdk-zoom-ui-toolkit-vuejs-sample | Composition API |
| Angular | videosdk-zoom-ui-toolkit-angular-sample | Services, Guards |
| JavaScript | videosdk-zoom-ui-toolkit-javascript-sample | Vanilla JS |
| Auth Endpoint | videosdk-auth-endpoint-sample | Node.js JWT |
🌐 External Resources
Official Documentation: https://developers.zoom.us/docs/video-sdk/web/ui-toolkit/
API Reference: https://marketplacefront.zoom.us/sdk/uitoolkit/web/
NPM Package: https://www.npmjs.com/package/@zoom/videosdk-zoom-ui-toolkit
Marketplace: https://marketplace.zoom.us/
Developer Forum: https://devforum.zoom.us/
Live Demo: https://sdk.zoom.com/videosdk-uitoolkit
Changelog: https://developers.zoom.us/changelog/ui-toolkit/web/
🎓 Learning Path
Beginner
Read SKILL.md overview
Follow Quick Start - Composite
Generate JWT on server
Join your first session
Explore available features
Intermediate
Try Component Mode
Add event listeners
Customize theme
Add virtual backgrounds
Integrate with your framework
Advanced
Access underlying Video SDK
Subscribe to quality statistics
Handle all edge cases
Implement custom layouts
Build production-ready app
📋 Quick Reference Card
Minimal Working Example
import uitoolkit from "@zoom/videosdk-zoom-ui-toolkit";
import "@zoom/videosdk-ui-toolkit/dist/videosdk-zoom-ui-toolkit.css";
const config = {
videoSDKJWT: "YOUR_JWT",
sessionName: "test-session",
userName: "User",
featuresOptions: {
video: { enable: true },
audio: { enable: true }
}
};
uitoolkit.joinSession(document.getElementById("container"), config);
uitoolkit.onSessionJoined(() => console.log("Joined"));
uitoolkit.onSessionClosed(() => uitoolkit.destroy());Must-Remember Rules
✅ Always generate JWT server-side
✅ Always call
destroy()on cleanup✅ Always use React 18 (not 17/19)
✅ Always import CSS file
❌ Never expose SDK secret client-side
❌ Never skip
onSessionClosedcleanup❌ Never call components before
joinSession
📞 Support
Developer Forum: https://devforum.zoom.us/
Developer Support: https://developers.zoom.us/support/
Premier Support: https://explore.zoom.us/en/support-plans/developer/
Navigation: ← Back to SKILL.md
Environment Variables
See references/environment-variables.md for standardized
.envkeys and where to find each value.
Requirements and compatibility
Written for: Claude Code, Claude apps
Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta
“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.
Needs: Claude Code frontmatter, Needs Node.js
Security
No issues found by our static scan· No issues found
A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.
Attribution and licence
- Created by
- Zoom
- Publisher
- Anthropic (Official)
- Distributed by
- Anthropic
- Source
- anthropics/knowledge-work-plugins · partner-built/zoom-plugin/skills/ui-toolkit · commit e050c2e
- Licence
- MIT License (redistribution allowed)
- LICENSE (added by AutoGineer from partner-built/zoom-plugin/LICENSE)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
AutoGineer is not affiliated with or endorsed by Zoom or Anthropic.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download ui-toolkit-web.zip