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

@adaptive-ds/solid-ui

v0.15.1

Published

A library of reusable UI components for Solid.js projects. Built with TypeScript, Tailwind CSS, and Solid.js. Components are designed to be accessible, customizable, and easy to integrate.

Readme

Adaptive Solid UI

A library of reusable UI components for Solid.js projects. Built with TypeScript, Tailwind CSS, and Solid.js. Components are designed to be accessible, customizable, and easy to integrate.

npm version License: MIT Solid.js Tailwind CSS

Quick link

  • code - https://github.com/david1gp/astro-ui
  • npm - https://www.npmjs.com/package/@adaptive-ds/astro-ui
  • component demo - https://adaptive-solid-ui.pages.dev/

Features

  • Accessible Components: Built with accessibility in mind, following ARIA standards.
  • TypeScript Support: Fully typed for better developer experience.
  • Tailwind CSS Integration: Styled with Tailwind for easy customization.
  • Solid.js Optimized: Leverages Solid.js reactivity for performant UIs.
  • Modular Design: Import only the components you need.
  • Dark Mode Ready: Supports light and dark themes out of the box.

Installation

You can install the package metadata from npm:

bun add @adaptive-ds/solid-ui

Then download the UI source locally into your project:

bunx degit https://github.com/david1gp/solid-ui/ui ui

This is the recommended setup for two reasons:

  1. Some bundlers can end up pulling in duplicate solid-js instances when components are imported directly from node_modules.
  2. Keeping the components local makes them easy to tweak, restyle, and overwrite as your design evolves, in the same spirit as shadcn/ui.

Ensure you have the peer dependencies installed:

bun add solid-js clsx tailwind-merge valibot dayjs @solid-primitives/keyed @solid-primitives/scheduled @mdi/js

Setup: Tailwind CSS Configuration

To ensure Tailwind scans the library's source files for classes (since components are published as source without a build step), add the following @source directive to your project's src/layouts/tailwind.css (or equivalent global stylesheet):

@source '/node_modules/@adaptive-ds/solid-ui/export/**/*.{astro,html,md,mdx,ts,tsx}';

This tells Tailwind to include classes from the library's .tsx, .ts, and other relevant files in the purge process, preventing unused classes from being purged during the build. Without it, Tailwind might not detect classes used in imported components, leading to missing styles.

Recommended: Absolute Import Alias

It is recommended to expose your local UI folder through package.json imports, so component imports stay stable and pleasant to read.

{
  "imports": {
    "#ui/*.js": "./ui/*.ts",
    "#ui/*.jsx": "./ui/*.tsx",
    "#ui/*": "./ui/*"
  }
}

That gives you a clean absolute import path for your local components, while still keeping the source fully editable.

Usage Example

import { Button } from "@adaptive-ds/solid-ui/interactive/button/Button.tsx"
import { buttonVariant } from "@adaptive-ds/solid-ui/interactive/button/buttonCva"

function MyComponent() {
  return (
    <Button variant={buttonVariant.link} onClick={() => alert("Clicked!")}>
      Click Me
    </Button>
  )
}

Components

The library includes a variety of UI components organized by category:

Interactive

  • Button - Standard and icon buttons.
  • Link - Styled links and buttons.
  • Toggle - Toggle switches.
  • Dialog - Native dialogs.
  • Toast - Notification toasts.
  • Popover - Simple popovers.
  • Tabs - Tab navigation.

Input

Table

  • Table - Data tables with sorting, pagination, and filtering.
    • Table1: Basic table.
    • Table2: Sortable table.
    • Table3: Advanced table with search and pagination.

Static

  • Container - Layout wrappers and page containers.
  • Loader - Loading animations.
  • Pages - Error and success pages.
  • Img - Optimized image component.
  • Badge - Badge component.
  • Timeline - Timeline layout.

Utils

For detailed API and props, see the documentation or check the source in /lib.

Development

Setup

  1. Clone the repository:

    git clone https://github.com/david1gp/solid-ui.git
    cd solid-ui
  2. Install dependencies:

    bun install
  3. Run development server:

    bun run dev

Scripts

  • bun run dev: Start development server (Rsbuild).
  • bun run build: Build for production.
  • bun run vite:dev: Alternative dev server with Vite.
  • bun run generateDemoList: Generate demo list for components.
  • bun run publish: Publish to npm.

Project Structure

.
├── lib/                 # Source components
│   ├── interactive/     # Interactive elements (buttons, dialogs, etc.)
│   ├── input/           # Form inputs
│   ├── table/           # Data tables
│   ├── static/          # Static UI elements
│   ├── utils/           # Utility functions
│   └── types.d.ts       # Global types
├── src/                 # Demo app and examples
├── public/              # Static assets
├── package.json         # Dependencies and scripts
└── README.md            # This file

Contributing

  1. Fork the project.
  2. Create a feature branch (git checkout -b feature/AmazingFeature).
  3. Commit your changes (git commit -m 'Add some AmazingFeature').
  4. Push to the branch (git push origin feature/AmazingFeature).
  5. Open a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

For more information, visit the GitHub repository.