smrt
Open the smrt source on GitHub Switch to dark color scheme
← All UI components

Chat · Components

UserPresence

Online/offline status indicator with optional label.

Public export

typescript
import { UserPresence } from '@happyvertical/smrt-chat/svelte';
Import path
@happyvertical/smrt-chat/svelte
Props
2
Props described
2 of 2
Bindable state
0
Callback events
0
Verified release
0.62.10

Props

NameTypeRequiredDescription
status'online' | 'away' | 'dnd' | 'offline'YesCurrent presence status
showLabelbooleanNoWhether to show a text label next to the dot

Bindable state

This component has no bindable public state.

Callback events

This component declares no callback event props.

Examples and explanation