Badge atana documentation leh entirnan, kan small count leh labeling component.
Entirna
emBadge te hian relative font sizing leh unit hmangin immediate parent element size nena inmil turin an scale thin .
Entirna thupui
Thar
Entirna thupui
Thar
Entirna thupui
Thar
Entirna thupui
Thar
Entirna thupui
Thar
Entirna thupui
Thar
Badge hi link emaw button emaw a tel angin counter siam nan hman theih a ni.
An hman dan azirin screen reader leh a ang chi assistive technology hmangtute tan chuan badge hi a buaithlak thei tih hre reng ang che. Badge-te styling hian an thil tum chu hmuh theiha a hriat theih laiin, heng hmangtute hian badge-a thu awmte chu an rawn present mai dawn a ni. Thil awm dân chiang tak a zirin, heng badge-te hi sentence, link, a nih loh leh button tâwpah random additional word emaw number emaw ang maiin a lang thei a ni.
Context a chiang loh chuan (“Notifications” entîrna ang bawkin, “4” chu notification awm zat a ni tih hriatthiam a nih chuan), thil dang hmuh theiha thup, thuziak belhchhah nêna thup dang dah belh chu ngaihtuah rawh.
Contextual danglamna hrang hrang
A hnuaia tarlan modifier class te hi add la, badge hmel thlak danglam rawh.
Hmasa berSecondary a niHlawhtlingHlauhawmVaulawknaInfoEngThim
Assistive technology-te hnena awmzia thlentu
awmzia belhchhah nan color hman hian hmuh theiha hriattirna chauh a pe a, chu chu assistive technology hmangtute hnenah a thlen dawn lo – screen reader ang chi te. Color hmanga tarlan information chu a thupui a\ang ngeia lang (entir nan, hmuh theih thuziak), a nih loh leh kawng dang hmanga telh a nih theih nan enfiah rawh, chu chu .sr-onlyclass nena thup belh thuziak ang chi a ni.
Pill badge te pawh a awm
.badge-pillBadge te chu round zawka siam turin modifier class hmang la ( border-radiushorizontal lian zawk leh additional nen padding). v3 atanga badge i miss chuan a tangkai hle.
Hmasa berSecondary a niHlawhtlingHlauhawmVaulawknaInfoEngThim
Link te pawh a awm
Element pakhata contextual .badge-*class hman hian <a>rang takin actionable badge te chu hover leh focus state te nen a pe thei a ni.