Components

Reaction Button

A component that allows users to express reactions to content. Used to easily provide emotional feedback such as likes or interests.

Reaction Button cover image

Options Table

PropertyValuesDefault
sizexsmall, smallsmall
disabledtrue, falsefalse
loadingtrue, falsefalse
prefix iconicon
countnumber

Specification

base

StateSlotPropertyValue
enabledrootstrokeColor
strokeWidth
color
colorDuration
colorTimingFunction
labelcolor
fontWeight
countcolor
fontWeight
prefixIconcolor
progressCircletrackColor
rangeColor
pressedrootcolor
scaleScope
selectedrootcolor
strokeColor
strokeWidth
labelcolor
countcolor
prefixIconcolor
progressCircletrackColor
rangeColor
selected, pressedrootcolor
disabledrootcolor
strokeWidth
labelcolor
countcolor
prefixIconcolor
loadingrootcolor
selected, loadingrootcolor
strokeWidth

size=xsmall

StateSlotPropertyValue
enabledrootminHeight
cornerRadius
gap
paddingX
paddingY
prefixIconsize
labelfontSize
lineHeight
countfontSize
lineHeight
progressCirclesize
thickness

size=small

StateSlotPropertyValue
enabledrootminHeight
cornerRadius
gap
paddingX
paddingY
prefixIconsize
labelfontSize
lineHeight
countfontSize
lineHeight
progressCirclesize
thickness

Table of contents