All Projects → novacbn → kahi-ui

novacbn / kahi-ui

Licence: MIT license
Straight-forward Svelte UI for the Web

Programming Languages

Svelte
593 projects
SCSS
7915 projects
typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to kahi-ui

carbon-components-svelte
Svelte implementation of the Carbon Design System
Stars: ✭ 1,615 (+855.62%)
Mutual labels:  svelte-components, svelte, typescript-definitions, component-library, design-system, ui-library
Carbon Components Svelte
Svelte implementation of the Carbon Design System
Stars: ✭ 685 (+305.33%)
Mutual labels:  svelte, component-library, design-system, ui-library
Daisyui
⭐️ ⭐️ ⭐️ ⭐️ ⭐️  Tailwind Components
Stars: ✭ 382 (+126.04%)
Mutual labels:  css-framework, ui-kit, design-system, ui-library
design-systems
A list of famous design systems, design languages and guidelines
Stars: ✭ 403 (+138.46%)
Mutual labels:  ui-kit, component-library, design-system, ui-library
s-date-range-picker
📅 A date range picker built with Svelte
Stars: ✭ 13 (-92.31%)
Mutual labels:  svelte-components, svelte, sveltejs
Svelte Materialify
A Material UI Design Component library for Svelte heavily inspired by vuetify.
Stars: ✭ 351 (+107.69%)
Mutual labels:  svelte, ui-kit, component-library
svelte-material
Modular and customizable Material Design UI components for Svelte.js
Stars: ✭ 30 (-82.25%)
Mutual labels:  svelte-components, svelte, sveltejs
fa-svelte
Font Awesome 5 for svelte.js
Stars: ✭ 72 (-57.4%)
Mutual labels:  svelte-components, svelte, sveltejs
React95
🌈🕹 Refreshed Windows 95 style UI components for your React app
Stars: ✭ 4,877 (+2785.8%)
Mutual labels:  ui-kit, component-library, design-system
focus-svelte
focus lock for svelte
Stars: ✭ 18 (-89.35%)
Mutual labels:  svelte-components, svelte, sveltejs
sugui
UI Components library based on React, Styled Components and React Testing Library
Stars: ✭ 17 (-89.94%)
Mutual labels:  ui-kit, design-system, ui-library
Aksara Ui
Aksara Design System, from Kata.ai.
Stars: ✭ 107 (-36.69%)
Mutual labels:  ui-kit, component-library, design-system
Svelte Material Ui
Svelte Material UI Components
Stars: ✭ 2,081 (+1131.36%)
Mutual labels:  svelte-components, svelte, sveltejs
Vitamin Web
Decathlon Design System libraries for web applications
Stars: ✭ 70 (-58.58%)
Mutual labels:  ui-kit, design-system, ui-library
svelte-progressbar
A multiseries, SVG progressbar component made with Svelte
Stars: ✭ 85 (-49.7%)
Mutual labels:  svelte-components, svelte, sveltejs
svelteit
Svelteit is a minimalistic UI/UX component library for Svelte and Sapper projects
Stars: ✭ 64 (-62.13%)
Mutual labels:  css-framework, svelte, component-library
svelte-headlessui
Unofficial Svelte port of Headless UI components
Stars: ✭ 564 (+233.73%)
Mutual labels:  svelte-components, svelte, sveltejs
mijin
Tailwind CSS UI components build for Vue.js / Nuxt.js
Stars: ✭ 168 (-0.59%)
Mutual labels:  ui-kit, component-library, ui-library
UUI
React-based components and accelerators library built by EPAM Systems.
Stars: ✭ 90 (-46.75%)
Mutual labels:  ui-kit, design-system, ui-library
ui-svelte
A component library for Svelte
Stars: ✭ 18 (-89.35%)
Mutual labels:  svelte-components, svelte, sveltejs

Kahi UI Logo

Straight-forward Svelte UI for the Web


Latest Release NPM Package MIT License Github Stars Chat


WARNING: This library is a work-in-progress, use at your own discretion!

