@conference-kit/ui-vue
v0.0.5
Published
Vue 3 components for conferencing UIs. Presentational only—pair with state from `@conference-kit/vue`.
Readme
@conference-kit/ui-vue
Vue 3 components for conferencing UIs. Presentational only—pair with state from @conference-kit/vue.
Install
npm install @conference-kit/ui-vuePeer deps: Vue 3.4+, TailwindCSS 3.4+.
Components
ParticipantGrid,ParticipantTileRosterListControlBarChatPanelConnectionBadge(exported as default)
Each component accepts props mirroring the React UI kit (IDs, labels, media streams, connection status, handler callbacks).
Quick example
<script setup lang="ts">
import { ParticipantGrid, ConnectionBadge } from "@conference-kit/ui-vue";
const participants = [
{
id: "me",
label: "You",
stream: null,
connectionState: "connected",
isLocal: true,
},
];
const status = { signaling: "open", media: "ready", data: "ready" };
</script>
<template>
<div class="space-y-4">
<ConnectionBadge :status="status" />
<ParticipantGrid :participants="participants" />
</div>
</template>Build
npm run build