Skip to content

Border Animation Settings

Open in ChatGPT Open in Claude

Determines whether animated border effects are enabled around the chat interface or agent widget. When active, borders smoothly transition between defined colors.

  • Type: boolean
  • Default Value: true

Defines the sequence of colors used for the border animation. The colors transition in order to create a dynamic visual effect.

  • Type: array
  • Default Value: ["#0054B6", "#ffffff"]
foldspace.agent('API-KEY').setConfiguration({
// Border animation settings
borderAnimationSettings: {
enableBorderAnimation: true,
borderColors: ["#0066FF", "#3B82F6", "#60A5FA"]
}
});