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

next
tsx 20 lines 721 Bytes
Raw
1 import { cn } from '@/lib/utils';
2
3 /**
4 * Shared lifecycle badge for experimental docs pages and API schema fields.
5 * Spacing is caller-owned so it works both above a page title and inline with
6 * a field name.
7 */
8 export function ExperimentalBadge({ className }: { className?: string }) {
9 return (
10 <span
11 title="Experimental: these APIs may change in future releases"
12 className={cn(
13 'not-prose inline-flex w-fit items-center gap-1.5 rounded-md border border-amber-600/20 bg-amber-100 px-2 py-0.5 text-xs font-medium uppercase tracking-wide text-amber-700 dark:border-amber-500/25 dark:bg-amber-500/10 dark:text-amber-400',
14 className
15 )}
16 >
17 Experimental
18 </span>
19 );
20 }