LogoClawIndex
CasesSkillsAbout
LogoClawIndex

refactor_nextjs_nav_mobile_toggle_labels - Next.js Navigation Refactoring with Mobile Toggle and Labels

Refactor Next.js navigation components to add mobile toggle functionality and text labels for improved mobile usability

Tags

Updated: 2026-03-09
navigationmobileresponsivenextjstogglelabelsrefactoring

Capabilities

import React hooksinitialize state variablescreate toggle handlersrender toggle buttons

Typical Inputs

Next.js navigation componentexisting navData arrayicon imports

Typical Outputs

refactored navigation componentmobile toggle functionalityresponsive text labels

What this skill does

  • import React hooks
  • initialize state variables
  • create toggle handlers
  • render toggle buttons
  • structure navigation items
  • apply conditional rendering
  • handle link clicks
  • define responsive styles

Inputs

  • Next.js navigation component
  • existing navData array
  • icon imports
  • React hooks
  • Tailwind CSS classes

Outputs

  • refactored navigation component
  • mobile toggle functionality
  • responsive text labels
  • mobile-friendly menu

Requirements

  • React
  • Next.js framework
  • Tailwind CSS
  • functional components
  • mobile breakpoint support

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.