AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
TypeScript ai-agentai-agent-toolsai-agentsai-agents-frameworkmcpmcp-servermcp-toolsmcpsn8n-alternativeno-code-automationworkflowworkflow-automationworkflows
import { Separator as SeparatorPrimitive } from 'radix-ui';
import * as React from 'react';
import { cn } from '@/lib/utils';
function Separator({
className,
orientation = 'horizontal',
decorative = true,
...props
}: React.ComponentProps<typeof SeparatorPrimitive.Root>) {
return (
<SeparatorPrimitive.Root
data-slot="separator"
decorative={decorative}
orientation={orientation}
className={cn(
'shrink-0 bg-gray-6',
orientation === 'horizontal' ? 'h-px w-full' : 'h-full w-px',
className,
)}
{...props}
/>
);
}
function HorizontalSeparatorWithText({
className,
children,
}: HorizontalSeparatorWithTextProps) {
return (
<div className={cn('flex w-full flex-row items-center', className)}>
<div className="w-1/2 border" />
<span className="mx-2 text-sm">{children}</span>
<div className="w-1/2 border" />
</div>
);
}
export { Separator, HorizontalSeparatorWithText };
type HorizontalSeparatorWithTextProps = {
className?: string;
children: React.ReactNode;
};