Faailoga
Fa'amaumauga ma fa'ata'ita'iga mo pine, o la tatou vaega la'ititi ma fa'ailoga.
Fua o pine e fetaui ma le tele o le elemene matua vave e ala i le faʻaogaina o le fua faʻatatau ma em
iunite.
E mafai ona fa'aoga pine e fai ma vaega o so'oga po'o fa'amau e maua ai se fata.
<button type="button" class="btn btn-primary">
Notifications <span class="badge badge-light">4</span>
</button>
Manatua e fa'atatau ile fa'aogaina, fa'ailoga e ono fenumiai mo tagata fa'aoga lau faitau mata ma isi tekonolosi fesoasoani tutusa. E ui o le fa'avasegaina o pine e maua ai se fa'aaliga vaaia e uiga i lo latou fa'amoemoe, o nei tagata fa'aoga o le a na'o le tu'uina atu i totonu o le pine. Fa'alagolago i le tulaga patino, o nei pine e ono foliga mai o ni upu fa'aopoopo fa'afuase'i po'o numera i le fa'ai'uga o se fuaiupu, so'oga, po'o se faamau.
Se'i vagana ua manino le talaaga (pei o le "Fa'asilasilaga" fa'ata'ita'iga, lea e malamalama ai o le "4" o le numera o fa'amatalaga), mafaufau e aofia ai fa'amatalaga fa'aopoopo ma se vaega o lo'o natia va'aia o tusitusiga fa'aopoopo.
<button type="button" class="btn btn-primary">
Profile <span class="badge badge-light">9</span>
<span class="sr-only">unread messages</span>
</button>
Fa'aopoopo so'o se vasega fa'aopoopo o lo'o ta'ua i lalo e sui ai foliga o se pine.
<span class="badge badge-primary">Primary</span>
<span class="badge badge-secondary">Secondary</span>
<span class="badge badge-success">Success</span>
<span class="badge badge-danger">Danger</span>
<span class="badge badge-warning">Warning</span>
<span class="badge badge-info">Info</span>
<span class="badge badge-light">Light</span>
<span class="badge badge-dark">Dark</span>
Tu'uina atu le uiga i tekinolosi fesoasoani
O le fa'aogaina o le lanu e fa'aopoopo ai le uiga e na'o se fa'aaliga va'aia, e le fa'ailoa atu i tagata fa'aoga o tekonolosi fesoasoani - e pei o le au faitau mata. Ia fa'amautinoa o fa'amatalaga o lo'o fa'ailogaina i le lanu e manino mai le anotusi lava ia (fa'ata'ita'iga o tusitusiga va'aia), pe fa'aofi mai i isi auala, e pei o tusitusiga fa'aopoopo natia i le .sr-only
vasega.
Fa'aoga le .badge-pill
vasega fa'aliliuga e fai ai pine sili ona lapotopoto (fa'atasi ai ma se fa'alava tele border-radius
ma fa'aopoopo padding
). E aoga pe a e misia pine mai le v3.
<span class="badge badge-pill badge-primary">Primary</span>
<span class="badge badge-pill badge-secondary">Secondary</span>
<span class="badge badge-pill badge-success">Success</span>
<span class="badge badge-pill badge-danger">Danger</span>
<span class="badge badge-pill badge-warning">Warning</span>
<span class="badge badge-pill badge-info">Info</span>
<span class="badge badge-pill badge-light">Light</span>
<span class="badge badge-pill badge-dark">Dark</span>
O le fa'aogaina o .badge-*
vasega fa'asinotonu i luga o se <a>
elemene e vave ona maua ai pine fa'atino fa'atasi ai ma tulaga fa'afefete ma taula'i.
<a href="#" class="badge badge-primary">Primary</a>
<a href="#" class="badge badge-secondary">Secondary</a>
<a href="#" class="badge badge-success">Success</a>
<a href="#" class="badge badge-danger">Danger</a>
<a href="#" class="badge badge-warning">Warning</a>
<a href="#" class="badge badge-info">Info</a>
<a href="#" class="badge badge-light">Light</a>
<a href="#" class="badge badge-dark">Dark</a>