MCPcopy Create free account
hub / github.com/SyntaxUI/syntaxui / ButtonCards

Function ButtonCards

src/showcase/ui-group/ToggleCards.tsx:43–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41]
42
43const ButtonCards = () => {
44 return (
45 <div>
46 <div className="grid grid-cols-2 gap-4 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4">
47 {data.map((item, i) => (
48 <Link href={item.link} key={i} className="no-underline">
49 {/* <div className="overflow group group rounded-xl border border-white ring-1 ring-zinc-200 transition-all ease-in-out hover:cursor-pointer">
50 <div className="flex h-[9rem] items-center justify-center overflow-hidden rounded-t-xl border-b bg-gray-50 text-xs text-gray-400 transition-all ease-in-out group-hover:bg-gray-100 md:h-[12rem]">
51 {item.component}
52 </div>
53 <div className="w-full p-4 text-sm font-medium text-gray-800">
54 {item.title}
55 </div>
56 </div> */}
57 <Card title={item.title}>{item.component}</Card>
58 </Link>
59 ))}
60 </div>
61 </div>
62 )
63}
64
65export default ButtonCards

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected