Skip to main content
Glama
NodeSkeleton.vue1.43 kB
<template> <svg :width="width" :height="height" viewBox="0 0 75 50" fill="none" xmlns="http://www.w3.org/2000/svg" :style="`color: ${color}`" :class="clsx(classes, 'flex-none')" > <path d="M0 3.99952C0 1.79038 1.79086 -0.000488281 4 -0.000488281H71C73.2091 -0.000488281 75 1.79037 75 3.99951V11.7018H0V3.99952Z" class="fill-current" /> <path d="M0.5 12.2008H74.5V45.9993C74.5 47.9323 72.933 49.4993 71 49.4993H4C2.067 49.4993 0.5 47.9323 0.5 45.9993V12.2008Z" class="stroke-current fill-white" /> <rect opacity="0.75" x="15" y="4" width="45" height="5" rx="1" fill="white" /> <rect opacity="0.75" x="15" y="19" width="45" height="5" rx="1" fill="#BDBDBD" /> </svg> </template> <script setup lang="ts"> import clsx from "clsx"; import { computed, PropType } from "vue"; export type NodeSkeletonSizes = "mini" | "standard"; const props = defineProps({ color: { type: String, required: true }, class: { type: String }, size: { type: String as PropType<NodeSkeletonSizes>, default: "standard" }, }); const classes = computed(() => props.class); const width = computed(() => { if (props.size === "mini") { return 25; } return 75; }); const height = computed(() => { if (props.size === "mini") { return 17; } return 50; }); </script>

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/systeminit/si'

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