Skip to main content

Customize Meeting Icons

Dyte's UI Kit provides all the necessary UI components to allow complete customization of all its UI Kit components. You can customize your meeting icons such as chat, clock, leave meeting, mic on and off, and more.

Customizing the meeting icons involve the following steps:

  1. Integrate Dyte's web SDK into your web application
  2. Customize the default icon pack

Step 1: Integrate Dyte's web SDK into your web application

To get started with customizing the icons for your meetings, you need to first integrate Dyte's Web SDK into your web application.

  1. Install the package using npm or Yarn.
npm install @dytesdk/react-native-ui-kit @dytesdk/react-native-core @dyteinternals/react-native-webrtc
  1. Initialize the Dyte client using the useDyteClient() hook. It returns an array with two values, the meeting object and a function to initialize the meeting.
  2. Create a meeting room using the Create Meeting API.
  3. Generate an authToken using the Add Participant API. An authToken is a unique token that is used to identify a user in the meeting.
  4. Initialize the meeting using the initMeeting() method exposed by useDyteClient.
  5. Pass the meeting object to the UI Kit.

The DyteMeeting component generates the default UI experience. Read more about how to customize the UI here.

import { useDyteClient } from '@dytesdk/react-native-core';
import { DyteMeeting } from '@dytesdk/react-native-ui-kit';

function App() {
const [meeting, initMeeting] = useDyteClient();

useEffect(() => {
initMeeting({
authToken: '<auth-token>',
defaults: {
audio: false,
video: true,
},
});
}, []);

return <DyteMeeting meeting={meeting} />;
}

Step 2: Customize default icon pack

Now that you've integrated Dyte SDK into your application successfully, let's quickly understand how you can customize the icon set for your application.

Dyte's default icon set is available at icons.dyte.io. You can modify and generate your custom icon set from here.

In order to replace Dyte's default icon set with your own, you can pass the link to your icon set in the DyteMeeting component like so.

 <DyteMeeting meeting={meeting!} iconPackUrl="my-icon-pack.json" />;

IconPack Reference

Ƭ IconPack: typeof defaultIconPack

Icon Pack object type:

  • Object key denotes name of icon
  • Object value stores the SVG string

defaultIconPack

Const defaultIconPack: Object

Type declaration

NameType
attachstring
call_endstring
chatstring
checkmarkstring
chevron_downstring
chevron_leftstring
chevron_rightstring
chevron_upstring
clockstring
copystring
disconnectedstring
dismissstring
downloadstring
emoji_multiplestring
full_screen_maximizestring
full_screen_minimizestring
imagestring
image_offstring
join_stagestring
leave_stagestring
mic_offstring
mic_onstring
more_verticalstring
participantsstring
peoplestring
pinstring
pin_offstring
pollstring
recordingstring
rocketstring
searchstring
sendstring
settingsstring
sharestring
share_screen_personstring
share_screen_startstring
share_screen_stopstring
speakerstring
spinnerstring
spotlightstring
stop_recordingstring
subtractstring
vertical_scrollstring
vertical_scroll_disabledstring
video_offstring
video_onstring
wandstring
warningstring
wifistring