Skip to main content

Loader

Result
Loading...
Live Editor
<Loader/>

Props

CSS Variables

Root

VariableValue
--tipTop-Badge__borderWidth1px
--tipTop-Badge__borderRadiusvar(--tipTop__borderRadius--normal)
--tipTop-Badge__fontSizevar(--tipTop__fontSize--sm)
--tipTop-Badge__fontWeightvar(--tipTop__fontWeight--medium)
--tipTop-Badge__lineHeight1
--tipTop-Badge__minHeight1.25rem
--tipTop-Badge__minWidth1.25rem
--tipTop-Badge__paddingBlockvar(--tipTop__space--1)
--tipTop-Badge__paddingInlinevar(--tipTop__space--2)
--tipTop-Badge__displayinline-flex
--tipTop-Badge__alignItemscenter
--tipTop-Badge__justifyContentcenter
--tipTop-Badge__gapvar(--tipTop__space--1)
--tipTop-Badge__transitionbackground-color 0.15s ease-in-out, color 0.15s ease-in-out
--tipTop-Badge__textAligncenter
--tipTop-Badge__whiteSpacenowrap

Show Outline

VariableValue
--tipTop-Badge--showOutline__boxShadow0 0 0 2px #fff

Position

VariableValue
--tipTop-Badge--position__positionabsolute
--tipTop-Badge--position__zIndex10
--tipTop-Badge--position__transformtranslate(50%, -50%)

Variants

faded

change the background color

VariableValue
--tipTop-Badge--faded__bgColorMix-colorSpacesrgb
--tipTop-Badge--faded__bgColorMix-percent20%
--tipTop-Badge--faded__bgColorMix-blendColor#fff

Darken the text color over a faded background

VariableValue
--tipTop-Badge--faded__textColorMix-colorSpacesrgb
--tipTop-Badge--faded__textColorMix-percent65%
--tipTop-Badge--faded__textColorMix-blendColor#000

Slot

VariableValue
--tipTop-Badge-slot__displayinline-flex
--tipTop-Badge-slot__alignItemscenter
--tipTop-Badge-slot__justifyContentcenter

Slot Start

VariableValue
--tipTop-Badge-slotStart__marginInlineEndvar(--tipTop__space--1)

Slot End

VariableValue
--tipTop-Badge-slotEnd__marginInlineStartvar(--tipTop__space--1)

Children

VariableValue
--tipTop-Badge-children__displayinline-flex
--tipTop-Badge-children__alignItemscenter
--tipTop-Badge-children__justifyContentcenter