Installing <Indicator> Component

There are 2 ways to install <Indicator> component into your react app project:

  • Install the Specific Package of <Indicator> Component
  • Install the Whole Reusable-UI Component Pack, including the <Indicator> Component

Variant Properties

The alternative appearances of the <Indicator> layout without changing the <Indicator>'s functionality.

size Property

Defines the alternative size of the <Indicator>.

The possible values are:

  • undefined
  • 'sm'
  • 'md'
  • 'lg'

Here the preview:

Preview
An <Indicator> with sm size
An <Indicator> with md size
An <Indicator> with lg size

Show code

theme Property

Defines the contextual theme of the <Indicator>.

The possible values are:

  • undefined
  • 'primary'
  • 'secondary'
  • 'success'
  • 'info'
  • 'warning'
  • 'danger'
  • 'light'
  • 'dark'

Here the preview:

Preview
An <Indicator> with primary theme
An <Indicator> with secondary theme
An <Indicator> with success theme
An <Indicator> with info theme
An <Indicator> with warning theme
An <Indicator> with danger theme
An <Indicator> with light theme
An <Indicator> with dark theme

Show code

gradient Property

Activates a 3D mode of the <Indicator>.

The possible values are:

  • undefined
  • 'inherit'
  • true
  • false

Here the preview:

Preview
An <Indicator> with gradient mode
An <Indicator> with gradient mode
An <Indicator> with gradient mode
An <Indicator> with gradient mode
An <Indicator> with gradient mode
An <Indicator> with gradient mode
An <Indicator> with gradient mode
An <Indicator> with gradient mode

Show code

outlined Property

Activates an outlined mode (background-less, contrast foreground, and contrast border) of the <Indicator>.

The possible values are:

  • undefined
  • 'inherit'
  • true
  • false

Here the preview:

Preview
An <Indicator> with outlined mode
An <Indicator> with outlined mode
An <Indicator> with outlined mode
An <Indicator> with outlined mode
An <Indicator> with outlined mode
An <Indicator> with outlined mode
An <Indicator> with outlined mode
An <Indicator> with outlined mode

Show code

mild Property

Activates a mild mode (mild background, contrast foreground, and contrast border) of the <Indicator>.

The possible values are:

  • undefined
  • 'inherit'
  • true
  • false

Here the preview:

Preview
An <Indicator> without mild mode
An <Indicator> without mild mode
An <Indicator> without mild mode
An <Indicator> without mild mode
An <Indicator> without mild mode
An <Indicator> without mild mode
An <Indicator> without mild mode
An <Indicator> without mild mode

Show code

nude Property

Activates an nude mode (background-less, padding-less, and border-less) of the <Indicator>.

The possible values are:

  • undefined
  • true
  • false

Here the preview:

Preview
An <Indicator> with nude mode
An <Indicator> with nude mode
An <Indicator> with nude mode
An <Indicator> with nude mode
An <Indicator> with nude mode
An <Indicator> with nude mode
An <Indicator> with nude mode
An <Indicator> with nude mode

Show code

State Properties

The conditions of the <Indicator> behavior or functionality.

enabled Property

Defines the enabled/disabled state of the <Indicator>.

The possible values are:

  • undefined
  • true
  • false

Here the preview:

Preview
An <Indicator> with disabled state
An <Indicator> with disabled state
An <Indicator> with disabled state
An <Indicator> with disabled state
An <Indicator> with disabled state
An <Indicator> with disabled state
An <Indicator> with disabled state
An <Indicator> with disabled state

Show code

inheritEnabled Property

Influences the <Indicator>'s disabled state by <ancestor enabled={false}>.

The possible values are:

  • undefined
  • true
  • false

Here the preview:

Preview
An <Indicator> with inherit enabled
An <Indicator> with inherit enabled
An <Indicator> with inherit enabled
An <Indicator> with inherit enabled
An <Indicator> with inherit enabled
An <Indicator> with inherit enabled
An <Indicator> with inherit enabled
An <Indicator> with inherit enabled

Show code

active Property

Defines the current active state of the <Indicator>.

The possible values are:

  • undefined
  • true
  • false

Here the preview:

Preview
An <Indicator> with active state
An <Indicator> with active state
An <Indicator> with active state
An <Indicator> with active state
An <Indicator> with active state
An <Indicator> with active state
An <Indicator> with active state
An <Indicator> with active state

Show code

inheritActive Property

Influences the <Indicator>'s active state by <ancestor active={true}>.

The possible values are:

  • undefined
  • true
  • false

Here the preview:

Preview
An <Indicator> with inherit active
An <Indicator> with inherit active
An <Indicator> with inherit active
An <Indicator> with inherit active
An <Indicator> with inherit active
An <Indicator> with inherit active
An <Indicator> with inherit active
An <Indicator> with inherit active

Show code

Variables

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:

  • Animations

The example of accessing, modifying, & adding variables:

Show code