import React, {useState} from "react"; import "../index"; import {Checkbox} from "../src/Components/Forms/Checkbox"; import { Radio } from "../src/Components/Forms/Radio"; import {FloppyDisk, 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"; export function DemoApp() { const [datetime, setDatetime] = useState(null); return (

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

); }