npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@advanced-chat/components

v3.0.0-alpha.0

Published

A beautiful chat component library made with Vue

Readme

vue-advanced-chat

vue-advanced-chat is a customizable chat UI project built for real-world applications.

It provides rooms, messages, media attachments, audio, reactions, formatting, themes, and flexible UI composition while staying backend-agnostic.

Features

  • Backend agnostic chat UI
  • Rooms list and active conversation layout
  • Text, files, media, audio, reactions, and reply flows
  • Typing indicators, unread states, and message actions
  • Light, dark, and auto theme modes
  • Localization support
  • Flexible component composition for custom integrations

Demo

  • Live demo: https://advanced-chat.github.io/vue-advanced-chat
  • Sandbox integrations: https://github.com/advanced-chat/vue-advanced-chat-sandbox

Installation

For the stable public package:

npm install vue-advanced-chat

Usage

If you are using the stable public package, use the documentation on the main branch.

This develop branch is the in-progress Vue 3 + TypeScript rewrite. It currently builds the next library surface as:

npm install @advanced-chat/components

Example rewrite usage:

import { createApp } from 'vue'
import App from './App.vue'

import { AdvancedChatPlugin } from '@advanced-chat/components'
import '@advanced-chat/components/styles'

const app = createApp(App)

app.use(
  AdvancedChatPlugin({
    strings: {
      'chats.search.placeholder': 'Search conversations',
    },
  }),
)

app.mount('#app')
<script setup lang="ts">
import { AdvancedChat } from '@advanced-chat/components'
import type { Chat, Message, User } from '@advanced-chat/components'

const currentUser: User = {
  id: 1,
  name: 'Alice',
  status: { state: 'online' },
}

const chats: Chat[] = [
  {
    id: 1,
    name: 'General',
    users: [currentUser],
  },
]

const messages: Message[] = [
  {
    id: 1,
    sender: currentUser,
    content: 'Hello world',
    createdAt: new Date().toISOString(),
  },
]
</script>

<template>
  <AdvancedChat
    :user="currentUser"
    :chats="chats"
    :chat="chats[0]"
    :messages="messages"
    height="600px"
    theme="light"
  />
</template>

Project Status

This repository currently has two main tracks:

  • main: the stable 2.x line and the package most users should rely on today
  • develop: the in-progress rewrite for the next major version

If you need the production-ready package and stable documentation, use main.

If you are contributing to the rewrite, use develop.

Rewrite Exports

Components

  • AdvancedChat
  • Chats
  • ChatsSearch
  • ChatsItem
  • Chat
  • ChatHeader
  • ChatFooter
  • ChatMessage
  • Message
  • MessageTemplate
  • MessageReply
  • MessageFile
  • MessageFiles
  • MessageActions
  • MessageReactions
  • MediaPreview
  • AudioPlayer
  • AudioControl
  • EmojiPicker
  • Loader
  • ProgressBar
  • SvgIcon

Types

  • Chat
  • ChatReference
  • Message
  • MessageReference
  • MessageFile
  • User
  • UserReference
  • Action
  • Id

Development

npm ci

Use Node 22.14.0 or newer when working on the V3 package and release workflow.

Run Storybook:

npm run storybook

Build the library:

npm run build

Run type checks:

npm run type-check

Run the full verification suite:

npm run verify

Build Storybook:

npm run build-storybook

Format source files:

npm run format

Check formatting without mutating files:

npm run format:check

Lint source files without mutating them:

npm run lint

Contributing

Contributions are welcome.

If you are working on develop:

  • keep changes aligned with the typed component API in src/components
  • add or update Storybook stories for component work
  • use main as the behavioral reference when porting existing features
  • avoid presenting rewrite-only APIs as if they are already the stable public interface

For V3 release process and publication rules, see RELEASING.md.

Notes

  • This repository is public and should stay clear for users, contributors, and maintainers.
  • The stable public npm package remains vue-advanced-chat.
  • The rewrite branch currently uses @advanced-chat/components in local package metadata as part of the migration work.

License

This project is licensed under the MIT License.