<Indicator>
Component
<Indicator>
is a simple box layout component with built-in variants and indication states: disabled state and active state.
<Indicator>
Component<Indicator>
is a simple box layout component with built-in variants and indication states: disabled state and active state.
<Indicator>
ComponentThere are 2 ways to install <Indicator>
component into your react app project:
<Indicator>
Component<Indicator>
ComponentThe alternative appearances of the <Indicator>
layout without changing the <Indicator>
's functionality.
size
PropertyDefines the alternative size of the <Indicator>
.
The possible values are:
undefined
'sm'
'md'
'lg'
Here the preview:
theme
PropertyDefines the contextual theme of the <Indicator>
.
The possible values are:
undefined
'primary'
'secondary'
'success'
'info'
'warning'
'danger'
'light'
'dark'
Here the preview:
gradient
PropertyActivates a 3D mode of the <Indicator>
.
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 <Indicator>
.
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 <Indicator>
.
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 <Indicator>
.
The possible values are:
undefined
true
false
Here the preview:
The conditions of the <Indicator>
behavior or functionality.
enabled
PropertyDefines the enabled/disabled state of the <Indicator>
.
The possible values are:
undefined
true
false
Here the preview:
inheritEnabled
PropertyInfluences the <Indicator>
's disabled state by <ancestor enabled={false}>
.
The possible values are:
undefined
true
false
Here the preview:
active
PropertyDefines the current active state of the <Indicator>
.
The possible values are:
undefined
true
false
Here the preview:
inheritActive
PropertyInfluences the <Indicator>
's active state by <ancestor active={true}>
.
The possible values are:
undefined
true
false
Here the preview:
Because <Indicator>
is made from <Basic>
, so all properties from <Basic>
are inherited.
There are several variables of <Indicator>
you can customize. Changing the variables affects all <Indicator>
instance and other components that depend on <Indicator>
.
Here the exposed variables:
The example of accessing, modifying, & adding variables: