agentsclimarketplace

Mobile bootstrap offcanvas navbar

Skill mhrsdev/AI-Agent-Skills-Library/organized-skills/responsive-mobile-navigation/mobile-bootstrap-offcanvas-navbar

A curated library of 124 AI agent skills organized into 10 categories, with model-specific versions for Claude, GPT-5.5, GPT-5.4 and earlier, GLM, and DeepSeek.

Install
npx -y skills add mhrsdev/AI-Agent-Skills-Library --skill mobile-bootstrap-offcanvas-navbar

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Use when building or fixing mobile-first navbar collapse, offcanvas drawers, ARIA-expanded sync, overflow handling, and Bootstrap-like responsive navigation.

SKILL.md

1.4 KB, as published. Nobody here has run it

Mobile Bootstrap Offcanvas Navbar

Use this skill for mobile-first navbars, collapse panels, and offcanvas drawers inspired by twbs/bootstrap.

Primary source:

Focus areas:

  • Navbar collapse state.
  • Offcanvas drawer layout and transitions.
  • aria-expanded and collapsed class synchronization.
  • Mobile menu overflow when the menu is taller than the viewport.
  • Modal/offcanvas scroll behavior on iOS.

Checklist:

  • Toggle with a real button.
  • Keep aria-expanded, hidden state, and visual class state aligned.
  • Make long collapsed menus scrollable with max-height and overflow-y: auto.
  • Use fixed positioning for offcanvas panels and a separate backdrop layer.
  • Lock background scroll when offcanvas is modal.
  • Test with many menu items, landscape mobile, and small 320px screens.

Common fixes:

  • If an expanded navbar cannot scroll on mobile, constrain its height and enable vertical overflow.
  • If the body scrolls behind offcanvas, add modal-style scroll lock.
  • If state desynchronizes after resizing, reset mobile collapse state at desktop breakpoints.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.