Skip to main content
Glama
page.tsx785 B
"use client"; import { motion } from "framer-motion"; export default function Animations() { return ( <div className="container mx-auto"> <h1>Animations</h1> <div className="flex gap-4"> <div className="bg-blue-500 h-20 w-20 opacity-100 transition-opacity duration-300 ease-out hover:opacity-50"> With CSS </div> <motion.div className="bg-blue-500 h-20 w-20" // Tailwind for styling initial={{ opacity: 0 }} // Start transparent animate={{ opacity: 1 }} // Fade to opaque whileHover={{ opacity: 0.5 }} // 50% opacity on hover transition={{ duration: 0.3, ease: "easeOut" }} // Match CSS timing > With Motion </motion.div> </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/metacode0602/open-mcp'

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