Skip to Content
DocumentationRanking

Ranking

Displays a ranking table composed of atomic sub-components.

Examples

Default

#
Tema e foco
Instituições
Questões
Desempenho
Ação
1
CardiologiaInsuficiência Cardíaca
Foco Medbrain
?
?
?
10 respondidas
90% de acertos9 de 10 acertos
2
CardiologiaHipertensão Arterial Sistêmica
?
?
?
10 respondidas
60% de acertos6 de 10 acertos
3
NeurologiaEpilepsia
?
?
?
3 respondidas
Mínimo não atingidoFaltam 3 questões
4
PneumologiaAsma
?
?
?
Não iniciado
Não iniciado

API

Ranking

PropertyTypeDescription
childrenReactNodeContent of the ranking table.
classNamestringAdditional CSS classes.

RankingHeader

PropertyTypeDescription
childrenReactNodeHeader row content.
classNamestringAdditional CSS classes.

RankingHeaderCell

PropertyTypeDescription
childrenReactNodeCell content.
tooltipstringOptional tooltip text displayed on hover via an info icon.
highlightbooleanWhen true, wraps the content in a circular badge background. Typically used for the rank number column.

RankingBody

PropertyTypeDescription
childrenReactNodeTable body content. Should contain RankingItem elements.
classNamestringAdditional CSS classes.

RankingItem

PropertyTypeDescription
childrenReactNodeRanking row content. Should contain the column sub-components.
classNamestringAdditional CSS classes.

RankingNumber

PropertyTypeDescription
childrenReactNodeThe rank number displayed inside a circular badge.

RankingTopicColumn

PropertyTypeDescription
childrenReactNodeColumn content. Typically contains RankingTopicContent and optionally RankingSuperFocus.

RankingTopicContent

PropertyTypeDescription
childrenReactNodeTopic text content. Typically contains RankingSpecialty and RankingTopic.

RankingSpecialty

PropertyTypeDescription
childrenReactNodeSpecialty name displayed above the topic name.

RankingTopic

PropertyTypeDescription
childrenReactNodeTopic name displayed as the primary label.

RankingSuperFocus

PropertyTypeDescription
childrenReactNodeBadge label text. Renders a gradient tag indicating a highlighted focus.

RankingAssigneesColumn

PropertyTypeDescription
childrenReactNodeColumn content. Typically contains RankingAssigneeLabel and/or RankingAssigneeGroup.

RankingAssigneeLabel

PropertyTypeDescription
childrenReactNodeOptional label text rendered above the assignee avatars.

RankingAssigneeGroup

PropertyTypeDescription
childrenReactNodeGroup of avatar items. Should contain RankingAssigneeItem elements.

RankingAssigneeItem

PropertyTypeDescription
srcstringURL of the avatar image.
altstringAlt text for the avatar image.
fallbackstringFallback text displayed when the image fails to load. Defaults to "?".
tooltipReactNodeOptional tooltip content displayed on hover over the avatar.

RankingPriority

PropertyTypeDescription
childrenReactNodePriority label rendered inside a soft tag.
iconReactElementOptional icon displayed inside the priority tag.

RankingQuestions

PropertyTypeDescription
questionsnumberTotal number of questions available. Used to compute the progress bar fill.
answerednumberNumber of questions answered so far. When answered === 0, displays a “Not started” state instead of a progress bar.

RankingPerformance

PropertyTypeDescription
answerednumberNumber of questions answered. When answered === 0, displays a “Not started” state.
correctnumberNumber of correct answers. Used alongside answered to display the accuracy subtitle (e.g. "9 of 10 correct").
minQuestionsnumberMinimum number of questions required to evaluate performance. When answered < minQuestions, displays a “Minimum not reached” warning state with the remaining question count.

RankingButton

PropertyTypeDescription
childrenReactNodeButton label text.
onClick() => voidClick handler. Triggers when the user clicks the action button.
Last updated on