Brain Mascot Demo

An animated brain mascot with multiple expressions and customization options

Hello! How can Ihelp you today?

Click on the brain to trigger random expressions!

Expressions

Colors

Sizes

Hand Gestures

Hand Display

Animation

Glasses

Coffee Mug

Graduation Hat

Speech Bubble

Position

Bubble Color

Bubble Type

Expression Gallery

neutral

happy

sad

excited

confused

thinking

surprised

angry

ZZZ

sleepy

winking

focused

worried

love

dizzy

crying

laughing

skeptical

proud

shy

mischievous

thumbsUp

thumbsDown

applause

disapproval

amazed

satisfied

bored

celebration

Usage Example

import { BrainMascot } from '@/components/BrainMascot';

// Basic usage
<BrainMascot expression="happy" />

// With hand gestures and glasses
<BrainMascot
  expression="excited"
  handGesture="thumbsUp"
  handDisplay="both"
  glasses={true}
/>

// With graduation hat
<BrainMascot
  expression="proud"
  handGesture="thumbsUp"
  handDisplay="right"
  hat={true}
  speechText="I graduated!"
  speechBubblePosition="top"
  speechBubbleColor="blue"
/>

// Full customization
<BrainMascot
  expression="celebration"
  handGesture="applause"
  handDisplay="right"
  size="large"
  color="blue"
  animate={true}
  glasses={true}
  coffeeMug={true}
  hat={true}
  speechText="Amazing work!"
  speechBubblePosition="right"
  speechBubbleColor="blue"
  onExpressionChange={(newExpression) => {
    console.log('Expression changed to:', newExpression);
  }}
  onHandGestureChange={(newGesture) => {
    console.log('Hand gesture changed to:', newGesture);
  }}
  onHandDisplayChange={(newDisplay) => {
    console.log('Hand display changed to:', newDisplay);
  }}
/>

// Available expressions:
// Basic: 'neutral', 'happy', 'sad', 'excited', 'confused', 'thinking'
// Emotions: 'surprised', 'angry', 'sleepy', 'winking', 'focused', 'worried'
// Advanced: 'love', 'dizzy', 'crying', 'laughing', 'skeptical', 'proud'
// Personality: 'shy', 'mischievous', 'fighter'
// Reactions: 'thumbsUp', 'thumbsDown', 'applause', 'disapproval'
// Special: 'amazed', 'satisfied', 'bored', 'celebration'

// Reaction helper:
import { getReactionExpression } from '@/components/BrainMascot';
const randomPositive = getReactionExpression('positive');

// Available hand gestures:
// 'none', 'thumbsUp', 'thumbsDown', 'wave', 'applause', 
// 'pointUp', 'pointDown', 'openHands'

// Available hand display options:
// 'both', 'left', 'right', 'none'

// Available colors: 'purple', 'blue', 'green', 'amber', 'red'
// Available sizes: 'small', 'medium', 'large'
// Speech positions: 'top', 'bottom', 'left', 'right'
// Speech bubble colors: 'white', 'purple', 'blue', 'green', 'amber', 'red'

Features

  • • 28 different expressions with unique animations
  • • Independent hand gesture system (8 gestures)
  • • Configurable hand display (left, right, both, none)
  • • Optional glasses accessory with glint effects
  • • Coffee mug accessory with animated steam
  • • Graduation cap accessory with animated tassel
  • • Combine any expression with any hand gesture
  • • Reaction system with thumbs up/down and more
  • • 5 color themes to match your brand
  • • 3 size options (small, medium, large)
  • • Speech bubbles with customizable text and colors
  • • 4 speech bubble positions (top, bottom, left, right)
  • • Smooth Framer Motion animations
  • • Interactive click handling

Expression Details

  • Hand Gestures: Thumbs up/down, waving, applause
  • Configurable Display: Show left, right, both, or no hands
  • Independent Control: Mix any expression + gesture + display
  • Example: Happy + left thumb up, excited + right wave
  • Animations: Hands have their own motion cycles
  • Celebration: Closed eyes, huge smile, hearts + sparkles
  • Love: Heart eyes, wide smile, floating hearts
  • And 21 more... Each with unique animations