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

@arckit/daisyui

v1.1.2

Published

DaisyUI/Tailwind component library with primitives, blocks, headless utilities, icons, and theme support

Readme

@arckit/daisyui

DaisyUI/Tailwind component library with primitives, blocks, headless utilities, icons, and theme support.

npm version npm downloads bundle size codecov TypeScript

Table of Contents

A framework-agnostic React component library built on DaisyUI and Tailwind CSS. Components that need routing or image optimization use the asChild pattern (via @radix-ui/react-slot) to stay decoupled from any specific framework.

pnpm add @arckit/daisyui

Basic components (no framework dependency)

import { Button, Badge, Card, Input } from '@arckit/daisyui/primitives';

<Button color='btn-primary'>Submit</Button>
<Badge color='badge-info'>New</Badge>

Link with asChild (framework-agnostic)

import { Link } from '@arckit/daisyui/primitives';

// Plain HTML anchor (default)
<Link href='/about'>About</Link>

// With Next.js Link
import NextLink from 'next/link';

<Link href='/about' asChild>
  <NextLink>About</NextLink>
</Link>

ButtonLink with asChild

import { ButtonLink } from '@arckit/daisyui/primitives';
import NextLink from 'next/link';

<ButtonLink href='/dashboard' color='btn-primary' asChild>
  <NextLink>Dashboard</NextLink>
</ButtonLink>

Avatar with custom image

import { Avatar } from '@arckit/daisyui/primitives';
import Image from 'next/image';

// Plain HTML img (default)
<Avatar src='/photo.jpg' alt='User' />

// With Next.js Image via imageSlot
<Avatar
  src='/photo.jpg'
  alt='User'
  imageSlot={<Image src='/photo.jpg' alt='User' fill />}
/>

ItemCard with asChild

import { ItemCard, ItemCardHeader, ItemCardContent } from '@arckit/daisyui/blocks';
import NextLink from 'next/link';

<ItemCard href='/items/1' asChild>
  <NextLink>
    <ItemCardHeader withArrow>Item title</ItemCardHeader>
    <ItemCardContent>Description</ItemCardContent>
  </NextLink>
</ItemCard>

| Import | Contents | |--------|----------| | @arckit/daisyui | Everything | | @arckit/daisyui/primitives | Button, Link, ButtonLink, Avatar, Badge, Card, Input, Modal, Dropdown, Popover, Tooltip, ComboBox, SortableList, etc. | | @arckit/daisyui/blocks | Footer, Pagination, Breadcrumbs, ItemCard, SkipLinks, Toaster, ThemeChanger, PageHeader, EmptyState, etc. | | @arckit/daisyui/headless | CollapseController, useInjectableModal | | @arckit/daisyui/icons | Icon size constants | | @arckit/daisyui/theme | ThemeProvider | | @arckit/daisyui/utils | cn() classname utility (clsx + tailwind-merge) |

This library is framework-agnostic. Components that typically depend on a framework (Link, Image) use the asChild pattern to delegate rendering to the consumer.

For Next.js projects, you can create thin wrappers:

// your-app/components/link.tsx
import NextLink from 'next/link';
import { Link as DaisyLink, type LinkProps } from '@arckit/daisyui/primitives';

export const Link = (props: LinkProps) => (
  <DaisyLink asChild {...props}>
    <NextLink href={props.href}>{props.children}</NextLink>
  </DaisyLink>
);

See CONTRIBUTING.md for details.

MIT © Marc Gavanier