BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/ns-ui/breadcrumb-overflow-menu
This component no longer exists. It was in ns-ui’s manifest when we first indexed it and is not there now — the registry served its inventory on 2026-08-07 and this item was not on it. The install command below will fail. It is kept here because a tutorial somewhere still tells people to run it.

Breadcrumb Overflow Menu

ns-ui/breadcrumb-overflow-menu
RemovedComponent

A breadcrumb trail that collapses from the middle into a menu of the hidden levels, with an accent rule that sweeps under the current level.

Live preview

live · rendered by the registry
Rendered by ns-ui on their own page — this is the component running, not a screenshot of it.

Install it

npx shadcn@latest add https://design.helpmarq.com/r/breadcrumb-overflow-menu.json

Source

registry/core/breadcrumb-overflow-menu/component.tsxdesign.helpmarq.com/r/breadcrumb-overflow-menu.json · first 6 KB
1"use client";
2
3import {
4 useCallback,
5 useEffect,
6 useId,
7 useMemo,
8 useRef,
9 useState,
10 type KeyboardEvent as ReactKeyboardEvent,
11 type ReactNode,
12} from "react";
13import { createPortal } from "react-dom";
14
15// A breadcrumb that gives way from the middle. When the trail can't fit, the
16// root and the last two levels survive and everything between them folds into
17// one "…" button that opens a menu of the hidden levels — so nothing is lost
18// to keyboard or assistive tech, it just moves.
19//
20// Every width used by the fit calculation is read from a second, hidden copy
21// of the FULL uncollapsed trail (absolute, visibility:hidden, nowrap) that sits
22// outside flow and never changes size. Measuring the visible list instead is
23// the classic way to break this: collapsing shrinks the measured content, which
24// says "it fits", which expands, which overflows — permanent jitter at any
25// width near the threshold. The "…" chip's own width is in the ghost layer and
26// in the budget, and everything is remeasured once on document.fonts.ready
27// because a webfont swap moves every number.
28//
29// The current level carries a 2px accent underline that sweeps 0 → text width
30// whenever the last crumb's id changes (the span is keyed on it, so arriving
31// somewhere new re-runs the sweep). Reduced motion renders it at full width
32// with no transition and mounts the menu with no fade.
33
34export type Crumb = {
35 id: string;
36 label: string;
37 /** Renders an <a>. Omit and the crumb renders a <button>. */
38 href?: string;
39};
40
41export interface WornPathProps {
42 /** Ordered root → current. The last item is the current page. */
43 items: Crumb[];
44 /** Rendered between crumbs. Default "/". */
45 separator?: ReactNode;
46 /** Crumbs at the head that can never collapse. Default 1. */
47 minVisibleHead?: number;
48 /** Crumbs at the tail that can never collapse, current included. Default 2. */
49 minVisibleTail?: number;
50 onNavigate?: (item: Crumb, index: number) => void;
51 ariaLabel?: string;
52 className?: string;
53}
54
55// re-expanding costs 24px more room than staying collapsed, so a container
56// resting exactly on the threshold settles instead of oscillating
57const HYSTERESIS = 24;
58
59const crumbClass = (current: boolean) =>
60 current
61 ? "whitespace-nowrap px-1 py-0.5 text-sm font-medium text-foreground"
62 : [
63 "whitespace-nowrap rounded-sm px-1 py-0.5 text-sm text-muted",
64 "transition-colors duration-150 ease-out",
65// … truncated

Files it writes

  • registry/core/breadcrumb-overflow-menu/component.tsx

Facts

Registry
ns-ui
Type
registry:ui
Access
Free
Files written
1
Licence
MIT
In the index
at or before 2026-08-02
Last confirmed
12 days ago

Go to the source

Docs on ns-ui design.helpmarq.com nikolas-sapa/ns-ui on GitHub Raw registry item This item as JSON

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

ToolDrift

What the AI coding tools changed last night

tooldrift.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex