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

@carsxe/design-system

v0.3.5

Published

Carsxe design system ??? shadcn/ui components themed to the Carsxe brand.

Readme

@carsxe/design-system

Carsxe design system — shadcn/ui components themed to the Carsxe brand. Ship consistent UI by installing this package; do not run shadcn add in your app.

Install

npm install @carsxe/design-system
pnpm add @carsxe/design-system
bun add @carsxe/design-system

Peer dependencies: react and react-dom (v19).

Load CSS

Import the theme once, near your app entry.

If your app already compiles Tailwind v4:

import "@carsxe/design-system/globals.css"

// This stylesheet does not bundle the fonts — import them so your bundler
// resolves and fingerprints the woff2 files itself.
import "@fontsource-variable/manrope"
import "@fontsource-variable/dm-sans"
import "@fontsource/dm-mono/300.css"
import "@fontsource/dm-mono/400.css"
import "@fontsource/dm-mono/500.css"

Otherwise import the prebuilt stylesheet, which is self-contained (fonts included):

import "@carsxe/design-system/styles.css"

Fonts are Manrope (UI, body, inputs), DM Sans (headings), and DM Mono (code). If you load them another way — next/font, for example — point --font-sans, --font-body, --font-heading, and --font-mono at your own families instead of importing the packages above.

Usage

Prefer the per-component import path:

import { Button } from "@carsxe/design-system/components/button"

export function Example() {
  return <Button>Get started</Button>
}

The package root also works:

import { Button, Card, Input } from "@carsxe/design-system"

Components

Accordion, Alert, Angle Slider, Avatar, Badge, Breadcrumb, Button, Card, Checkbox, Clipboard, Color Picker, Date Input, Dialog, Dropdown menu, Editable, Floating Panel, Format, Highlight, Image Cropper, Input, JSON Tree View, Label, Listbox, Marquee, Mega menu, Navigation menu, Number Input, Pagination, Password Input, Progress, QR Code, Radio group, Rating Group, Select, Separator, Signature Pad, Skeleton, Slider, Sonner, Steps, Swap, Switch, Table, Table of Contents, Tabs, Tags Input, Textarea, Timer, Tour, Tree View, Tooltip.

Each is available from @carsxe/design-system/components/<name>. Alert and Badge add success and warning variants on top of the usual shadcn set. Input has no size variant — use className (e.g. h-8) for compact heights.

The advanced components are Carsxe-owned implementations and do not depend on Ark UI or Zag. Interactive transitions use Motion and respect reduced-motion preferences. Components support controlled and uncontrolled state through value/defaultValue and onValueChange, or open/defaultOpen and onOpenChange where applicable.

Tour

const tour = useTour({
  steps: [
    { id: "welcome", type: "dialog", title: "Welcome" },
    { id: "search", target: "#search", title: "Search by VIN" },
  ],
})

return (
  <>
    <button onClick={(event) => tour.start(undefined, event.currentTarget)}>
      Start tour
    </button>
    <Tour tour={tour} />
  </>
)

Theming

Semantic tokens live on :root and .dark. Customize with CSS variables rather than forking components.

| Token | Light | | ----------------- | --------- | | --primary | #065774 | | --primary-hover | #387990 | | --foreground | #3A3A3A | | --background | #F9F9F9 | | --success | #00A63E | | --destructive | #DA373E | | --warning | #F79008 | | --radius | 0 |

--radius is 0, so corners are sharp; circular controls keep rounded-full. Enable dark mode by adding the dark class on an ancestor, usually <html>:

<html class="dark">

Guidelines

  • Do not run shadcn add in the consumer app — components ship from this package.
  • Do not copy component source into your app or wrap the primitives.
  • Customize with variant, size, className, and native element props.

License

MIT