Skip to main content
Glama
stats-simple.svelte1.21 kB
<!-- Last updated: 2025-11-06T05:40:53.471Z --> <!-- @description: A simple stats section displaying key metrics with descriptions. Based on Tailwind UI. @props: stats: Array<{ name: string, value: string }> - Array of stat objects. @theme_vars: --theme-bg-base (bg-white) --theme-text-base (text-gray-900) --theme-text-muted (text-gray-600) --> <script lang="ts"> export let stats: Array<{ name: string, value: string }> = [ { name: 'Transactions every 24 hours', value: '44 million' }, { name: 'Assets under holding', value: '$119 trillion' }, { name: 'New users annually', value: '46,000' }, ]; </script> <div class="bg-theme-bg-base py-24 sm:py-32"> <div class="mx-auto max-w-7xl px-6 lg:px-8"> <dl class="grid grid-cols-1 gap-x-8 gap-y-16 text-center lg:grid-cols-3"> {#each stats as stat} <div class="mx-auto flex max-w-xs flex-col gap-y-4"> <dt class="text-base/7 text-gray-600">{stat.name}</dt> {/* Themeable text-theme-text-muted */} <dd class="order-first text-3xl font-semibold tracking-tight text-gray-900 sm:text-5xl">{stat.value}</dd> {/* Themeable text-theme-text-base */} </div> {/each} </dl> </div> </div>

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/CaullenOmdahl/Tailwind-Svelte-Assistant'

If you have feedback or need assistance with the MCP directory API, please join our Discord server