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

@profplum700/etsy-admin-ui

v2.5.0

Published

Pre-built admin dashboard components for Etsy v3 API

Readme

@profplum700/etsy-admin-ui

Pre-built admin dashboard components for the Etsy v3 API. Build beautiful admin interfaces in minutes.

This package is based on the official Etsy OpenAPI specification (https://www.etsy.com/openapi/generated/oas/3.0.0.json), as referenced in Etsy's API documentation (https://developers.etsy.com/documentation/reference).

Installation

npm install @profplum700/etsy-admin-ui @profplum700/etsy-react @profplum700/etsy-v3-api-client

Features

  • Pre-built dashboard components
  • Responsive design
  • TypeScript support
  • Customizable styling
  • Dark mode ready
  • Zero dependencies (besides peer deps)

Quick Start

import React from 'react';
import { EtsyProvider } from '@profplum700/etsy-react';
import { EtsyClient } from '@profplum700/etsy-v3-api-client';
import {
  Layout,
  ShopDashboard,
  ListingManager,
  OrderFulfillment,
  InventoryTracker,
} from '@profplum700/etsy-admin-ui';

// Import default styles (optional)
import '@profplum700/etsy-admin-ui/dist/styles/default.css';

const client = new EtsyClient({
  apiKey: process.env.ETSY_API_KEY,
});

function App() {
  return (
    <EtsyProvider client={client}>
      <Layout
        header={<h1>My Shop Admin</h1>}
        sidebar={
          <nav>
            <a href="#dashboard">Dashboard</a>
            <a href="#listings">Listings</a>
            <a href="#orders">Orders</a>
            <a href="#inventory">Inventory</a>
          </nav>
        }
      >
        <ShopDashboard shopId="123" />
        <ListingManager shopId="123" />
        <OrderFulfillment shopId="123" />
        <InventoryTracker shopId="123" />
      </Layout>
    </EtsyProvider>
  );
}

Components

<Layout>

Main layout container with header, sidebar, and footer support.

<Layout
  header={<Header title="Shop Admin" />}
  sidebar={<Sidebar>{/* sidebar content */}</Sidebar>}
  footer={<footer>© 2025 My Shop</footer>}
>
  {/* main content */}
</Layout>

Props:

  • children - Main content
  • header - Header content
  • sidebar - Sidebar content
  • footer - Footer content
  • className - Additional CSS classes

<ShopDashboard>

Display shop overview with key statistics.

<ShopDashboard
  shopId="123"
  onError={(error) => console.error(error)}
/>

Props:

  • shopId (required) - The shop ID
  • className - Additional CSS classes
  • onError - Error callback

Features:

  • Shop title and name
  • Active listings count
  • Currency information
  • Shop status (open/vacation)
  • Shop announcement
  • Links to shop URL

<ListingManager>

Manage shop listings with filtering and actions.

<ListingManager
  shopId="123"
  onListingUpdate={(listing) => console.log('Updated:', listing)}
  onListingDelete={(id) => console.log('Deleted:', id)}
/>

Props:

  • shopId (required) - The shop ID
  • className - Additional CSS classes
  • onListingUpdate - Callback when a listing is updated
  • onListingDelete - Callback when a listing is deleted

Features:

  • Filter by state (active, inactive, draft, expired)
  • Grid view with images
  • Quick activate/deactivate
  • Delete listings
  • Load more pagination
  • Price and quantity display

<OrderFulfillment>

Track and manage orders with fulfillment actions.

<OrderFulfillment
  shopId="123"
  onOrderUpdate={(receipt) => console.log('Updated:', receipt)}
/>

Props:

  • shopId (required) - The shop ID
  • className - Additional CSS classes
  • onOrderUpdate - Callback when an order is updated

Features:

  • Filter by status (all, unpaid, unshipped)
  • Order details display
  • Buyer information
  • Payment and shipping status
  • Mark as paid/shipped actions
  • Buyer messages
  • Load more pagination

<InventoryTracker>

Monitor inventory levels with low stock alerts.

<InventoryTracker
  shopId="123"
  lowStockThreshold={5}
/>

Props:

  • shopId (required) - The shop ID
  • className - Additional CSS classes
  • lowStockThreshold - Threshold for low stock warning (default: 5)

Features:

  • Total inventory count
  • In stock, low stock, and out of stock counts
  • Low stock warnings
  • Out of stock alerts
  • Quick overview of inventory status

Layout Components

<Header>

Pre-styled header component.

<Header title="Shop Admin">
  <button>Settings</button>
</Header>

<Sidebar>

Sidebar container with navigation items.

<Sidebar>
  <SidebarItem label="Dashboard" active />
  <SidebarItem label="Listings" onClick={() => navigate('/listings')} />
  <SidebarItem label="Orders" href="/orders" />
</Sidebar>

<SidebarItem>

Individual sidebar navigation item.

<SidebarItem
  label="Dashboard"
  icon={<DashboardIcon />}
  active={true}
  onClick={() => {}}
  href="/dashboard"
/>

Styling

Using Default Styles

Import the default stylesheet:

import '@profplum700/etsy-admin-ui/dist/styles/default.css';

Custom Styling

All components use CSS classes with the etsy- prefix. You can override them:

.etsy-shop-dashboard {
  background: #f5f5f5;
  border-radius: 8px;
}

.etsy-btn {
  background: #your-brand-color;
}

.etsy-stat-card {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

CSS Variables

Customize the color scheme using CSS variables:

:root {
  --etsy-primary: #f56400;
  --etsy-secondary: #222222;
  --etsy-success: #00a651;
  --etsy-warning: #f9a825;
  --etsy-danger: #d32f2f;
  --etsy-info: #2196f3;
}

Dark Mode

Add dark mode support:

[data-theme="dark"] {
  --etsy-bg: #1a1a1a;
  --etsy-bg-secondary: #2a2a2a;
  --etsy-text: #ffffff;
  --etsy-text-secondary: #b0b0b0;
  --etsy-border: #404040;
}

Complete Example

import React, { useState } from 'react';
import { EtsyProvider } from '@profplum700/etsy-react';
import { EtsyClient } from '@profplum700/etsy-v3-api-client';
import {
  Layout,
  Header,
  Sidebar,
  SidebarItem,
  ShopDashboard,
  ListingManager,
  OrderFulfillment,
  InventoryTracker,
} from '@profplum700/etsy-admin-ui';
import '@profplum700/etsy-admin-ui/dist/styles/default.css';

const client = new EtsyClient({
  apiKey: process.env.ETSY_API_KEY,
});

function AdminApp() {
  const [activeView, setActiveView] = useState('dashboard');
  const shopId = 'YOUR_SHOP_ID';

  return (
    <EtsyProvider client={client}>
      <Layout
        header={
          <Header title="Shop Admin Dashboard">
            <button onClick={() => console.log('Settings')}>Settings</button>
          </Header>
        }
        sidebar={
          <Sidebar>
            <SidebarItem
              label="Dashboard"
              active={activeView === 'dashboard'}
              onClick={() => setActiveView('dashboard')}
            />
            <SidebarItem
              label="Listings"
              active={activeView === 'listings'}
              onClick={() => setActiveView('listings')}
            />
            <SidebarItem
              label="Orders"
              active={activeView === 'orders'}
              onClick={() => setActiveView('orders')}
            />
            <SidebarItem
              label="Inventory"
              active={activeView === 'inventory'}
              onClick={() => setActiveView('inventory')}
            />
          </Sidebar>
        }
      >
        {activeView === 'dashboard' && <ShopDashboard shopId={shopId} />}
        {activeView === 'listings' && <ListingManager shopId={shopId} />}
        {activeView === 'orders' && <OrderFulfillment shopId={shopId} />}
        {activeView === 'inventory' && <InventoryTracker shopId={shopId} />}
      </Layout>
    </EtsyProvider>
  );
}

export default AdminApp;

TypeScript Support

All components are fully typed with TypeScript.

import type {
  ShopDashboardProps,
  ListingManagerProps,
  OrderFulfillmentProps,
  InventoryTrackerProps,
  LayoutProps,
  HeaderProps,
  SidebarProps,
  SidebarItemProps,
} from '@profplum700/etsy-admin-ui';

Responsive Design

All components are mobile-responsive and adapt to different screen sizes automatically.

Browser Support

  • Modern browsers (Chrome, Firefox, Safari, Edge)
  • Mobile browsers (iOS Safari, Chrome Mobile)

License

MIT

Related Packages

Contributing

Contributions are welcome! Please see the main repository for guidelines.