For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt, and this page is available as Markdown at /next/api/genui/openui/chat/agent/variables/Buttons.md.
Lynx
  • English
  • Variable: Buttons

    const Buttons: DefinedComponent<ZodObject<{ buttons: ZodArray<$ZodType<SubComponentOf<{ action?: { steps: object[]; } | { context?: string; params?: Record<..., ...>; type?: string; url?: string; }; label: string; size?: "extra-small" | "small" | "medium" | "large"; type?: "normal" | "destructive"; variant?: "primary" | "secondary" | "tertiary"; }>, unknown, $ZodTypeInternals<SubComponentOf<{ action?: { steps: ...[]; } | { context?: ... | ...; params?: ... | ...; type?: ... | ...; url?: ... | ...; }; label: string; size?: "extra-small" | "small" | "medium" | "large"; type?: "normal" | "destructive"; variant?: "primary" | "secondary" | "tertiary"; }>, unknown>>>; direction: ZodOptional<ZodEnum<{ column: "column"; row: "row"; }>>; }, $strip>, () => null>

    Server-safe Chat button group definition.

    Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.