Skip to content

[breadcrumbs] Breadcrumbs are hidden on mobile viewport #38

@CiscoFran10

Description

@CiscoFran10

Describe the issue

On the Breadcrumbs documentation page, the breadcrumbs component disappears entirely on mobile / small viewports.

Image

From inspecting the implementation, this appears to be caused by the root container using responsive utility classes that hide the component below the sm breakpoint:

export function breadcrumbsVariants({
  size = KUMO_BREADCRUMBS_DEFAULT_VARIANTS.size,
}: KumoBreadcrumbsVariantsProps = {}) {
  return cn(
    "group mr-4 hidden min-w-0 grow items-center sm:flex",
    KUMO_BREADCRUMBS_VARIANTS.size[size].classes,
  );
}

Because of hidden sm:flex, breadcrumbs are never rendered on mobile.

If this behavior is intentional, it would be helpful to document the reasoning and recommended mobile navigation alternatives.
If it is unintentional, this prevents breadcrumbs from being evaluated or used in mobile layouts.


Expected behavior

One of the following should be true:

  • Breadcrumbs remain visible on mobile (possibly with truncation or overflow handling), or
  • The docs clearly explain that breadcrumbs are intentionally hidden on mobile and why

Actual behavior

  • Breadcrumbs are completely hidden on mobile screens
  • No explanation or guidance is provided in the documentation
  • This can be confusing when evaluating the component’s behavior across breakpoints

Environment

  • Package: @cloudflare/kumo
  • Component: Breadcrumbs
  • Docs site: https://kumo-ui.com/
  • Browser: Chrome
  • Viewport: Mobile / small screens

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions