@airbolt/react-sdk
    Preparing search index...

    Interface ChatWidgetProps

    interface ChatWidgetProps {
        baseURL?: string;
        className?: string;
        customStyles?: {
            button?: CSSProperties;
            header?: CSSProperties;
            input?: CSSProperties;
            messages?: CSSProperties;
            widget?: CSSProperties;
        };
        minimalTheme?: MinimalTheme;
        model?: string;
        placeholder?: string;
        position?: "inline"
        | "fixed-bottom-right";
        provider?: "openai" | "anthropic";
        streaming?: boolean;
        system?: string;
        theme?: "light" | "dark" | "auto";
        title?: string;
    }
    Index

    Properties

    baseURL?: string

    Base URL for the Airbolt API

    className?: string

    Additional CSS class name for custom styling

    customStyles?: {
        button?: CSSProperties;
        header?: CSSProperties;
        input?: CSSProperties;
        messages?: CSSProperties;
        widget?: CSSProperties;
    }

    Custom styles for widget elements

    minimalTheme?: MinimalTheme

    Minimal theme using CSS custom properties (recommended)

    model?: string

    Specific model to use (e.g., 'gpt-4', 'claude-3-5-sonnet-20241022')

    placeholder?: string

    Placeholder text for the input field

    position?: "inline" | "fixed-bottom-right"

    Position mode: inline (fits container) or fixed-bottom-right

    provider?: "openai" | "anthropic"

    AI provider to use: 'openai' or 'anthropic'

    streaming?: boolean

    Enable streaming responses (default: true) Set to false to disable streaming

    system?: string

    System prompt to guide the AI's behavior

    theme?: "light" | "dark" | "auto"

    Theme mode: light, dark, or auto (follows system preference)

    title?: string

    Title displayed in the widget header