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

Theme reveal Pro

Switch to dark and the new theme spreads out in a circle from the button you pressed. Switch back and it shrinks home.

Ouvrir dans l’éditeur
Good evening, Maya
Morning run6:30
Wind down22:00
Water plantsDaily
Good evening, Maya
Morning run6:30
Wind down22:00
Water plantsDaily

Ajoutez-le à votre app

$npx velvo add theme-reveal

Pour Claude Code, Cursor ou tout projet avec un terminal.

À utiliser pour

  • Theme switches, “after” views, before and after comparisons.

Pas pour

  • Switching that happens without a tap.

Props

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

PropTypePar défaut
lightObligatoireReactNode
darkObligatoireReactNode

Améliorez-le avec une skill

Ajoutez-en une à votre agent et il utilisera Theme reveal comme prévu.

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
Landing pagesPro

Places it where it earns attention instead of competing for it.

Incluse dans ProLire la skill

Specs

Category
Effects
Tier
Pro
Built with
React and TypeScript
Files
16
Size
372 KB
Needs
framer-motion
Install
npx velvo add theme-reveal
Works with
Next.js, Vite, Remix, Expo web

Licence

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

Not for resale as a component or a UI kit.

Tags

effectscontrolproreact
SuivantLive cursors