Semaine de lancement50 % sur un an d’AuteurVoir les offres
EspacesPasser à Pro
Tous les composants

Floating navbar Gratuit

A frosted pill that shrinks as you scroll, tucks away going down, comes back going up, and whose highlight glides to the link you point at.

Scroll inside the box: it shrinks, hides going down, and comes back going up.

Caractère
Joueur
Inscrivez-vous gratuitement pour télécharger

À utiliser pour

  • Landing pages and docs.

Pas pour

  • Apps with a tab bar.

Props

Lues dans le TypeScript du composant lui-même, donc toujours à jour.

PropTypePar défaut
linksObligatoirestring[]
brandObligatoireReactNode
ctaObligatoirestring
containerReact.RefObject<HTMLElement | null>

Améliorez-le avec une skill

Ajoutez-en une à votre agent et il utilisera Floating navbar comme prévu.

Page structureGratuit

Decides where it goes on the page and what sits around it.

$npx velvo skill page-structure
Lire la skill
Spacing and buttonsGratuit

Sizes and spaces it on the same scale as the rest of the page, so it sits right.

$npx velvo skill spacing-and-buttons
Lire la skill

Specs

Category
Navigation
Tier
Free
Built with
React and TypeScript
Files
15
Size
303 KB
Needs
framer-motion
Install
npx velvo add floating-nav
Works with
Next.js, Vite, Remix, Expo web

Licence

Velvo free licence
  • Personal and commercial use
  • Change it however you like
  • No credit needed

Not for resale as a component or a UI kit.

Tags

navigationchartfreereact
SuivantFile tree