Features

  • Svelte-first: All Components are API designed to work well with Svelte as a first-class citizen.
  • Typescript Native: Kahi UI tries to be fully typed by using TypeScript as its base language, so you get a complete IDE experience.
  • Progressive Enhancements: Where possible, most logic is codified via CSS / HTML directly. With Javascript-enabled UX enhancements enabled for compatible clients.
  • Composable: While 30+ prebuilt Components are available, Kahi UI also provides primitives to design your Web Application's UI without touching CSS.
  • Dark Mode: Components in Kahi UI change colors when a compatible Browser views w/ Dark Mode.
  • Framework Independent: Even though Svelte-first, there is no hard toolchain dependencies required. You can just take the built CSS files and use with React or in a traditional SSR environment.

Documentation

Looking for documentation source? Visit github.com/kahi-framework/kahi-ui.nbn.dev.

Visit the documentation at kahi-ui.nbn.dev.

Playground

Want to just mess around and share Kahi UI creations? Visit the playground at kahi-ui.nbn.dev/playground.

F.A.Q.

Visit the F.A.Q (frequently asked questions) at kahi-ui.nbn.dev/docs/resources/faq.

Need Help?

File a new issue or visit the official Discord Server.

Want to Contribute?

Visit the CONTRIBUTING.md for information on getting started.

Browser Support

  • Chrome 88+ — January 2021
  • Edge 88+ — January 2021
  • Firefox 84+ — December 2020
  • Safari 14.1+ — April 2021
  • Edge (Pre Chromium)UNSUPPORTED
  • Internet Explorer — UNSUPPORTED

Installation

Open your terminal and install via npm:

npm install @kahi-ui/framework

Usage

Step 1 — First if your toolchain supports it, import the required CSS files from @kahi-ui/framework/dist:

// For non-minified:
import "@kahi-ui/framework/dist/kahi-ui.framework.css";
import "@kahi-ui/framework/dist/kahi-ui.theme.default.css";

// For minified:
import "@kahi-ui/framework/dist/kahi-ui.framework.min.css";
import "@kahi-ui/framework/dist/kahi-ui.theme.default.min.css";

Otherwise download the required CSS files from Releases and use <link rel="stylesheet">:

<html>
    <head>
        <!-- For non-minified: -->
        <link rel="stylesheet" href="/path/to/kahi-ui.framework.css" />
        <link rel="stylesheet" href="/path/to/kahi-ui.theme.default.css" />

        <!-- For minified: -->

        <link rel="stylesheet" href="/path/to/kahi-ui.framework.min.css" />
        <link rel="stylesheet" href="/path/to/kahi-ui.theme.default.min.css" />
    </head>
</html>

Step 2 — Next, import Components by their variable name from @kahi-ui/framework:

<script>
    import {Button, Text} from "@kahi-ui/framework";

    let clicks = 0;

    function on_click(event) {
        clicks++;
    }
</script>

<Text>{clicks}</Text>
<Button on:click={on_click}>Add +1</Button>

Some Components are multi-part patterns, so you'll need to import their namespaces:

<script>
    import {Button, Card, Text} from "@kahi-ui/framework";
</script>

<Card.Container>
    <Card.Figure>
        <img src="/path/to/card/header/image.png" />
    </Card.Figure>

    <Card.Header>
        Lorem Ipsum
    </Card.Header>

    <Card.Section>
        <Text>
            Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin et consectetur orci.
            Curabitur a egestas turpis, vitae convallis sapien. Sed pellentesque rutrum tellus, in
            iaculis dolor tincidunt non. Orci varius natoque penatibus et magnis dis parturient
            montes, nascetur ridiculus mus.
        </Text>
    </Card.Section>

    <Card.Footer>
        <Button palette="affirmative">Open Details</Button>
    </Card.Footer>
</Card.Container>

Resources

If looking for resources like templates and community projects, visit the resources list at kahi-ui.nbn.dev/docs/resources/official.

License

Kahi UI is licensed under the MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].