Component: more NavBar variants (centered, floating, mega menu, sidebar, minimal, search)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- react, tailwindcss, typescript
- Área
- frontend, internationalization
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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/onValueChangefor the locale.locales: Locale[]from./types.linkComponentfor router links.- Ref forwarding and passthrough of extra props to the root element.
- Locale labels and flags from the shared
./locale-datamodule. No local copies. - Language menus use
useListboxNavigation(#44) for keyboard support. - RTL:
dirderived 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:registrymust 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:packpass. - Screenshots: LTR and RTL, desktop and ~390px, light and dark.
- Lenguaje dominante
- TypeScript
- Estrellas
- 39
- Forks
- 16
- Merge medio
- 2 d 12 h
- PR fusionados (30 d)
- 10
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de babelize/babelize-elements
-
bug website
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
babelize/babelize-elements#46 ·
Los mantenedores suelen responder en 1 día
-
bug language-switcher priority: medium
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
babelize/babelize-elements#26 ·
Los mantenedores suelen responder en 1 día
-
bug component rtl-layout
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
babelize/babelize-elements#45 ·
Los mantenedores suelen responder en 1 día
-
Website: revamp and improve the landing pagePosiblemente ocupada @anjalinayak01 la tomó hace 5 días. Abiertoenhancement help wanted priority: medium website
Dificultad 4/5 Más de una semana Aptitud para principiantes 30/100
babelize/babelize-elements#37 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Website: GitHub stars / forks / PRs counter in navbarPosiblemente ocupada @TanmayNileshShinde la tomó hoy. Abiertoenhancement good first issue priority: low website
Dificultad 3/5 1-2 días Aptitud para principiantes 62/100
babelize/babelize-elements#36 ·
Los mantenedores suelen responder en 1 día
Todos los issues de babelize/babelize-elements
Issues similares
-
area:ui effort:S enhancement priority:P2
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
QuantumNous/new-api#7839 ·
Los mantenedores suelen responder en 1 día
-
good first issue maintenance
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
dark-princezz/stellar-hooks#1010 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
interledger/rhyza#352 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día