Variables
Table-list regarding the use of foundation
Radius
Button Radius Rules
Button has 3 radius variant. default
radius is used for button size lg
and md
. sm
radius is used for button size sm
and xs
radius is for button size xs
.
Size | Default | Pills |
---|---|---|
large | default | full |
normal | default | full |
small | sm | full |
xsmall | xs | full |
Label Radius Rules
Label has 4 radius variant. default
radius is used form label size lg
, sm
radius is used for label size md
, xs
radius is used for label size sm
and tn
radius is for label size tn
.
Size | None | Default | Pills |
---|---|---|---|
large | none | default | full |
medium | none | sm | full |
small | none | xs | full |
tiny | none | tn | full |
Badge Radius Rules
Badge use full
radius.
Size | Pills |
---|---|
normal | full |
Card Radius Rules
Card use md
radius.
Size | Default |
---|---|
normal | md |
Other Radius Rules
Normal size of some component are use none
(no-radius) or default
radius.
Size | None | Default |
---|---|---|
normal | none | default |
Component Sizing
Avatar
Avatar has 5 size variant, there are xl
, lg
, md
, sm
and xs
. Default size is md
Size | Default State |
---|---|
Xlarge | |
Large | |
Medium | Default |
Small | |
Xsmall |
Button
Button has 4 size variant, there are lg
, md
, sm
and xs
. Default button size is md
Size | Default State |
---|---|
Large | |
Medium | Default |
Small | |
Xsmall |
Label
Label has 4 size variant, there are lg
, md
, sm
and xs
. The default size of label is md
Size | Default State |
---|---|
Large | |
Medium | Default |
Small | |
Xsmall |
Modal Dialog
Modal has 4 different size, namely lg
, md
, sm
and xs
. Default modal size is md
Size | Default State |
---|---|
Large | |
Medium | Default |
Small | |
Xsmall |
Input
Input has 4 size variant, there are lg
, md
, sm
and xs
. The default size of input is md
Size | Default State |
---|---|
Large | |
Medium | Default |
Small | |
Xsmall |
Box Shadow
Type | sm | md | lg | xl | 2xl |
---|---|---|---|---|---|
Button | v | ||||
Card | v | v | |||
Dropdown | v | ||||
Modal | v | ||||
Toast | v | ||||
Tooltip | v | ||||
Tour | v |
Button
Button is using shadow lg
for hover
state.
Card
Default Card is no-shadow, then in callout
variant is using shadow sm
. Card in Calendar
is using shadow xl
.
Dropdown
Dropdown is using shadow xl
Modal
Modal use shadow 2xl
Toast
Toast is using shadow xl
Tooltip
Tooltip use shadow sm
Tour
Tour is using shadow sm
Z-Index
Some components that have fixed and absolute positions are given z-index values to sort their layer hierarchies.
Name | Value | Component |
---|---|---|
z-dropdown | 1020 | Dropdown |
z-sticky | 1030 | Navbar & Sidebar |
z-fixed | 1040 | Navbar & Sidebar |
z-modal | 1050 | Modal & Sheet |
z-dialog | 1050 | Dialog |
z-overlay | 1060 | Overlay |
z-tooltip | 1070 | Tooltip |
z-tour-backdrop | 1080 | Tour backdrop |
z-tour | 1085 | Tour |
z-toast | 1090 | Toast |