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.
npx -y skills add mhrsdev/AI-Agent-Skills-Library --skill mobile-bootstrap-offcanvas-navbarAssembled 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-expandedand 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-heightandoverflow-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.