diff --git a/ui/litellm-dashboard/src/components/routing_groups/AnimatedStream.tsx b/ui/litellm-dashboard/src/components/routing_groups/AnimatedStream.tsx new file mode 100644 index 00000000000..0154df3a48b --- /dev/null +++ b/ui/litellm-dashboard/src/components/routing_groups/AnimatedStream.tsx @@ -0,0 +1,48 @@ +"use client"; +import React from "react"; + +interface AnimatedStreamProps { + /** SVG path d string */ + path: string; + color: string; + /** stroke-width in px */ + thickness: number; + animated?: boolean; +} + +export default function AnimatedStream({ path, color, thickness, animated = true }: AnimatedStreamProps) { + const dashLen = Math.max(8, thickness * 3); + const gapLen = Math.max(4, thickness * 2); + + return ( + + {/* Dim base */} + + {/* Glow */} + + {/* Animated dashes */} + + + + ); +}