caprice
noun
Meaning
A sudden, impulsive change in mood or behavior without a logical reason.
Examples
- The weather in the mountains is known for its sudden caprice, shifting from sun to snow in minutes.
- He acted on a whim, driven by a momentary caprice rather than any long-term plan.
Synonyms: whim, impulse, fancy, vagary