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

Stretch tabs Gratuit

Tabs whose pill moves like a drop of liquid: the front edge leads and the back catches up, so it stretches as it travels and snaps round when it lands.

Ouvrir dans l’éditeur

Jump from end to end: the pill stretches on the way.

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

À utiliser pour

  • Bottom tab bars and section switchers.

Pas pour

  • More than five tabs.

Props

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

PropTypePar défaut
tabsObligatoire{ id: T; label: string; icon?: IconName }[]
valueObligatoireT
onChangeObligatoire(v: T) => void
labelstring'Tabs'

Améliorez-le avec une skill

Ajoutez-en une à votre agent et il utilisera Stretch tabs 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
18
Size
383 KB
Needs
framer-motion
Install
npx velvo add stretch-tabs
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

navigationfreereact
SuivantOrbit menu