--- title: Realtime Avatar Stack description: Avatar stack in realtime preview: |- --- ## Installation ### Set up the Supabase client This block requires a Supabase client for Vue. If your project already has one, reuse it and update the block's imports to match your client. Otherwise, install the client: Configure the environment variables described in the [Vue client guide](/library/docs/vue/client#getting-started) before using the block. ### Install the block ## Usage The `RealtimeAvatarStack` component renders stacked avatars which are connected to Supabase Realtime. It uses the Presence feature of Supabase Realtime. You can use this to show currently online users in a chatroom, game session or collaborative app. ```vue ``` ## Props | Prop | Type | Default | Description | | ---------- | -------- | ------- | ---------------------------------------------------- | | `roomName` | `string` | `null` | The name of the Supabase Realtime room to connect to | ## Further reading - [Realtime Presence](https://supabase.com/docs/guides/realtime/presence) - [Realtime authorization](https://supabase.com/docs/guides/realtime/authorization) - [Getting started with Realtime](https://supabase.com/docs/guides/realtime/getting_started) - [Realtime limits](https://supabase.com/docs/guides/realtime/limits) - [Realtime message usage and billing](https://supabase.com/docs/guides/platform/manage-your-usage/realtime-messages) - [Row Level Security](https://supabase.com/docs/guides/database/postgres/row-level-security)