Lanseringsvecka50 % rabatt på ett år AuteurSe planer
SpacesSkaffa Pro
Alla komponenter

Floating navbar Gratis

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.

Karaktär
Lekfull
Registrera dig gratis för att ladda ner

Använd till

  • Landing pages and docs.

Inte till

  • Apps with a tab bar.

Props

Lästa direkt ur komponentens egen TypeScript, så de är alltid aktuella.

PropTypStandard
linksKrävsstring[]
brandKrävsReactNode
ctaKrävsstring
containerReact.RefObject<HTMLElement | null>

Bättre med en skill

Ge din agent en, så använder den Floating navbar som det är tänkt.

Page structureGratis

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

$npx velvo skill page-structure
Läs skillen
Spacing and buttonsGratis

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

$npx velvo skill spacing-and-buttons
Läs skillen

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
NästaFile tree