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

@dododog/ui

v0.2.1

Published

React UI component library for DodoDog — pet-friendly travel platform

Readme

@dododog/ui

React UI component library for DodoDog — the pet-friendly travel platform.

Built with React, TypeScript, Tailwind CSS, and class-variance-authority.

Installation

npm install @dododog/ui

Setup

Tailwind CSS

Add the DodoDog preset and content path to your tailwind.config.ts:

import type { Config } from "tailwindcss";
import dodododgPreset from "@dododog/ui/tailwind-preset";

const config: Config = {
  presets: [dodododgPreset],
  content: [
    "./src/**/*.{ts,tsx}",
    "./node_modules/@dododog/ui/dist/**/*.{js,mjs}",
  ],
};

export default config;

Usage

import { Button } from "@dododog/ui";
// or tree-shakeable deep import:
import { Button } from "@dododog/ui/button";

export default function App() {
  return <Button variant="primary">Book now</Button>;
}

Components

| Component | Import path | Description | |-----------|-------------|-------------| | Accordion | @dododog/ui/accordion | Expandable content sections | | Alert | @dododog/ui/alert | Informational alert banners | | Autocomplete | @dododog/ui/autocomplete | Input with suggestions dropdown | | Avatar | @dododog/ui/avatar | User avatar with fallback | | Badge | @dododog/ui/badge | Status and label badges | | Banner | @dododog/ui/banner | Promotional banners | | BottomNavBar | @dododog/ui/bottom-nav-bar | Mobile bottom navigation | | Breadcrumb | @dododog/ui/breadcrumb | Navigation breadcrumbs | | Button | @dododog/ui/button | Primary action button | | Card | @dododog/ui/card | Content card container | | CardList | @dododog/ui/card-list | List of cards layout | | Carousel | @dododog/ui/carousel | Image/content carousel | | Checkbox | @dododog/ui/checkbox | Checkbox input | | Counter | @dododog/ui/counter | Numeric counter with +/- | | DateRangePicker | @dododog/ui/date-range-picker | Date range selection | | DetailList | @dododog/ui/detail-list | Key-value detail list | | Divider | @dododog/ui/divider | Horizontal divider | | Drawer | @dododog/ui/drawer | Slide-out panel | | DropdownMenu | @dododog/ui/dropdown-menu | Dropdown menu | | DualRangeSlider | @dododog/ui/dual-range-slider | Range slider with two handles | | EmptyState | @dododog/ui/empty-state | Empty state placeholder | | ErrorBoundary | @dododog/ui/error-boundary | React error boundary | | FilterAccordion | @dododog/ui/filter-accordion | Collapsible filter groups | | FilterPill | @dododog/ui/filter-pill | Removable filter pill | | Footer | @dododog/ui/footer | Site footer | | GuestPicker | @dododog/ui/guest-picker | Guest count selector | | Header | @dododog/ui/header | Site header | | HotelCard | @dododog/ui/hotel-card | Hotel listing card | | IconBadge | @dododog/ui/icon-badge | Badge with icon | | ImageGallery | @dododog/ui/image-gallery | Image gallery grid | | ImageWithFallback | @dododog/ui/image-with-fallback | Image with fallback placeholder | | Input | @dododog/ui/input | Text input field | | Lightbox | @dododog/ui/lightbox | Fullscreen image viewer | | LinkCard | @dododog/ui/link-card | Clickable card with link | | LoadingOverlay | @dododog/ui/loading-overlay | Fullscreen loading overlay | | MegaMenu | @dododog/ui/mega-menu | Desktop mega menu | | MobileMenu | @dododog/ui/mobile-menu | Mobile navigation menu | | Modal | @dododog/ui/modal | Dialog modal | | Pagination | @dododog/ui/pagination | Page navigation | | PriceDisplay | @dododog/ui/price-display | Formatted price display | | ProgressBar | @dododog/ui/progress-bar | Progress indicator bar | | RadioGroup | @dododog/ui/radio-group | Radio button group | | Rating | @dododog/ui/rating | Star rating display | | SearchBar | @dododog/ui/search-bar | Search input bar | | SegmentedControl | @dododog/ui/segmented-control | Segmented toggle control | | Select | @dododog/ui/select | Select dropdown | | Sidebar | @dododog/ui/sidebar | Navigation sidebar | | Skeleton | @dododog/ui/skeleton | Loading skeleton placeholder | | Spinner | @dododog/ui/spinner | Loading spinner | | StatCard | @dododog/ui/stat-card | Statistics display card | | StatusBadge | @dododog/ui/status-badge | Status indicator badge | | Stepper | @dododog/ui/stepper | Step-by-step progress | | Switch | @dododog/ui/switch | Toggle switch | | Tabs | @dododog/ui/tabs | Tabbed content | | Tag | @dododog/ui/tag | Content tag | | Textarea | @dododog/ui/textarea | Multiline text input | | Toast | @dododog/ui/toast | Toast notifications | | Toggle | @dododog/ui/toggle | Toggle button | | Tooltip | @dododog/ui/tooltip | Hover tooltip | | VerticalMarquee | @dododog/ui/vertical-marquee | Vertical scrolling marquee |

Utilities

| Export | Import path | Description | |--------|-------------|-------------| | Tokens | @dododog/ui/tokens | Design tokens (colors, spacing, etc.) | | Tailwind Preset | @dododog/ui/tailwind-preset | Tailwind CSS preset with DodoDog theme | | Utils | @dododog/ui/utils | Utility functions (cn, etc.) |

Requirements

  • React >= 18
  • Tailwind CSS >= 3

License

MIT