{# @description A small label, usually a status, a count or a tag. Shows text, then the default slot. #} {# @prop text:text | description:"Badge text, shown before the default slot." #} {# @prop variant:select['neutral','primary','secondary','accent','info','success','warning','error'] | description:"Colour variant. Leave empty for the default colour." #} {# @prop size:select['xs','sm','md','lg','xl'] | description:"Badge size." #} {# @prop outline:boolean | description:"Draw the badge as an outline." #} {# @prop dash:boolean | description:"Draw the badge with a dashed border." #} {# @prop soft:boolean | description:"Use the soft style." #} {# @prop ghost:boolean | description:"Draw the badge without a background." #} {# @prop class:text | description:"Extra classes added to the badge." #} {# @slot New — Content shown after the text. #} {% load daisy_cotton %} {{ text }}{{ slot }}