Closed
Description
Clear and concise description of the problem
useBreadcrumb is very useful for controlling a single BBreadcrumb instance on a page, but is not usable if there are multiple BBreadcrumbs. Items added using the composable end up appearing on both sets of breadcrumbs, which is not what the developer wants.
Suggested solution
Allow passing in an id
parameter to the composable to control a specific BBreadcrumb instance. When no argument is passed, maintain the existing global behaviour.
const globalBreadcrumb = useBreadcrumb();
const innerBreadcrumb = useBreadcrumb('inner-breadcrumb-1');
Alternative
No response
Additional context
No response