Island Nav
Install the component, then paste your configured usage. Your settings are included in the code below.
npx arclen-ui add dynamic-island-nav --settings eyJsYWJlbHMiOlsiSG9tZSIsIldvcmsiLCJMYWIiLCJKb3VybmFsIiwiQWJvdXQiLCJDb250YWN0Il0sImRlc3RpbmF0aW9ucyI6WyIjaG9tZSIsIiN3b3JrIiwiI2xhYiIsIiNqb3VybmFsIiwiI2Fib3V0IiwiI2NvbnRhY3QiXSwiaWNvbnMiOlsiSG9tZSIsIkdyaWQiLCJTcGFya2xlIiwiUGVuY2lsIiwiUHJvZmlsZSIsIk1haWwiXSwiY29tcGFjdE9uU2Nyb2xsIjp0cnVlLCJob3ZlckR3ZWxsIjoxNDAsInRvcE9mZnNldCI6MTYsInN1cmZhY2UiOiIjMjkyODI2IiwibGlnaHRTdXJmYWNlIjoiI2Y3ZjRlZCIsImhlYWRpbmdDb2xvciI6IiM4YjhlOTgiLCJzaG93QmFkZ2UiOnRydWUsImJhZGdlTGFiZWwiOiJNb3JlIGNvbXBvbmVudHMiLCJiYWRnZUhyZWYiOiJodHRwczovL2FyY2xlbnVpLmRldi9jb21wb25lbnRzIiwicGxhY2VtZW50IjoidG9wIiwiYWxpZ25tZW50IjoiY2VudGVyIiwicmFkaXVzIjoyNiwiaWNvblNpemUiOjIwLCJtZW51V2lkdGgiOjQwMCwiYmx1ciI6MjgsImRhcmtPcGFjaXR5Ijo2MiwibGlnaHRPcGFjaXR5Ijo3MiwicmltIjoxMDAsImJyZWFrcG9pbnQiOjY0MCwiY29tcGFjdERpc3RhbmNlIjoxMjAsImRhcmtBY2NlbnQiOiIjZTA5YjZjIiwibGlnaHRBY2NlbnQiOiIjOTg1MTI2IiwiZGFya0NhbnZhcyI6IiMyMjIxMWYiLCJsaWdodENhbnZhcyI6IiNmYWY5ZjYifQimport { IslandNav } from "@/components/dynamic-island-nav";
export default function Example() {
return <IslandNav {...{
"labels": [
"Home",
"Work",
"Lab",
"Journal",
"About",
"Contact"
],
"destinations": [
"#home",
"#work",
"#lab",
"#journal",
"#about",
"#contact"
],
"icons": [
"Home",
"Grid",
"Sparkle",
"Pencil",
"Profile",
"Mail"
],
"compactOnScroll": true,
"hoverDwell": 140,
"topOffset": 16,
"surface": "#292826",
"lightSurface": "#f7f4ed",
"headingColor": "#8b8e98",
"showBadge": true,
"badgeLabel": "More components",
"badgeHref": "https://arclenui.dev/components",
"placement": "top",
"alignment": "center",
"radius": 26,
"iconSize": 20,
"menuWidth": 400,
"blur": 28,
"darkOpacity": 62,
"lightOpacity": 72,
"rim": 100,
"breakpoint": 640,
"compactDistance": 120,
"darkAccent": "#e09b6c",
"lightAccent": "#985126",
"darkCanvas": "#22211f",
"lightCanvas": "#faf9f6"
}} />;
}| Property | Type | Default |
|---|---|---|
labelsSection labels Minimum 2 itemsMaximum 12 items | string-list | ["Home","Work","Lab","Journal","About","Contact"] |
destinationsLink destinations Minimum 2 itemsMaximum 12 items | string-list | ["#home","#work","#lab","#journal","#about","#contact"] |
iconsItem icons Minimum 2 itemsMaximum 12 items | string-list | ["Home","Grid","Sparkle","Pencil","Profile","Mail"] |
compactOnScrollCompact on scroll | boolean | true |
hoverDwellHover delay 0–400Step 10 | number | 140 |
topOffsetEdge inset (px) 6–64Step 1 | number | 16 |
surfaceDark capsule | color | "#292826" |
lightSurfaceLight capsule | color | "#f7f4ed" |
headingColorSection heading | color | "#8b8e98" |
showBadgeShow catalogue link | boolean | true |
badgeLabelLink label Up to 40 characters | text | "More components" |
badgeHrefLink destination Up to 512 characters | text | "https://arclenui.dev/components" |
placementPlacement Options: top, bottom | select | "top" |
alignmentAlignment Options: start, center, end | select | "center" |
radiusCorner radius (px) 8–32Step 1 | number | 26 |
iconSizeIcon size (px) 14–28Step 1 | number | 20 |
menuWidthOpen menu width (px) 220–600Step 1 | number | 400 |
blurBackdrop blur (px) 0–48Step 1 | number | 28 |
darkOpacityDark tint (%) 0–100Step 1 | number | 62 |
lightOpacityLight tint (%) 0–100Step 1 | number | 72 |
rimRim strength (%) 0–100Step 1 | number | 100 |
breakpointMobile breakpoint (px) 320–1024Step 1 | number | 640 |
compactDistanceCompact after (px) 0–600Step 1 | number | 120 |
darkAccentDark active accent | color | "#e09b6c" |
lightAccentLight active accent | color | "#985126" |
darkCanvasDark page | color | "#22211f" |
lightCanvasLight page | color | "#faf9f6" |
Island Nav places a frosted-glass capsule over a scroll surface with two to twelve sections. The current section keeps its label as you hover another icon to reveal its name. Keyboard focus reveals it immediately. Scrolling down compacts the desktop bar to the active section and an expander. On smaller screens the current section and chevron form one button. It opens a list inside the same capsule, with a check beside the current section.
The labels and destinations follow the same order. A fragment selects its corresponding local section. An absolute HTTP or HTTPS link opens a new tab. Relative paths starting with a slash open in the current tab. Set the catalogue badge destination and label for your own site, or turn the badge off.
Escape closes the mobile panel and returns focus to its button. Tapping outside the panel or scrolling more than 64 pixels also closes it. Reduced-motion mode snaps to each geometry and removes the delayed badge entrance. The component pauses its motion when offscreen. The HTML package includes a static poster for browsers without JavaScript.
Typography uses Inter under the SIL Open Font License, included in assets/Inter-OFL.txt. The inline icons are original line drawings.
The capsule follows the colour theme with charcoal and warm off-white surfaces. A copper dot marks the active desktop label and a copper check marks the selected mobile row. Both capsule colours can be customised.
Customizing the island
In Layout, choose the top or bottom edge, horizontal alignment and inset. A bottom-mounted menu expands upward and moves the catalogue link to the top. The open menu width is capped by the available space. The mobile breakpoint sets when to switch to the single-button menu. Long labels can trigger that layout earlier.
Glass controls set the blur in pixels, each theme’s tint opacity, and the strength of the outer rim. Set blur to zero for clear glass, or increase the tint for a denser surface. Reduced-transparency preferences use the solid capsule color. The active accent and page color can be set independently for each theme. Alternating sections derive their shading from the page color.
Compact after sets the downward scroll distance for desktop collapse. Hover delay controls when a second desktop label appears. Keyboard focus reveals a label immediately.
The preview runs the component’s own JavaScript. It respects reduced motion and pauses when off screen. The HTML bundle includes a static fallback.
Every setting in this panel comes from the component manifest. Preview size, pause and replay stay in the inspector.