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

@atomchat.io/components-vue

v1.0.1

Published

ATOM Design System — Vue 3 component library

Readme

@atomchat.io/components-vue

ATOM Design System Vue 3 component library built with Composition API, TypeScript, and <script setup>.

Installation

pnpm add @atomchat.io/components-vue
# or
npm install @atomchat.io/components-vue
# or
yarn add @atomchat.io/components-vue

Requirements

  • Vue: ^3.4.0
  • @atomchat.io/css: Peer dependency (required for styles)

Usage

Import Components

<script setup lang="ts">
import { Button, Avatar, Checkbox } from '@atomchat.io/components-vue'
import '@atomchat.io/css' // Import CSS styles
</script>

<template>
  <Button variant="Primary" size="m" @click="handleClick">
    Click me
  </Button>

  <Avatar src="/user.jpg" alt="John Doe" size="m" badge="online" />

  <Checkbox v-model="isAccepted">
    I accept the terms
  </Checkbox>
</template>

Individual Imports (Tree-shaking)

import Button from '@atomchat.io/components-vue/atoms/Button'
import Avatar from '@atomchat.io/components-vue/atoms/Avatar'
import { Stack, Container } from '@atomchat.io/components-vue/layout'

TypeScript Support

All components are fully typed with TypeScript:

import type { ButtonProps, AvatarSize } from '@atomchat.io/components-vue'

const size: AvatarSize = 'm'

Available Components

✅ Atoms (3/17 implemented)

  • Button — Primary interactive component (6 variants, 5 sizes, loading state)
  • Checkbox — Form control with v-model support
  • Avatar — User profile images with fallback and badges

🚧 Atoms (In Progress)

  • Badge, Caption, Chip, Divider, Heading, IconButton, LabelText, LinkButton, Radio, Spinner, StatusIcon, Tag, Text, Toggle

🚧 Molecules (Pending)

  • AvatarGroup

🚧 Layout (Pending)

  • Container, Stack, Grid, Inline, Section, Center

Component Examples

Button

<Button variant="Primary" size="m">Primary Button</Button>
<Button variant="Secondary" :is-loading="true">Loading...</Button>
<Button variant="Destructive Primary" :is-disabled="true">Delete</Button>
<Button href="/about">Link Button</Button>

<!-- With icons -->
<Button variant="Primary">
  <template #iconLeft><PlusIcon /></template>
  Create New
</Button>

Avatar

<!-- Image avatar -->
<Avatar src="/user.jpg" alt="John Doe" size="m" badge="online" />

<!-- Initials avatar -->
<Avatar initials="JD" size="s" shape="square" />

<!-- Icon avatar -->
<Avatar type="icon" size="l" badge="verified">
  <template #icon><UserIcon /></template>
</Avatar>

Checkbox

<script setup>
import { ref } from 'vue'
const isAccepted = ref(false)
const selectAll = ref(false)
</script>

<template>
  <Checkbox v-model="isAccepted">
    Accept terms and conditions
  </Checkbox>

  <Checkbox v-model="selectAll" :is-indeterminate="someSelected">
    Select All
  </Checkbox>

  <Checkbox v-model="isDisabled" :is-disabled="true">
    Disabled Checkbox
  </Checkbox>
</template>

CSS Integration

This package depends on @atomchat.io/css for styling. All components use BEM-style CSS classes and CSS custom properties (tokens) from the design system.

Import CSS in your app entry:

// main.ts or App.vue
import '@atomchat.io/css'

Or import individual CSS files:

import '@atomchat.io/css/dist/components/button.css'
import '@atomchat.io/css/dist/components/avatar.css'

Animation Hooks

Components expose data-* attributes for integration with @atomchat.io/animations:

<!-- Button exposes data-button and data-hover-rotate -->
<button data-button data-hover-rotate>Click me</button>

<!-- Avatar exposes data-avatar -->
<span data-avatar data-size="m">...</span>

Development

# Install dependencies
pnpm install

# Build package
pnpm build

# Type check
pnpm typecheck

# Watch mode (development)
pnpm dev

Project Structure

src/
├── atoms/           # Atomic components (Button, Avatar, etc.)
├── molecules/       # Composite components (AvatarGroup, etc.)
├── layout/          # Layout primitives (Stack, Container, etc.)
├── composables/     # Shared Vue composables
├── types/           # TypeScript type definitions
├── utils/           # Utility functions
└── index.ts         # Main entry point

License

MIT

Links