Catalog Metrics

<.count>

ConnieUI.Metrics

Documents this month

1,432

HEEx
<div class="w-2xs">
  <ConnieUI.Metrics.count title="Documents this month" count={1432} />
</div>

Controls

:string
:integer
:string

Docs

Renders a metric count card. ## Options - `title` - The metric title (required) - `count` - The numeric value to display (required) - `color` - Optional color for bottom accent bar. Values: draft, pending, signed, rejected, expired, success, error, warning, brand. If nil, no accent bar is shown. Use the `inner_block` slot to add custom content like links or buttons. For a link button, use `ConnieUI.Buttons.button` with `color="link-gray"`.
Attribute Type Default Description
title * :string
count * :integer
color :string nil
Slot Slot attributes Description
inner_block