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 🙏

© 2024 – Pkg Stats / Ryan Hefner

konui-svelte

v0.0.8

Published

⚠️ **Warning**: KonUI is currently in alpha and not recommended for production use. We are expecting to have a refined Beta available some time in the new year. Please expect missing features and significant changes.

Downloads

507

Readme

KonUI: A Svelte Component Library

⚠️ Warning: KonUI is currently in alpha and not recommended for production use. We are expecting to have a refined Beta available some time in the new year. Please expect missing features and significant changes.

Welcome to KonUI, your one-stop solution for building fast, responsive, and versatile UI components for Svelte applications. This library is designed to simplify development and empower you to focus on your application's core functionality. 🚀


⚠️ Missing Features

  • User Accessibility: Full accessibility support is not yet available.
  • Event Handling: Advanced event handling features are still in progress.
  • Svelte 4 Compatibility: Compatibility with Svelte 4 is not yet implemented.

📚 About the Library

KonUI provides a growing collection of reusable and customizable UI components, built specifically for Svelte. Each component is designed to:

  • Reduce development time.
  • Improve application consistency.
  • Enable seamless customization and integration.

Note: KonUI is currently in alpha and not recommended for production use.

⚡ Features

  • 30+ Prebuilt Components: From forms to charts, feedback to navigation.
  • JSON-Driven Configuration: Generate tables, forms, and charts dynamically from a single JSON object.
  • Built-In Theming: Quickly switch between light and dark modes or customize themes to match your brand.
  • Powered by D3.js: Interactive and data-driven visualizations with minimal configuration.
  • Responsive Design: Every component is designed to work across devices and screen sizes.

Note: This library is still under active development, and we recommend caution when using it in production applications.


📦 Installation

Install KonUI from NPM:

npm install konui-svelte

Note: KonUI is currently in alpha. Please do not use it in production environments.


🔧 Getting Started

Import KonUI into your Svelte project:

  1. Import the global styles into your application:

    <script>
      import 'konui-svelte/styles.scss';
    </script>
  2. Use components in your Svelte files:

    <script>
      import { Button, Table } from 'konui-svelte';
    </script>
    
    <Button label="Click Me!" />
    <Table
      label="User Data"
      value={[{ name: 'John Doe', email: '[email protected]' }]}
      group={[{ name: 'name', label: 'Name', variant: 'text' }, { name: 'email', label: 'Email', variant: 'email' }]}
    />

Note: Please note that this library is in alpha, and we do not recommend using it in production just yet.


🌟 Highlights

1. Form & Table Generation

Define your form or table layout with JSON, and KonUI generates it for you:

<Table
  label="User List"
  value=[
    { name: "Alice", email: "[email protected]" },
    { name: "Bob", email: "[email protected]" }
  ]
  group=[
    { name: "name", label: "Name", variant: "text" },
    { name: "email", label: "Email", variant: "email" }
  ]
/>

Note: This component is part of an alpha release. Avoid using it in production.

2. Charts

Effortlessly create charts with minimal configuration:

<PieChart
  data=[
    { label: "Apples", value: 40 },
    { label: "Oranges", value: 30 }
  ]
  title="Fruit Distribution"
/>

Note: Charts are still in development. We do not recommend using them in production environments at this time.

3. Customizable Buttons & Inputs

Easily customize button styles and input configurations:

<Button label="Save" variant="solid" color="success" />
<Input field={{ name: "email", label: "Email", variant: "email" }} value="[email protected]" />

Note: KonUI is in alpha and should not be used in production.


🔍 Documentation

Explore the full documentation and examples at svelte-face-processing-2.vercel.app.

Note: KonUI is under alpha development and not yet ready for production use.

Component Groups

  • Forms: Input, Button, Form, Table.
  • Charts: PieChart, BarChart, Heatmap, LineChart.
  • Navigation: Navbar, Sidebar, Breadcrumbs.
  • Feedback: Toast, Alert, Dialog.
  • Media: Audio, Carousel.
  • Content Display: Accordion, Modal, Card.

Each component comes with a clear API, examples, and customization options.


🛠️ Development Status

Alpha Version: KonUI is under active development and not recommended for production use yet. The first stable release is planned for early 2025. Stay tuned for updates!

Note: This library is in alpha. Please avoid using it in any production environment.


🤝 Contribution

We welcome contributions from the community. Feel free to:

  • Submit issues.
  • Suggest new components or features.
  • Open pull requests.

Repository

GitHub Repo

Note: KonUI is in alpha, and contributions are welcome to help us make it production-ready.


📄 License

KonUI is licensed under the MIT License.


🚀 Get Started Today!

Start building faster and smarter with KonUI. Visit svelte-face-processing-2.vercel.app for a live showcase of all components!

Note: KonUI is in alpha. We do not recommend using it in production just yet.