Skip to content

Basic

vue
<fv-Breadcrumb modelValue="/creatorsn/vfluent/breadcrumb">
</fv-Breadcrumb>

vue
<fv-Breadcrumb v-model="modelValue" :readOnly="false">
</fv-Breadcrumb>

  1. Char
vue
<fv-Breadcrumb
    modelValue="/creatorsn/vfluent/breadcrumb"
    :readOnly="false"
    separator=">"
>
</fv-Breadcrumb>
  1. Icon
vue
<fv-Breadcrumb
    modelValue="/creatorsn/vfluent/breadcrumb"
    :readOnly="false"
    separator="ChevronRightMed"
>
</fv-Breadcrumb>

vue
<fv-Breadcrumb
    modelValue="/creatorsn/vfluent/breadcrumb"
    :readOnly="false"
    :showRoot="false"
>
</fv-Breadcrumb>

vue
<div style="padding: 8px; background: black;">
    <fv-Breadcrumb modelValue="/creatorsn/vfluent/breadcrumb" theme="dark" :readOnly="false">
    </fv-Breadcrumb>
</div>

  1. Light
vue
<fv-Breadcrumb
    modelValue="/creatorsn/vfluent/breadcrumb"
    :readOnly="false"
    disabled
>
</fv-Breadcrumb>
  1. Dark
vue
<div style="padding: 8px; background: black;">
<fv-Breadcrumb modelValue="/creatorsn/vfluent/breadcrumb" theme="dark" :readOnly="false" disabled>
</fv-Breadcrumb>
</div>

Properties


PropertyTypeRequiredDefaultDescription
modelValuestringNo''String path.
separatorstringNo'/'Separator display, either text or an icon.
separatorCharstringNo'/'Character used to split the path.
showRootbooleanNotrueWhether to show the root icon.
rootIconstringNo'FolderHorizontal'Root icon.
readOnlybooleanNotrueWhether the component is read-only.
borderColorstringNo''
fontSizestringNo'16px'
disabledbooleanNofalse
borderRadiusnumberNo6
themestringNo'global'Theme style. Supports global, light, dark, system, and custom.
debounceDelaynumberNo300See the Breadcrumb debounceDelay option.
langstringNo"global"See the Breadcrumb lang option.

Events


EventArgumentsDescription
input-changestringSee the component input-change option.
debounce-inputstringSee the component debounce-input option.
root-clickobjectSee the component root-click option.
item-clickobjectSee the component item-click option.

Slots


  1. root
vue
<template v-slot:root="x">
    <i
        class="fv-bc-separator-content ms-Icon"
        :class="[`ms-Icon--${x.rootIcon}`]"
    ></i>
    <i
        class="fv-bc-separator-icon ms-Icon"
        :class="[x.separatorIcon ? `ms-Icon--${x.separator}` : '']"
        >{{ x.separatorIcon ? '' : x.separator }}</i
    >
</template>
  1. route-item
vue
<template v-slot:route-item="x">
    <i class="ms-Icon" :class="[`ms-Icon--${x.icon}`]"></i>
</template>

MIT Licensed