Accordion

Default Whatever Some Content The visual design includes features intended to help users understand that the accordion provides enhanced keyboard navigation functions. When an accordion header button has keyboard focus, the styling of the accordion container and all its header buttons is changed.
Multiple Whatever Some Content The visual design includes features intended to help users understand that the accordion provides enhanced keyboard navigation functions. When an accordion header button has keyboard focus, the styling of the accordion container and all its header buttons is changed.

Badge

Default
count="6"
theme="light"
theme="dark"

Button

Default Button
Button has text content Text Content
disabled="true" Button
disabled="false" Button
Has all attributes
fill="var(--tonic-accent)" Button
border-color, border-width, text-color Button
async="true" Button
async="false" Button
tabindex="0" Button
href and target target="_blank" target="_self" No target

Checkbox

Default
label="label"
checked="true"
disabled="true"
size="30px"
tabindex="0"
child elements This is a label!

Dialog

Default Dialog Open

Icon

Default Icon
size="40px"
fill="cyan"
symbol-id="custom_off"
tabindex="0"

Input

Default Input
value="I'm a value"
type="email"
required="true"
disabled="true"
spellcheck="false"
error-message="nope"
placeholder="test"
label="Label"
tabindex="0"
readonly="true"

Panel

Default Panel Open Panel
name="panel-name" Open Panel
overlay="true" Open Panel
position="right" Open Panel
position="left" Open Panel
background-color="rgba(255,255,255,0.8)" Open Panel
theme="light" Open Panel
theme="dark" Open Panel

Popover

Default Popover Open Popover
Item 1
Item 2
Item 3

Profile Image

Default Profile Image
id="profile-image-id"
name="profile-name"
src="/sampleprofile.jpg"
size="100px"
radius="50%"
border="3px solid black"
editable="true"
editable="false"
theme="light"
theme="dark"

Progress Bar

Default Progress Bar
Progress Bar (automatic with js)
Progress Bar - 30%
width="150px"
width="100%"
height="40px"
color="purple"
theme="light"
theme="dark"

Range

Default Range Input
id="range-id"
name="range-name"
disabled="true"
disabled="false"
width="100px"
width="100%"
height="10px"
height="100%"
radius="2px"
min="15"
max="120"
step="25"
label="%i%"
thumb-color="red"
thumb-radius="0px"
value="90"
js (value = 15)
theme="light"
theme="dark"

Router

Router examples Hello, World number prop has the value . 404

Select

Default Select
Empty Select
id="select-id"
name="select-name"
required="true"
required="false"
disabled="true"
disabled="false"
label="Label"
width="100%"
height="60px"
radius="8px"
value="c"
theme="light"
theme="dark"
multiple="true"
multiple="true", width="100%"
multiple="true", size="3"

Sprite

Sprite

Tabs

Default Tabs One Two Three Content One Content Two Content Three
Tabs with nesting One Two Three Whatever Some Content The visual design includes features intended to help users understand that the accordion provides enhanced keyboard navigation functions. When an accordion header button has keyboard focus, the styling of the accordion container and all its header buttons is changed. Content Three
Tabs inanother component One Two Three Whatever Some Content The visual design includes features intended to help users understand that the accordion provides enhanced keyboard navigation functions. When an accordion header button has keyboard focus, the styling of the accordion container and all its header buttons is changed. Content Three

Textarea

Default Textarea
With Content It was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness, it was the epoch of belief, it was the epoch of incredulity, it was the season of Light, it was the season of Darkness, it was the spring of hope, it was the winter of despair, we had everything before us, we had nothing before us, we were all going direct to Heaven, we were all going direct the other way—in short, the period was so far like the present period, that some of its noisiest authorities insisted on its being received, for good or for evil, in the superlative degree of comparison only.
id="textarea-id"
name="textarea-name"
placeholder="This is a placeholder"
resize="none"
spellcheck="true" fdsfds
spellcheck="false" fdsfds
disabled="true"
disabled="false"
required="true"
required="false"
readonly="true"
readonly="false"
autofocus="true"
autofocus="false"
rows="10"
cols="10"
minlength="10"
maxlength="100"
width="100%"
width="200px"
height="300px"
radius="10px"
theme="light"
theme="dark"

Toaster

Toaster w/ Type Success Success
Toaster w/ Type warning Warning
Toaster w/ Type danger Toast
Toaster w/ Type info Toast
Toaster w/ Title Toast
Toaster w/ Message Toast
Toaster w/ Title & Message Toast
Toaster w/ Type, Title & Message Toast
Toaster w/ dismiss Toast
Toaster w/out dismiss Toast
Toaster w/ dismiss w/ duration Toast
Toaster w/out dismiss w/ duration Toast
Toaster w/ left position Toast
Toaster w/ right position Toast
Toaster w/ theme light Toast
Toaster w/ theme dark Toast

ToasterInline

Default Inline Toaster Message
Toaster inline displayed initially
Displayed initially.
Toaster inline w/ title
Message
Toaster inline w/ inline HTML title
Toaster inline w/ message
Message
Toaster inline w/ message (initial)
Message
Toaster inline w/ title & message
Message
Toaster inline w/ innerHTML message (must be initial)
This is your message.
Toaster inline w/ type success
It's a success
Toaster inline w/ type warning
You've been warned.
Toaster inline w/ type danger
Watch out!
Toaster inline w/ type info
For your information
Toaster inline w/ type & title
Message
Toaster inline w/ type & message
Message
Toaster inline w/ type & title & message
Message
Toaster inline w/ duration
Message
Toaster inline w/out duration
Message
Toaster inline w/ dismiss w/ duration
Toaster inline w/out dismiss w/ duration
Message

Toggle

Default Toggle
tab-index="0"
label="label"
label="label"
id="toggle-3"
name="toggle-name"
disabled="true"
disabled="false"
checked="true"
checked="false"
checked="true", disabled="true"
theme="light"
theme="dark"
theme="dark", disabled="true"
theme="dark", checked="true", disabled="true"

Tooltip

Default tooltip Hover! Hello World
Default tooltip w/ image Hover!
width="400px" Hover! Hello World
height="250px" Hover! Hello World
theme="light" Hover! I am a light theme!
theme="dark" Hover! I am a dark theme!

Windowed

TBD