# BranchPickerPrimitive URL: /docs/api-reference/primitives/branch-picker Navigate between conversation branches with previous/next controls. *** title: BranchPickerPrimitive description: Navigate between conversation branches with previous/next controls. -------------------------------------------------------------------------------- View and switch between branches. import { ParametersTable } from "@/components/docs/tables/ParametersTable"; ## Anatomy ```tsx import { BranchPickerPrimitive } from "@assistant-ui/react"; const BranchPicker = () => ( / ); ``` ## API Reference ### Root Containts all parts of the branch picker. This primitive renders a `
` element unless `asChild` is set. ### Number The current branch number. This primitive renders the raw number as a string. ### Count The total number of branches. This primitive renders the raw number as a string. ### Previous Navigates to the previous branch. This primitive renders a `