import React, {useState} from "react"; import "../index"; import {Checkbox} from "../src/Components/Forms/Checkbox"; import { Radio } from "../src/Components/Forms/Radio"; import {AirTrafficControl, Basket, FloppyDisk, House, TrashSimple, XCircle} from "@phosphor-icons/react"; import {Card} from "../src/Components/Card"; import {PasswordInput} from "../src/Components/Forms/PasswordInput"; import {RequiredField} from "../src/Components/Forms/RequiredField"; import {Float} from "../src/Components/Floating/Float"; import {Tooltip} from "../src/Components/Floating/Tooltip"; import {DatepickerInput} from "../src/Components/Forms/DatepickerInput"; import {TimepickerInput} from "../src/Components/Forms/TimepickerInput"; import {Select} from "../src/Components/Select/Select"; import {SpinningLoader} from "../src/Components/Loaders/SpinningLoader"; import {ListLoader} from "../src/Components/Loaders/ListLoader"; import {GenericLoader} from "../src/Components/Loaders/GenericLoader"; import {MainMenu} from "../src/Components/Menus/MainMenu"; import {SubmenuFloat} from "../src/Components/Menus/SubmenuFloat"; import {Submenu} from "../src/Components/Menus/Submenu"; import {SubmenuItem, SubmenuItemSubmenu} from "../src/Components/Menus/SubmenuItem"; import {MainMenuItemSubmenu, MainMenuLink} from "../src/Components/Menus/MainMenuItem"; import {AppItem, AppLink, AppsMenu} from "../src/Components/Menus/AppsMenu"; import {Application} from "../src/Application/Application"; import {Outlet} from "react-router-dom"; export function DemoApp() { const [datetime, setDatetime] = useState(null); const [selected, setSelected] = useState(null); return ( Home Test Test 1 Test 2 Test A Test B First last choice Another last choice }> Submenu in submenu }> Submenu }> Submenu

KernelUI

TODO

Headings

Demo app

Second title

Third title

Fourth title

Fifth title
Sixth title

Buttons

A link button

Forms

Test password Date test Time test

Currently selected datetime: {datetime ? datetime.toISOString() : "none"}

Checkbox demo Radio box test Radio box test

HTML

Link test

Lorem ipsum dolor sit amet, consectetur adipiscing elit aleph. Donec accumsan pulvinar felis, vitae eleifend augue lacinia tempus. Integer nec iaculis ante. Duis a quam urna. Nullam tincidunt rutrum felis, a efficitur enim facilisis sit amet. Quisque dictum semper sagittis. Maecenas in orci hendrerit, tempor nunc non, tempus mi. Praesent blandit varius rutrum. Nullam quis mauris eros. Vestibulum commodo libero sed pellentesque pharetra. Donec eget fringilla ante. Aliquam id leo massa. Duis dictum nunc ut dolor iaculis malesuada. Nulla elementum justo a sem eleifend finibus. Phasellus bibendum elit nibh, at tempor odio efficitur id.

Steps

Step one

Step two

Step three

Lists

  1. One
  2. Two
  3. Three
  4. Four

Tables

Column 1 Column 2 Column 3
A B C D
Lorem Ipsum Dolor Amet
Foo Bar Baz John
Alice Bob Jack

Cards

Card title

Donec lobortis quam sapien, et efficitur dolor laoreet ut. Ut pretium, lacus at bibendum rutrum, nibh nibh scelerisque nisi, nec semper dolor turpis sed tortor. Nulla massa sapien, accumsan id vestibulum et, elementum eget metus. Morbi quis bibendum purus. Nunc at fermentum tortor. Quisque viverra diam in sem auctor blandit. Vestibulum dignissim bibendum nunc, non tristique quam sollicitudin eu. Ut feugiat lectus tellus, tempus viverra sapien aliquet vel. Morbi ac est mauris. Praesent facilisis ut tellus at cursus. Aenean placerat nulla non mi vulputate hendrerit. Praesent fermentum dui eu gravida pharetra. Quisque rhoncus, magna non congue egestas, leo lorem malesuada felis, eu imperdiet orci magna ultrices est.

Another small card

Popovers

I am focused}> You can add complex (clickable) content in me. )}>
()}> {(show, hide) => ( )}

Tooltips

This is a very simple tooltip.

Loaders

Simple loaders

Generic loader

Sample content.

Menus

Test 1 Test 2 Test A Test B }> Submenu } floatingOptions={{ placement: "right-start" }}>

App selectors

Home Test link Test 3
); }