Module Solidtype_heroui.Badge

HeroUI's Badge: a count or a status over the content it marks, with HeroUI's classes from Styles.Badge. Text it is given is its label's, as HeroUI's own wraps a string or a number; with nothing, it is a dot.

  <Badge.Anchor>
    <img src=avatar alt="" />
    <Badge color=`danger size=`sm>"5"</Badge>
  </Badge.Anchor>
module Anchor : sig ... end

What a badge is placed over, its first child the content it marks.

module Label : sig ... end

A badge's text, which a badge given text makes itself.

module Props : sig ... end