Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Component: more NavBar variants (centered, floating, mega menu, sidebar, minimal, search)

オープン
#47 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
react, tailwindcss, typescript

調査の方向性

Start by reading the existing NavBar component and its shared locale data, then review issues #44–#46 for the keyboard, RTL, and preview requirements. The issue asks for one separately claimed variant per PR; choose a variant and identify its registry, barrel export, docs, demo, and test entry points. Done when that variant meets the listed requirements and its acceptance checks pass.

索引モデルが issue の本文から書いたものです。

説明

component enhancement help wanted

Summary

NavBar is the only navigation component. Add more navbar variants so users can pick a layout without restyling the base one. Each variant is a separate component and a separate PR; comment below to claim one.

Proposed variants

Component Description
NavBarCentered Logo centered, links split left/right, language selector and CTA at the end.
NavBarFloating Detached, rounded "pill" bar that floats over content with a blurred backdrop, and shrinks on scroll.
NavBarMega Links can open a mega-menu panel with grouped sub-links and descriptions.
NavBarSidebar Vertical side navigation for docs and dashboards, collapsible to icons, with the language selector in the footer.
NavBarMinimal Logo plus language selector only, using LanguageSwitcherPill as the inline locale control.
NavBarWithSearch Base bar plus a search field / command-palette trigger (⌘K).

Requirements (every variant)

  • Same conventions as NavBar:
    • value / defaultValue / onValueChange for the locale.
    • locales: Locale[] from ./types.
    • linkComponent for router links.
    • Ref forwarding and passthrough of extra props to the root element.
  • Locale labels and flags from the shared ./locale-data module. No local copies.
  • Language menus use useListboxNavigation (#44) for keyboard support.
  • RTL: dir derived from the active locale, logical utilities only (start/end, ms/me, text-start). See #45.
  • Responsive with a mobile menu at narrow widths; dark mode.
  • Registry entry with correct registryDependencies (npm run test:registry must pass), a barrel export, a docs page with Installation / Usage / Props / Examples, a live demo, and tests.
  • Docs preview tall enough for the variant's popups (see #46).

Acceptance per PR

  • One variant per PR, linked to this issue.
  • lint, format:check, typecheck, test, build:lib, test:pack pass.
  • Screenshots: LTR and RTL, desktop and ~390px, light and dark.
主要言語
TypeScript
スター
39
フォーク
16
平均マージ
2日 12時間
マージ済み PR(30日)
10

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

babelize/babelize-elements のほかの issue

babelize/babelize-elements の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。