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

aiby-svelte-uikit

v1.0.6

Published

A library of Svelte 5 components

Readme

aiby-svelte-uikit

A library of reusable Svelte 5 components for building modern UI and logic-driven applications.

Features

  • Collection of UI and logic components for Svelte 5 projects
  • CLI tool for easy project setup and component integration
  • Optional banner template for quick project scaffolding
  • Modular and customizable component structure
  • TypeScript support for type safety

Installation

Install the library globally or use it via npx for project setup:

npm install -g aiby-svelte-uikit

Or run directly with npx:

npx aiby-svelte-uikit [project-name]

Usage

Creating a New Project

To create a new project with the library, run:

npx aiby-svelte-uikit my-project

This will:

  1. Create a new directory named my-project (if a project name is provided)
  2. Prompt you to choose whether to use the standard banner template
  3. Ask for paths to install UI and logic components (defaults to src/components/ui and src/components)
  4. Allow you to select UI and logic components to add to your project
  5. Copy the selected components to the specified directories
  6. Install dependencies if the banner template is used

Adding Components to an Existing Project

To add components to an existing Svelte project, navigate to your project directory and run:

npx aiby-svelte-uikit

This will:

  1. Prompt for the directories where UI and logic components should be installed
  2. Display a list of available UI and logic components
  3. Copy the selected components to the specified directories

CLI Options

  • Project Name: Specify a project name to create a new directory (e.g., npx aiby-svelte-uikit my-project)
  • Banner Template: Choose to scaffold the project with a pre-configured Svelte banner template
  • Custom Paths: Define custom directories for UI and logic components

Example Workflow

# Create a new project named "my-app"
npx aiby-svelte-uikit my-app

# Follow the prompts:
# 1. Choose to use the banner template (recommended for new projects)
# 2. Specify directories for UI and logic components
# 3. Select components to add

# Navigate to the project
cd my-app

# Start the development server
npm run dev

Project Structure

After running the CLI, your project may look like this (if using the banner template):

my-app/
├── src/
│   ├── components/
│   │   ├── ui/               # UI components (e.g., Button, Card)
│   │   ├── [logic]/          # Logic components (e.g., FormHandler)
│   ├── app.svelte            # Main Svelte app
├── package.json
├── svelte.config.js

Requirements

  • Svelte: ^5.0.0 (peer dependency)
  • Node.js: >= 20.x

Available Components

The library includes UI and logic components. Run the CLI to see the full list of available components.

UI Components

  • Located in src/components/ui
  • Examples: Buttons, Cards, Modals, etc.

Logic Components

  • Located in src/components
  • Examples: Form handlers, state managers, etc.

Development

To contribute or modify the library:

  1. Clone the repository
  2. Install dependencies:
    npm install
  3. Build the library:
    npm run build

License

MIT License. See the LICENSE file for details.