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

Sidebar Gratuit

Sections down the side. The highlight glides to what you pick, and the whole bar folds down to icons.

InboxPick a mailbox, or fold the sidebar with the button at the top.
Caractère
Joueur
Inscrivez-vous gratuitement pour télécharger

À utiliser pour

  • Desktop apps with several sections.

Pas pour

  • Phones. Use a tab bar.

Props

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

PropTypePar défaut
itemsObligatoire{ id: string; label: string; icon: IconName; count?: number; section?: string }[]
valueObligatoirestring
onChangeObligatoire(id: string) => void
titleObligatoirestring

Améliorez-le avec une skill

Ajoutez-en une à votre agent et il utilisera Sidebar 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
17
Size
365 KB
Needs
framer-motion
Install
npx velvo add sidebar
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
SuivantSteps