Skip to content
Skills Library
Design & UX · Building & coding

mobile-only-responsive-navigation

/mobile-only-responsive-navigation

Mobile-only responsive navigation guidance for RTL Persian sites. Use when improving hamburger menus, drawers, touch targets, and mobile theme controls without changing desktop layout.

Licence
MIT
Last repository change
05.07.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
2
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 05.07.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Mobile-only responsive navigation guidance for RTL Persian sites. Use when improving hamburger menus, drawers, touch targets, and mobile theme controls without changing desktop layout.

Original author description

Mobile-only responsive navigation guidance for RTL Persian sites. Use when improving hamburger menus, drawers, touch targets, and mobile theme controls without changing desktop layout.

How it works

  1. Non-negotiable scope
  2. Mobile navigation requirements
  3. Mobile theme toggle
  4. Motion and polish
  5. Mobile audit checklist
Original SKILL.md headings · 53 lines, 391 words
SKILL.md preview
---
name: mobile-only-responsive-navigation
description: Mobile-only responsive navigation guidance for RTL Persian sites. Use when improving hamburger menus, drawers, touch targets, and mobile theme controls without changing desktop layout.
---

# Mobile-only responsive navigation

Use this skill when modifying a production HTML/CSS/Vanilla JS site where the desktop design must remain unchanged and only mobile breakpoints may be improved.

## Non-negotiable scope

- All visual/layout changes for navigation, spacing, typography, header, hero, cards, and sections must be limited to existing mobile breakpoints such as `@media (max-width: 768px)` or the project breakpoint (`@media (max-width: 759px)`).
- Desktop navigation, desktop header, desktop spacing, desktop typography, desktop buttons, and desktop theme controls must stay visually identical.
- If a shared JavaScript change is needed, it must preserve desktop behavior and only add accessibility/state handling.

## Mobile navigation requirements

- Hide desktop navigation on mobile and control it with a real hamburger button.
- The hamburger button must expose `aria-expanded`, `aria-controls`, and a clear `aria-label`.
- For Persian/RTL layouts, the mobile drawer should open from the right (`inset-inline-start: 0` in RTL).
- The drawer must be above hero and content with a reliable z-index.
- Include a backdrop/scrim so the drawer does not visually merge with the hero.
- Touch targets must be at least 44px high/wide.
- Menu links must be easy to scan and tap.
- Close the drawer when:
  - the close button is clicked,
  - a menu link is clicked,
  - the user clicks outside/backdrop,
  - the Escape key is pressed.
- Lock body scroll while the drawer is open.
- Restore scroll when it closes.
- Do not create horizontal overflow.

## Mobile theme toggle

- Place the mobile theme toggle inside the drawer.
- Keep it compact, tidy, Persian, and clear: `تیره 🌙` and `روشن ☀️`.
- Active state must be obvious and accessible via `aria-pressed`.
- Preserve the current `localStorage` theme behavior.
- Do not visually change the desktop theme toggle.

## Motion and polish

- Drawer animation should be short, soft, and subtle.
- Avoid bounce, shake, heavy glow, excessive scaling, or constant animation.
- Respect `prefers-reduced-motion`.
- Use solid or frosted surfaces that remain readable in dark and light mode.

## Mobile audit checklist

- Section padding is not excessive.
- Large headings are readable and not cramped.
- Persian line-height is comfortable.
- Cards and CTAs fit the viewport.
- Contact/location cards are ordered and readable.
- Header logo and brand text fit without overflow.
- No horizontal scrolling at common widths (320, 360, 390, 414px).
Files in this package (2)
  • README.md 2 KB
  • SKILL.md 3 KB

Versions

The database has no other skills named mobile-only-responsive-navigation.

Database snapshot: 13.11.2026 · package version 008e519e4278 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 2 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100mobile-ux-optimizer
    Mobile-first UX optimization for touch interfaces, responsive layouts, and performance. Use for viewport handling, touch targets, gestures, mobile navigation. Activate on mobile, touch, responsive, dvh, viewport, safe area, hamburger menu. NOT for native app development (use…
  • 100mobile-ux-optimizer
    Mobile-first UX optimization for touch interfaces, responsive layouts, and performance. Use for viewport handling, touch targets, gestures, mobile navigation. Activate on mobile, touch, responsive, dvh, viewport, safe area, hamburger menu. NOT for native app development (use…
  • 90saas-responsive
    This skill should be used when the user is building or reviewing responsive layouts, mobile design, breakpoints, table-to-card patterns, touch targets, collapsible sidebars, or mobile/bottom navigation for a SaaS application. Covers the \"sacrifice principle\" for mobile SaaS,…
  • 100mobile-ui-design
    Touch-first mobile UI for native-feeling web apps, PWAs, and React Native/Flutter screens: touch targets, bottom navigation, gestures, safe areas, thumb zones, sheets, mobile forms, and motion. Use when the user asks to "design for mobile", "build a mobile UI", "make it…
  • 95responsive-mobile-first
    Mobile-first responsive patterns with sticky headers, floating CTAs, accessible navigation, and touch-friendly interactions. Use when implementing responsive layouts, mobile navigation, or ensuring touch-friendly UI.
  • 90mobile-ux-design
    Mobile-first design: touch targets, gesture systems, thumb zones, responsive layout, mobile forms and navigation, iOS 26 Liquid Glass, Material 3 Expressive, and wearable/IoT patterns. Use when designing or auditing an iOS, Android, or responsive mobile experience.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.