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

Function LoaderCards

src/showcase/ui-group/LoaderCards.tsx:113–133  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

111]
112
113export default function LoaderCards() {
114 return (
115 <div className="grid grid-cols-2 gap-4 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4">
116 {data
117 .filter((item) => !item.hide)
118 .map((item, i) => (
119 <Link href={item.link} key={i}>
120 {/* <div className="overflow group group rounded-xl border border-white ring-1 ring-zinc-200 transition-all ease-in-out hover:cursor-pointer">
121 <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]">
122 {item.component}
123 </div>
124 <div className="w-full p-4 text-sm font-medium text-gray-800">
125 {item.title}
126 </div>
127 </div> */}
128 <Card title={item.title}>{item.component}</Card>
129 </Link>
130 ))}
131 </div>
132 )
133}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected