UiForge
Prompt

Navbar Meridian — verre, solide et minimale

Composants UILinearGlassmorphismDark modeVercelHover effectMicro-interactionsScroll revealReactTailwindFramer Motion
Prêt à l'emploi

Copie le prompt dans le presse-papier, sans quitter la page.

❯ Prompt Claude
CONTEXT & GOAL
Build the navigation header system for Meridian, a product analytics platform used by growth and data teams to track funnels and cohorts. Design three interchangeable navbar variants — glass, solid, and minimal — shown together on a single demo page that lets a visitor scroll through a tall marketing page while each variant reacts to scroll. The signature idea: an aurora halo, a soft violet-to-cyan radial glow that quietly tracks the cursor behind the frosted glass of the navbar, visible only in the glass variant, giving Meridian a living, premium feel without any illustration.

ART DIRECTION
The mood sits between Linear's restrained dark UI and Vercel's confident typography, but warmer: instead of pure black, the base is a deep ink with a faint violet undertone so the aurora glow has something to bloom against. Avoid glassmorphism cliches (no rainbow gradients, no heavy drop shadows) — the glass here is subtle, more like frosted museum glass than a soap bubble. The distinguishing gesture is restraint: one glow, one accent, generous negative space around the logo.

COLOR SYSTEM
Background page: #0B0E14. Navbar glass surface: rgba(17,19,28,0.62) with backdrop-blur. Navbar solid surface (after scroll): #12141C. Navbar minimal: transparent, text only. Border/hairline: #23273380 (1px). Text primary: #F4F5F7. Text secondary: #9497A6. Text muted (disabled): #5B5E6B. Accent aurora start: #8B5CF6, accent aurora end: #22D3EE, blended radially at 40% opacity. Link default: #C7C9D6, link hover: #F4F5F7, link active underline: #8B5CF6. CTA button background: #8B5CF6, CTA hover: #7C4DEF, CTA active: #6D3FE0, CTA text: #0B0E14. Disabled state background: #2A2C35, disabled text: #5B5E6B.

TYPOGRAPHY
Headings and logotype in Inter, weight 700, letter-spacing -0.02em. Nav links in Inter, weight 500, 14px/20px line-height, letter-spacing -0.01em. Dropdown item titles 14px/600, descriptions 13px/400 color #9497A6. CTA button label 14px/600. Mobile menu items 20px/600 with 32px line-height for thumb-friendly targets. Use Inter from Google Fonts throughout; no secondary family needed to keep the system quiet.

LAYOUT & GRID
Max container width 1280px, centered, horizontal padding 24px mobile / 40px tablet / 64px desktop. Navbar height 72px expanded, 60px after scroll past 80px. Logo left, primary links centered-left with 32px gaps, theme toggle and CTA right with 16px gap. Mobile (below 768px): logo left, hamburger right, links collapse into a full-screen overlay. Tablet (768-1279px): links reduce to icons-only for secondary items. Desktop (1280px+): full link labels plus a "Changelog" badge showing unread count.

SECTIONS & COMPONENTS
Glass variant: fixed top-0, backdrop-blur-xl, background rgba(17,19,28,0.62), border-bottom hairline; the aurora halo is a 320px radial gradient div following mousemove with 120ms lag via spring interpolation. Solid variant: becomes #12141C with a subtle 1px bottom shadow once scrollY exceeds 80px, halo disabled for performance. Minimal variant: transparent background, text drops a 2px text-shadow on hover only, used on long-form doc pages. Product dropdown: on hover/focus opens a two-column panel — left column lists "Funnels", "Cohorts", "Session Replay", "Alerts" each with a 16px icon and one-line description; right column shows a "What's new" card headlined "Real-time cohort branching is live". Links default #C7C9D6, hover #F4F5F7 with underline grow-in, focus-visible gets a 2px #8B5CF6 outline offset 2px, active state shows a filled dot next to the current page link. CTA "Start free trial" button: default filled #8B5CF6, hover #7C4DEF with 2px lift, active #6D3FE0 flattened, loading state swaps label for a 14px spinner ring, disabled state (during a maintenance window) drops to #2A2C35 at 40% opacity with a tooltip "Signups paused — back in 10 min". Mobile menu: full-screen overlay #0B0E14 at 98% opacity, links stacked at 20px/600, CTA pinned to bottom with safe-area padding. Demo page: stacks the three navbars with labeled section dividers ("Glass", "Solid", "Minimal") and 2400px of dummy scroll content so scroll-triggered transitions are testable.

MOTION
Mount: navbar fades and slides down 8px over 400ms, ease cubic-bezier(0.16,1,0.3,1). Aurora halo follows the cursor with spring stiffness 120, damping 20, mass 0.5, recalculated on every pointermove via requestAnimationFrame. Scroll transition glass-to-solid: height and background-color animate over 250ms ease-out, triggered once scrollY crosses 80px with a 40px hysteresis band to prevent flicker. Dropdown open: opacity 0 to 1 and translateY -6px to 0 over 220ms spring (stiffness 300, damping 26); close reverses at 150ms linear. Link underline: scaleX 0 to 1 from left, 180ms ease-out. Mobile overlay: slides in from the right, 320ms cubic-bezier(0.22,1,0.36,1); links stagger by 40ms. Respect prefers-reduced-motion: disable the aurora follow and all transforms, keep only opacity crossfades capped at 150ms.

TECH & QUALITY
Build with React 18 function components, Tailwind CSS v4 utility classes plus one CSS custom property block for the aurora gradient, Framer Motion for all transforms, Radix UI NavigationMenu primitive for accessible dropdown behavior. Suggested files: Navbar.tsx (variant switcher), AuroraGlow.tsx, ProductDropdown.tsx, MobileMenu.tsx. All interactive elements are real button/anchor tags with visible focus-visible rings meeting 3:1 non-text contrast; text contrast of #F4F5F7 on #0B0E14 exceeds 15:1 (WCAG AAA). Mobile menu traps focus and closes on Escape. Logo has descriptive alt text "Meridian home".
Objectif

Trois variantes de barre de navigation pour Meridian, plateforme d'analytics produit destinee aux equipes growth et data. L'idee signature : un halo d'aurore qui suit le curseur derriere le verre depoli de la navbar, unique aux trois variantes mais visible seulement sur la version glass.

Style

Dark glow premium inspire de Linear, aurore violette diffuse derriere un verre depoli epais

Composants
Navbar glass avec halo d'aurore suivant le curseurNavbar solide avec fond opaque au scrollNavbar minimale texte seul sans fondMenu deroulant Produit avec apercus de fonctionnalitesBouton CTA « Commencer » avec etat loadingSelecteur de theme clair/sombreMenu mobile plein ecranPage de demonstration presentant les 3 variantes empilees
Animations
Halo d'aurore qui suit le curseur en temps reelFondu et leger flou au montage de la navbarRetrecissement de hauteur au scroll (glass vers solide)Ouverture du menu deroulant en springSoulignement anime au survol des liensGlissement du menu mobile depuis la droite
Stack technique
React 18Tailwind CSS v4Framer MotionRadix UI
Scores
9/10
Qualité
8/10
Originalité
Notes de revue

Force : trois variantes navbar richement spécifiées avec un halo d'aurore qui suit le curseur comme idée signature, hex/fontes/motion tous précis et exécutables tels quels. Faiblesse : le concept de navbar multi-variantes reste un exercice de design system assez classique, l'originalité tenant surtout au halo. Aucune réécriture nécessaire.

À voir aussi

Prompts liés

Composants UI

Board kanban Slipstream — colonnes, cartes et drag & drop

Dark neon arcade maitrise, violet electrique sur anthracite, energie sans chaos

Q 9/10O 9/10Dark modeFuturisticLinear
Composants UI

Command palette Ridgeline — recherche floue et groupes

Glass sombre flottant, halo profond, inspire de Raycast et Linear

Q 8/10O 7/10LinearGlassmorphismDark mode
Composants UI

Grille bento Atlas — fonctionnalites produit en mosaique

Futuriste sombre bleu profond, lignes de circuit lumineuses, inspire des schemas d'architecture

Q 9/10O 9/10FuturisticDark modeLinear