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

@flare-im/vue-ui

v1.0.6

Published

Flare IM UI Kit — Vue 3 + Naive UI component library for chat (conversation list, message list/bubble, composer, media, business cards). L1 web implementation, driven by core observable views + @flare-im/tokens.

Readme

@flare-im/vue-ui

Shared Vue 3 + TypeScript + Naive UI presentation layer for Flare IM example apps (Web, Electron, Tauri, uni-app H5).

Not an SDK runtime. Components receive view-state props and emit intents; example apps map intents to FlareImClient / platform-specific raw clients.

Install

npm i @flare-im/vue-ui

@flare-im/tokens 会作为依赖自动装上。Vue 3 与 Naive UI 是 peer dependencies, 需要宿主工程自行安装(见下方 Peer dependencies)。

Exports

| Path | Contents | |------|----------| | . | Full barrel | | ./theme | Semantic tokens, CSS vars, Naive overrides | | ./i18n | zh-CN / en-US keys + useFlareI18n | | ./contracts | View-state types (conversation row, message content, layout) | | ./composables | useFlareAdaptive, useViewport, useFlareWorkbenchUi, message menu interaction | | ./components | FlareWorkbenchShell, FlareUiProvider, conversations, messages, composer, diagnostics, auth | | ./style.css | Workbench shell, auth, chat, composer, diagnostics, responsive layout CSS | | ./app | Optional workbench components, SDK context helpers, and platform adapter hooks | | ./sdk-lab | Lazy-loadable SDK Lab component for example apps | | ./app/style.css | CSS for the optional workbench components |

Source layout

| Path | Role | |------|------| | src/design-system/ | Product foundations: provider, theme runtime, generated tokens, shared CSS foundations | | src/components/ | Public reusable IM components grouped by product surface | | src/app/ | Optional workbench building blocks: components/, SDK context, runtime adapters, and page-level state | | src/shared/ | Cross-cutting contracts, i18n, config, constants, tests | | src/composables/ | Public Vue composition APIs for host apps and shared components | | src/utils/ | Public UI/data formatting helpers |

Usage

<script setup lang="ts">
import { FlareUiProvider, FlareConversationList, FlareConversationRow } from "@flare-im/vue-ui/components";
import "@flare-im/vue-ui/style.css";
</script>

<template>
  <FlareUiProvider layout-mode="auto">
    <FlareConversationList :items="rows" active-id="c1">
      <template #item="{ item, active }">
        <FlareConversationRow :item="item" :active="active" @select="onSelect" />
      </template>
    </FlareConversationList>
  </FlareUiProvider>
</template>

Peer dependencies

  • vue ^3.5
  • naive-ui ^2.44

Design boundary

This package owns product UI foundations and reusable interaction surfaces only. Host apps own App.vue, router creation, route guards, URL shape, runtime transport, login credentials, native shell adapters, and final SDK lifecycle bootstrapping.