
Product
Introducing Repository Access Permissions and Custom Roles
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.
@airlst/live-events-styled-chat
Advanced tools
This component provides chat functionality with pre-configured styles.
Install it as package using either yarn or npm:
yarn add @airlst/live-events-styled-chat
// or
npm install @airlst/live-events-styled-chat
Import chat styles to your project's styles
@import '@airlst/live-events-styled-chat/dist/chat.css';
Additionally, you also need to install @airlst/live-events-headless-components package:
yarn add @airlst/live-events-headless-components
// or
npm install @airlst/live-events-headless-components
Import component in any page you want to use chat component.
Important: Because styled chat component is still part of headless components, it requires to be wrapper inside
BaseComponentfrom headless component. If you are already usingBaseComponentin a higher level components, like layout, you don't need to include it again.
Every chat instance needs to have alias. If you don't pass an alias, default "default" alias will be used.
Out-of-the-box chat component has multi-language support. But, this requires passing current selected language's chat related translations as translations property.
In the following example, we use Vue's i18n package, store all chat related translations in chat object and pass it directly to the component.
<template>
<div>
<base-component>
<chat-component
alias="my-chat-component"
:translations="$t('chat')"
/>
</base-component>
</div>
</template>
<script>
import BaseComponent from '@airlst/live-events-headless-components'
import ChatComponent from '@airlst/live-events-styled-chat'
export default {
components: {
BaseComponent,
ChatComponent
}
}
</script>
It is important to keep in mind that whenever chat component is mounted, it is tracking user's online state and receiving chat message, channel changes in the background.
If you want to enable/disable chat based on user interaction, make sure that you don't mount the component before user enables it and unmount it when user disables.
FAQs
Styled chat components for Live Events
We found that @airlst/live-events-styled-chat demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.

Product
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.