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

@turbo-agent/daisyui-prompt-kit

v0.1.3

Published

A DaisyUI-based React component library for AI chat interfaces

Readme

@turbo-agent/daisyui-prompt-kit

A DaisyUI-native React component library for building AI chat interfaces.

Based on prompt-kit by @ibelick, rebuilt with DaisyUI 5 and Tailwind CSS 4.

Why

The original prompt-kit uses shadcn/ui and Radix primitives. This version provides the same components using DaisyUI classes and Tailwind utilities, so DaisyUI users can integrate AI chat UI without introducing a second design system.

Installation

npm install @turbo-agent/daisyui-prompt-kit
# or
pnpm add @turbo-agent/daisyui-prompt-kit

Peer Dependencies

npm install react react-dom tailwindcss daisyui @tailwindcss/typography @iconify/tailwind4 @iconify-json/lucide

All peer dependencies are required. Typography plugin provides prose classes used by Markdown/Message components; Iconify provides icons used throughout the library.

CSS Setup

Add the necessary plugins and source scanning to your global CSS file:

@import "tailwindcss";
@plugin "@iconify/tailwind4";
@plugin "@tailwindcss/typography";
@plugin "daisyui" {
  themes: light --default, dark --prefersdark;
}

/* Required: scan the library's JS files so Tailwind detects its utility classes */
@source "../node_modules/@turbo-agent/daisyui-prompt-kit/dist/**/*.js";

Import the library's custom styles (animations, keyframes, markdown formatting):

import '@turbo-agent/daisyui-prompt-kit/styles'

If you use math rendering (KaTeX), also import in your JS/TSX entry file:

import 'katex/dist/katex.min.css'

Important: The KaTeX CSS must be imported in JS/TSX, not via CSS @import, because PostCSS/Tailwind 4 cannot resolve bare Node module paths.

Note: The library does NOT ship Tailwind CSS or DaisyUI — it only ships ~3 KB of custom animations/keyframes. All utility classes are resolved by your project's own Tailwind build via the @source directive above.

Usage

import {
  ChatContainerRoot,
  ChatContainerContent,
  Message,
  MessageContent,
  PromptInput,
  PromptInputTextarea,
} from '@turbo-agent/daisyui-prompt-kit'

Components

21 components for AI chat interfaces:

| Category | Components | |----------|-----------| | Input | PromptInput, PromptSuggestion, FileUpload | | Message | Message, ChatContainer, ScrollButton, ResponseStream, Markdown, CodeBlock, Image, JSXPreview | | Agent | Reasoning, ChainOfThought, Steps, Tool, Source | | Feedback | FeedbackBar, SystemMessage | | Effect | Loader, TextShimmer, ThinkingBar |

Demo

Run the interactive demo to preview all components:

cd demo
pnpm install
pnpm dev

Opens at http://localhost:3005.

Each component page has a Preview / Code toggle so you can inspect the source directly.

LLM Documentation

A comprehensive component reference is provided for AI coding assistants:

  • File: llms-full.txt
  • In demo: Navigate to Docs → LLM Documentation in the sidebar (includes rendered view and download)

This file describes every exported component, its props, built-in styling, dependency requirements, and integration examples. Feed it to your AI assistant for accurate code generation.

Credits