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

antd-distinct-system

v0.1.0

Published

A quiet, modern React component layer built on Ant Design v6.

Readme

Ant Distinct System

A modern React component layer built on Ant Design v6. It keeps AntD's behavior, accessibility, portals, keyboard support, and native motion while providing a quieter component API and a less enterprise-looking visual system.

Install

npm install antd antd-distinct-system

Import the complete static stylesheet once at your application entry point:

import "antd-distinct-system/styles.css";

Wrap the application:

import { DesignSystemProvider } from "antd-distinct-system";

export default function App() {
  return (
    <DesignSystemProvider mode="light">
      <YourApplication />
    </DesignSystemProvider>
  );
}

The provider enables AntD zeroRuntime, installs AntD's App context, and keeps portaled components inside the same design-system theme.

Complete AntD catalog

Every public AntD v6 component is available from this package, including:

import {
  Alert,
  Calendar,
  Checkbox,
  ColorPicker,
  DatePicker,
  Form,
  Menu,
  Pagination,
  Progress,
  Tabs,
  Timeline,
  Tooltip,
  Transfer,
  Tree,
  TreeSelect,
  Upload,
} from "antd-distinct-system";

Every visual component has an explicit wrapper in src/catalog. Base wrappers preserve AntD's exact API, refs, and compound statics while adding stable design-system marker classes. This includes General, Layout, Navigation, Data Entry, Data Display, and Feedback. See CATALOG.md for the complete coverage strategy.

Distinct components

import {
  Button,
  Card,
  CardContent,
  CardDescription,
  CardFooter,
  CardHeader,
  CardTitle,
  Dialog,
  FormField,
  Input,
  Select,
  Sheet,
} from "antd-distinct-system";
<Card>
  <CardHeader>
    <CardTitle>Invite a collaborator</CardTitle>
    <CardDescription>Give someone access to this workspace.</CardDescription>
  </CardHeader>
  <CardContent>
    <FormField label="Email address" required>
      <Input name="email" type="email" autoComplete="email" />
    </FormField>
  </CardContent>
  <CardFooter>
    <Button variant="outline">Cancel</Button>
    <Button>Send invitation</Button>
  </CardFooter>
</Card>

The distinct components intentionally provide our smaller product-focused API. When the original compound AntD API is needed, use the explicit escape hatches:

import {
  AntButton,
  AntCard,
  AntDrawer,
  AntDropdown,
  AntInput,
  AntModal,
  AntSelect,
  AntTable,
} from "antd-distinct-system";

<AntInput.Password />
<AntCard.Meta title="Original AntD compound API" />

Theme modes

Use mode="light", mode="dark", or mode="auto" on DesignSystemProvider. The provider applies the theme to body by default so Modal, Sheet, DropdownMenu, and Select portals remain styled. Set applyThemeToBody={false} when the host application manages these classes.

AntD underneath

These components intentionally delegate interaction and accessibility behavior to AntD. The package mirrors AntD's public exports, so consumers do not need a second component import path.

License

MIT