Skip to main content
Glama
ScrollArea.vue710 B
<template> <div class="flex flex-col absolute inset-0"> <div v-if="$slots.top" class="shrink-0"> <slot name="top" /> </div> <div ref="scrollDivRef" :class=" clsx( 'overflow-auto flex-grow relative scroll-slot', hideScrollbar && 'scrollbar-hidden', ) " > <slot /> </div> <div v-if="$slots.bottom" class="shrink-0"> <slot name="bottom" /> </div> </div> </template> <script lang="ts" setup> import clsx from "clsx"; import { ref } from "vue"; defineProps({ hideScrollbar: { type: Boolean }, }); const scrollDivRef = ref<HTMLElement | null>(null); defineExpose({ scrollElement: scrollDivRef }); </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