CopilotAnimation

Animated Copilot avatar/logo

Internal Component

This component is intended solely for use within GitHub and is not available for external use.

Props

CopilotAnimation

NameDefaultDescription
animationType Required
CopilotAnimationType

Select which animation to show. Note that this may not always update immediately - the component waits for any running animation to finish before switching to the new one.

loopAnimation Required
false
boolean

Control whether to loop the animation.

onAnimationEnd
() => void

Callback emitted when the animation ends. Is not called if loopAnimation is true.

size
32
number

The size of the animation. Cannot be smaller than 16. Suggested sizes are 16, 24, 32, 48, 64, 96, 128.

className
string
style
React.CSSProperties