Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
import type { VariantProps } from 'class-variance-authority'
import type { ComponentProps } from 'react'
import { cn } from '@langgenius/dify-ui/cn'
import { cva } from 'class-variance-authority'
import { basePath } from '@/utils/var'
const difyLogoVariants = cva('block object-contain dark:brightness-0 dark:invert', {
variants: {
size: {
small: 'h-4 w-9',
medium: 'h-5.5 w-12',
large: 'h-7 w-16',
},
},
defaultVariants: {
size: 'medium',
},
})
export type DifyLogoProps = Omit<
ComponentProps<'img'>,
'alt' | 'height' | 'size' | 'src' | 'width'
> &
VariantProps<typeof difyLogoVariants> & {
alt: string
}
export function DifyLogo({ alt, className, size, ...props }: DifyLogoProps) {
const classes = cn(difyLogoVariants({ size, className }))
return (
<img
{...props}
src={`${basePath}/logo/logo.svg`}
width={48}
height={22}
className={classes}
alt={alt}
/>
)
}