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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@actabldesign/bellhop-assets

v0.0.4

Published

Shared assets for Bellhop design system

Readme

Bellhop Assets

Shared assets library for the Bellhop design system, including avatars, illustrations, images, and logos.

Installation

npm install @actabldesign/bellhop-assets

Usage

Import Assets

Import assets directly from the package:

import { avatars, illustrations, logos, images } from '@actabldesign/bellhop-assets';

Direct Path Imports

You can also import assets using direct paths:

// Avatars
import avatar1 from '@actabldesign/bellhop-assets/avatars/avatar-1.svg';

// Illustrations
import welcomeIllustration from '@actabldesign/bellhop-assets/illustrations/welcome.svg';

// Logos
import logo from '@actabldesign/bellhop-assets/logos/logo.svg';

// Images
import heroImage from '@actabldesign/bellhop-assets/images/hero.png';

Available Assets

Avatars

User avatar illustrations and placeholders located in /avatars/:

  • Various avatar styles and variations
  • SVG format for optimal scaling
  • Consistent design language

Illustrations

Decorative illustrations for empty states, onboarding, and feature highlights located in /illustrations/:

  • Empty state illustrations
  • Onboarding graphics
  • Feature highlight visuals
  • All in SVG format

Logos

Bellhop brand logos in various formats located in /logos/:

  • Full color logo
  • Monochrome versions
  • Icon-only variants
  • Light and dark theme versions

Images

General purpose images and graphics located in /images/:

  • Hero images
  • Background graphics
  • General purpose imagery

Framework Integration

React

import { Button } from '@actabldesign/bellhop-react-components';
import avatar from '@actabldesign/bellhop-assets/avatars/avatar-1.svg';

function UserProfile() {
  return (
    <div className="profile">
      <img src={avatar} alt="User avatar" />
      <h2>John Doe</h2>
    </div>
  );
}

Angular

import { Component } from '@angular/core';

@Component({
  selector: 'app-user-profile',
  template: `
    <div class="profile">
      <img [src]="avatarSrc" alt="User avatar">
      <h2>John Doe</h2>
    </div>
  `
})
export class UserProfileComponent {
  avatarSrc = 'node_modules/@actabldesign/bellhop-assets/avatars/avatar-1.svg';
}

Using with CDN

For quick prototyping, you can use assets directly via URL:

<img src="https://esm.sh/@actabldesign/bellhop-assets/avatars/avatar-1.svg" alt="Avatar">

Asset Guidelines

File Formats

  • SVG: Vector graphics (avatars, illustrations, logos)
  • PNG: Raster images with transparency
  • JPG: Photographic images

Optimization

All assets are optimized for web use:

  • SVGs are minified and cleaned
  • Images are compressed
  • Appropriate formats chosen for each use case

Naming Convention

Assets follow a consistent naming pattern:

  • Lowercase with hyphens: avatar-1.svg
  • Descriptive names: welcome-illustration.svg
  • Version indicators when applicable: logo-v2.svg

Best Practices

Performance

// Lazy load images for better performance
import { lazy } from 'react';

const HeroImage = lazy(() => import('@actabldesign/bellhop-assets/images/hero.png'));

Accessibility

Always include descriptive alt text:

<img
  src={avatar}
  alt="User profile avatar showing a professional headshot"
/>

Responsive Images

Use appropriate sizes for different viewports:

<picture>
  <source
    media="(min-width: 768px)"
    srcSet={largeImage}
  />
  <img src={smallImage} alt="Description" />
</picture>

Development

Adding New Assets

  1. Place assets in the appropriate directory (avatars/, illustrations/, logos/, or images/)
  2. Follow the naming convention
  3. Optimize assets before committing
  4. Update the index.js export if needed

Building

npm run build:lib:assets

License

MIT