@devries-cameron20 / composio Mirror · read-only
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 21, 03:37 UTC

next
tsx 27 lines 970 Bytes
Raw
1 import { ReactNode } from 'react';
2 import Link from 'next/link';
3
4 interface CapabilityCardProps {
5 icon: ReactNode;
6 title: string;
7 description: string;
8 href: string;
9 }
10
11 export function CapabilityCard({ icon, title, description, href }: CapabilityCardProps) {
12 return (
13 <Link
14 href={href}
15 data-card
16 className="block p-6 rounded-xl border border-fd-border bg-fd-card hover:border-blue-500 hover:bg-fd-accent/50 transition-all [text-decoration:none] group focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2"
17 >
18 <div className="text-blue-500 mb-3">{icon}</div>
19 <h3 className="text-lg font-semibold text-blue-500 mb-2">{title}</h3>
20 <p className="text-fd-muted-foreground text-sm leading-relaxed">{description}</p>
21 </Link>
22 );
23 }
24
25 export function CapabilityList({ children }: { children: ReactNode }) {
26 return <div className="flex flex-col gap-4">{children}</div>;
27 }