Skip to main content
Glama
button.svelte651 B
<script lang="ts"> import { Button as ButtonPrimitive } from "bits-ui"; import { type Events, type Props, buttonVariants } from "./index.js"; import { cn } from "$lib/utils.js"; type $$Props = Props; type $$Events = Events; let className: $$Props["class"] = undefined; export let variant: $$Props["variant"] = "default"; export let size: $$Props["size"] = "default"; export let builders: $$Props["builders"] = []; export { className as class }; </script> <ButtonPrimitive.Root {builders} class={cn(buttonVariants({ variant, size, className }))} type="button" {...$$restProps} on:click on:keydown > <slot /> </ButtonPrimitive.Root>

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/jhawkins11/task-manager-mcp'

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