Add Depth and Movement to Your Icons with Shadows and Animations
Icon shadows and animations transform your view counter from static to spectacular. Add subtle depth with shadows or create eye-catching movement with animations—all without writing a single line of code. WhoKnew Views™ gives you complete control over when, how, and how long these effects play, making your counter as subtle or as bold as your brand demands.
✅ Available in: Free & Pro
🌑 Icon Shadows: Adding Depth & Dimension
Icon shadows create visual depth, making your view counter stand out from the page background. Shadows are especially effective on light backgrounds or when you want to add a premium, layered look.
Shadow Size Options
Navigate to WhoKnew → WhoKnew Views™ → Styling and locate the “Icon Shadow” dropdown:
| Shadow Size | Effect | Best For |
|---|---|---|
| None | No shadow (flat design) | Minimal designs, dark backgrounds |
| Small Shadow | Subtle depth (0 1px 2px) | Professional stores, light depth |
| Medium Shadow | Noticeable elevation (0 2px 4px) | Most stores, balanced depth |
| Large Shadow | Dramatic depth (0 3px 6px) | Bold designs, high contrast |
Shadow Color Customization
- Select a shadow size (Small, Medium, or Large)
- Scroll to “Icon Shadow Color”
- Click the color picker to choose your shadow color
- For natural shadows, use dark grays or blacks (#000000 to #666666)
- For creative effects, match your brand colors at lower opacity
💡 Pro Tip: Darker shadow colors create more dramatic depth. For a soft, elegant look, use light gray (#cccccc) with a larger shadow size. For bold impact, use black (#000000) with medium or large shadows.
🎬 Icon Shadow Animations
Static shadows are great, but animated shadows add movement and interactivity. Choose from five animation types to bring your icons to life.
Animation Types
In the “Icon Shadow Animation” dropdown, you’ll find:
| Animation | Behavior | Repeats? |
|---|---|---|
| Fixed | No animation (static shadow) | N/A |
| Fade | Shadow fades from solid to semi-transparent | One-time |
| Pulse | Shadow grows and shrinks rhythmically | Repeating |
| Grow | Shadow expands outward once | One-time |
| Pass | Shadow moves across the icon (light sweep effect) | One-time |
Animation Triggers
Control when shadow animations play using the “Icon Shadow Animation Trigger” setting:
- 🚫 None: Animation never plays (same as “Fixed”)
- 🖱️ On Mouseover: Animation plays when user hovers over the counter (desktop only)
⚠️ Note: “On Mouseover” triggers don’t work on mobile devices (no mouse). For mobile-visible animations, consider using icon animations instead (covered below).
Animation Timing Controls
Fine-tune your shadow animations with precise timing controls:
Animation Duration
- Set in “Icon Shadow Animation Duration (s)”
- Controls how long one animation cycle takes (e.g., 0.3s for quick, 2s for slow)
- Default: 0.3 seconds
- Range: 0.1s to 5s+
Animation Delay
- Set in “Icon Shadow Animation Delay (s)”
- Adds a pause before animation starts
- Options: None, 0.25s, 0.50s, 0.75s, 1s… up to 5s
- Useful for staggered animations on multiple products
✨ Icon Animations: Movement & Motion
While shadows add depth, icon animations create actual movement. These animations apply to the icon itself (not just its shadow) and work on all devices, including mobile.
Available Icon Animations
In the “Icon Animation” dropdown:
| Animation | Effect | Use Case |
|---|---|---|
| None | No animation (static icon) | Clean, minimal designs |
| Scale | Icon grows and shrinks | Draw attention, emphasize popularity |
| Rotate | Icon rotates 360° clockwise | Loading effect, modern look |
| Pulse | Icon pulses (subtle scale + opacity) | Gentle attention-grabbing, heartbeat effect |
| Spin | Continuous smooth rotation | Active/live indicator, loading state |
Icon Animation Triggers
Control when icon animations play using “Icon Animation Trigger”:
| Trigger | When It Happens | Device Support |
|---|---|---|
| On Load | Plays immediately when page loads | All devices ✅ |
| On Mouseover | Plays when user hovers over counter | Desktop only 🖥️ |
| On Scroll | Plays when counter scrolls into view | All devices ✅ |
✨ Pro Tip: “On Scroll” is the most versatile trigger—it works on all devices and creates a delightful reveal effect as users browse your products. “On Load” is great for immediate impact on featured products.
Icon Animation Timing
Animation Speed
- Set in “Icon Animation Speed”
- Controls how long one complete animation takes (e.g., one full rotation)
- Measured in seconds (e.g., 2s = 2 seconds per cycle)
- Slower speeds (3-5s) create elegant, smooth animations
- Faster speeds (0.5-1s) create energetic, attention-grabbing effects
Animation Delay
- Set in “Icon Animation Delay (s)”
- Options: None to 5 seconds in 0.25s increments
- Creates staggered effects when multiple products appear together
Animation Count
- Set in “Icon Animation Count”
- Infinite: Animation loops continuously (great for “Spin” or “Pulse”)
- Custom (1-10+): Animation plays a specific number of times then stops
- 1: One-time effect (perfect for “Scale” or “Rotate” on scroll)
⚠️ Performance Note: Use “Infinite” animations sparingly—too many continuous animations on a page can distract users and impact performance. Reserve infinite animations for featured products or hero sections.
🎨 Combining Shadows & Animations
The real magic happens when you combine shadows with animations. Here are some proven combinations:
Elegant Pulsing Shadow
- Shadow: Medium Shadow + Dark Gray (#333333)
- Shadow Animation: Pulse (Repeating)
- Icon Animation: None or Scale (subtle)
- Trigger: On Load
- Effect: Gentle breathing effect that draws attention without overwhelming
Bold Entrance Effect
- Shadow: Large Shadow + Black (#000000)
- Shadow Animation: Grow (One-Time)
- Icon Animation: Scale or Rotate (Count: 1)
- Trigger: On Scroll
- Effect: Dramatic reveal as product enters viewport
Interactive Hover State
- Shadow: Small Shadow + Brand Color
- Shadow Animation: Pass (One-Time)
- Icon Animation: Pulse
- Trigger: On Mouseover (both)
- Effect: Responsive, interactive feedback on desktop
Continuous Spinner (Active Indicator)
- Shadow: Medium Shadow + Gray
- Shadow Animation: Fixed
- Icon Animation: Spin (Infinite)
- Trigger: On Load
- Effect: Shows active engagement, “live” counter feel
Minimal Elegance
- Shadow: Small Shadow + Light Gray (#cccccc)
- Shadow Animation: Fixed
- Icon Animation: Scale (Count: 1)
- Trigger: On Scroll
- Effect: Subtle, professional reveal with light depth
🧪 Testing Your Effects in Live Preview
Always test your shadow and animation settings using the live preview before publishing:
- Make your shadow/animation changes in the Styling tab
- Watch the live preview update in real-time
- Test different triggers:
- On Load: Refresh the preview to see the effect
- On Mouseover: Hover over the counter in desktop preview
- On Scroll: Scroll the preview window to trigger
- Switch between Desktop and Mobile preview modes
- Adjust timing, colors, and sizes until perfect
💡 Pro Tip: Start conservative with animations—it’s easier to add more impact than to dial back from overwhelming effects. Test on actual product pages, not just the preview, to see how animations feel in context with your theme.
🔄 Per-Product Effects
Both Free and Pro users can apply unique shadow and animation combinations to individual products:
- On the Styling page, use “Apply Settings To” dropdown
- Select the product you want to customize
- Configure shadow and animation settings
- Click “Apply to This Product”
Strategic Per-Product Use Cases
- 🌟 Featured Products: Bold animations (Spin infinite, Large shadow)
- 🔥 Sale Items: Attention-grabbing (Pulse infinite + Pulse shadow)
- 🆕 New Arrivals: One-time entrance (Scale on scroll, Grow shadow)
- 💎 Premium Products: Elegant subtlety (Small shadow, Scale once)
- 📦 Standard Catalog: Minimal effects (Small shadow, no animation)
🐛 Common Issues & Solutions
Animation Not Playing
- Issue: Animation doesn’t trigger or appear
- Solutions:
- Check that animation is set to something other than “None”
- Verify trigger is appropriate (On Mouseover won’t work on mobile)
- Ensure Animation Count isn’t set to 0
- Clear browser and site cache
Shadow Not Visible
- Issue: Shadow is too faint or invisible
- Solutions:
- Increase shadow size (Medium or Large)
- Use darker shadow color (black or dark gray)
- Check that shadow isn’t the same color as background
- Test on different backgrounds
Animation Too Slow/Fast
- Issue: Animation speed doesn’t feel right
- Solutions:
- Adjust “Animation Speed” (lower = faster, higher = slower)
- For Spin: 2-4 seconds works well
- For Scale/Pulse: 1-2 seconds feels natural
- For Rotate (one-time): 0.5-1 second is snappy
Animations Feel Overwhelming
- Issue: Too much movement on page
- Solutions:
- Change infinite animations to Count: 1 or 2
- Use “On Scroll” trigger instead of “On Load”
- Reserve bold animations for featured products only
- Increase animation speed (slower = more elegant)
✅ Quick Checklist
Before finalizing your shadow and animation settings:
- ☑️ Shadow size and color complement icon color
- ☑️ Shadow animations (if any) match your brand’s energy level
- ☑️ Icon animations work on all devices (avoid mouseover-only)
- ☑️ Animation timing feels natural (not too fast or slow)
- ☑️ Infinite animations used sparingly (only on key products)
- ☑️ Triggers match user journey (scroll for discovery, load for featured)
- ☑️ Effects tested in live preview on desktop AND mobile
- ☑️ Per-product customizations applied where needed
- ☑️ Front-end tested on actual product pages