Application Stats Title, value and themed growth stat Dark

Live Preview
<article
      class="flex items-end justify-between rounded-lg border border-gray-100 bg-white p-6 dark:border-gray-800 dark:bg-gray-900"
    >
      <div>
        <p class="text-sm text-gray-500 dark:text-gray-400">Profit</p>

        <p class="text-2xl font-medium text-gray-900 dark:text-white">$240.94</p>
      </div>

      <div
        class="inline-flex gap-2 rounded-sm bg-green-100 p-1 text-green-600 dark:bg-green-700 dark:text-green-50"
      >
        <svg
          xmlns="http://www.w3.org/2000/svg"
          class="size-4"
          fill="none"
          viewBox="0 0 24 24"
          stroke="currentColor"
        >
          <path
            stroke-linecap="round"
            stroke-linejoin="round"
            stroke-width="2"
            d="M13 7h8m0 0v8m0-8l-8 8-4-4-6 6"
          />
        </svg>

        <span class="text-xs font-medium"> 67.81% </span>
      </div>
    </article>

    <article
      class="flex items-end justify-between rounded-lg border border-gray-100 bg-white p-6 dark:border-gray-800 dark:bg-gray-900"
    >
      <div>
        <p class="text-sm text-gray-500 dark:text-gray-400">Profit</p>

        <p class="text-2xl font-medium text-gray-900 dark:text-white">$240.94</p>
      </div>

      <div
        class="inline-flex gap-2 rounded-sm bg-red-100 p-1 text-red-600 dark:bg-red-700 dark:text-red-50"
      >
        <svg
          xmlns="http://www.w3.org/2000/svg"
          class="size-4"
          fill="none"
          viewBox="0 0 24 24"
          stroke="currentColor"
        >
          <path
            stroke-linecap="round"
            stroke-linejoin="round"
            stroke-width="2"
            d="M13 17h8m0 0V9m0 8l-8-8-4 4-6-6"
          />
        </svg>

        <span class="text-xs font-medium"> 67.81% </span>
      </div>
    </article>

Related components

More items from the merged UI library.

View all