Skip to main content
Glama
heading.tsx•731 B
import clsx from 'clsx' type HeadingProps = { level?: 1 | 2 | 3 | 4 | 5 | 6 } & React.ComponentPropsWithoutRef< 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' > export function Heading({ className, level = 1, ...props }: HeadingProps) { let Element: `h${typeof level}` = `h${level}` return ( <Element {...props} className={clsx(className, 'text-2xl/8 font-semibold text-zinc-950 sm:text-xl/8 dark:text-white')} /> ) } export function Subheading({ className, level = 2, ...props }: HeadingProps) { let Element: `h${typeof level}` = `h${level}` return ( <Element {...props} className={clsx(className, 'text-base/7 font-semibold text-zinc-950 sm:text-sm/6 dark:text-white')} /> ) }

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/Nextjs-React-Tailwind-Assistant'

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