Atoms
Backdrop
Content (String):
Variants & examples
Button
Tag (String): button | a
Size (String): normal | small
Filled (Boolean): false | true
Weight (String): primary | secondary
Classes (String):
Content (String): Click me
Variant (String): normal | important | confirmation | inverted
Disabled (Boolean): false | true
Variants & examples
tag: button
tag: a
size: normal
size: small
filled: true
weight: primary
weight: secondary
variant: normal
variant: important
variant: confirmation
variant: inverted
disabled: true
Card
Tag (String): div
Content (String): This is an example card
Variant (String): default | highlighted
Variants & examples
tag: div
variant: default
variant: highlighted
Checkbox
Id (String): my-checbox
Name (String): my-checbox
Checked (Boolean): false | true
Disabled (Boolean): false | true
Variants & examples
id: my-checbox
name: my-checbox
checked: true
disabled: true
Chip
Tag (String): div
Content (String): Chip
Variant (String): default | clickable | selected | error | success | warning
Closable (Boolean): false | true
Variants & examples
tag: div
variant: default
variant: clickable
variant: selected
variant: error
variant: success
variant: warning
closable: true
Heading
Level (Integer): 1 | 2 | 3 | 4 | 5 | 6
Classes (String):
Content (String): I'm a heading
Variants & examples
level: 1
I'm a heading
level: 2
I'm a heading
level: 3
I'm a heading
level: 4
I'm a heading
level: 5
I'm a heading
level: 6
I'm a heading
Headline
Tag (String): h1
Content (String): I'm a headline
Variant (String): h1 | h2 | h3 | h4 | h5 | h6
Variants & examples
tag: h1
I'm a headline override
variant: h1
I'm a headline override
variant: h2
I'm a headline override
variant: h3
I'm a headline override
variant: h4
I'm a headline override
variant: h5
I'm a headline override
variant: h6
I'm a headline override
Icon
Name (String): plus | checkCircle | ...
Class (String): w-4 h-4
Variants & examples
{"name":"all","class":"w-10 h-10 p-2 m-2 inline-block"}
Input
Name (String): my-input
Type (String): text | email | password | search | tel | date | number | hidden
Value (String):
Classes (String):
Variant (String): normal | confirmation | error
Disabled (Boolean): false | true
Required (Boolean): false | true
Attributes (Hash): {}
Placeholder (String): Type here
Variants & examples
name: my-input
type: text
type: email
type: password
type: search
type: tel
type: date
type: number
type: hidden
variant: normal
variant: confirmation
variant: error
disabled: true
required: true
placeholder: Type here
Sidenote
Classes (String):
Content (String): I'm a sidenote
Variants & examples
Molecules
Input with button
Classes (String): w-1/2
Input params (Hash): {"name":"input","placeholder":"Type here"}
Button params (Hash): {"content":"Search","variant":"primary"}
Variants & examples
{"classes":"w-1/2","input_params":{"name":"input","placeholder":"Type here"},"button_params":{"content":"Search","variant":"primary"}}