Components / AI components / Conversation
ConversationExperimental alpha

BranchSwitcher

Navigate explicit conversation branches and their parent versions.

BranchSwitcher preview

Loading example…

Interactions use local sample data.

Usage and props

Resolve durable branches and preserve unsent drafts before changing the selected branch.

Supported inputs

This is the public signature used by this example. Open Code to see how the values and callbacks fit together.

branches · value · context? · changeGuard? · scoped request or onValueChange
How state and callbacks work

These are the main props for the example. The package's TypeScript declarations include the full API.

Customize and use with a keyboard