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

Accordion Gratuit

One open at a time. The height springs open, the chevron turns, the answer rises in.

Ouvrir dans l’éditeur

Yes. Anything you make with them is yours, including work you sell.

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

À utiliser pour

  • FAQs and settings with a few details each.

Pas pour

  • Content people need to compare. Open things can’t sit side by side.

Props

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

PropTypePar défaut
itemsObligatoire{ q: string; a: string }[]

Améliorez-le avec une skill

Ajoutez-en une à votre agent et il utilisera Accordion 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
Less is moreGratuit

One of these per screen is plenty. This skill keeps it that way.

$npx velvo skill less-is-more
Lire la skill

Specs

Category
Surfaces
Tier
Free
Built with
React and TypeScript
Files
17
Size
375 KB
Needs
framer-motion
Install
npx velvo add accordion
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

surfacesspringtimefreereact
SuivantToday card