<Basic>
Component
<Basic>
is a simple box layout component with built-in variants: sizes, themes, gradient, outlined, mild, and nude.
<Basic>
Component<Basic>
is a simple box layout component with built-in variants: sizes, themes, gradient, outlined, mild, and nude.
<Basic>
ComponentThere are 2 ways to install <Basic>
component into your react app project:
The alternative appearances of the <Basic>
layout without changing the <Basic>
's functionality.
size
PropertyDefines the alternative size of the <Basic>
.
The possible values are:
undefined
'sm'
'md'
'lg'
Here the preview:
theme
PropertyDefines the contextual theme of the <Basic>
.
The possible values are:
undefined
'primary'
'secondary'
'success'
'info'
'warning'
'danger'
'light'
'dark'
Here the preview:
gradient
PropertyActivates a 3D mode of the <Basic>
.
The possible values are:
undefined
'inherit'
true
false
Here the preview:
outlined
PropertyActivates an outlined mode (background-less, contrast foreground, and contrast border) of the <Basic>
.
The possible values are:
undefined
'inherit'
true
false
Here the preview:
mild
PropertyActivates a mild mode (mild background, contrast foreground, and contrast border) of the <Basic>
.
The possible values are:
undefined
'inherit'
true
false
Here the preview:
nude
PropertyActivates an nude mode (background-less, padding-less, and border-less) of the <Basic>
.
The possible values are:
undefined
true
false
Here the preview:
Because <Basic>
is made from <Generic>
, so all properties from <Generic>
are inherited.
There are several variables of <Basic>
you can customize. Changing the variables affects all <Basic>
instance and other components that depend on <Basic>
.
Here the exposed variables:
The example of accessing, modifying, & adding variables: