secondsky/claude-skills / plugins/inspira-ui/skills/inspira-ui
inspira-ui
Verified120+ Vue/Nuxt animated components with TailwindCSS v4, motion-v, GSAP, Three.js. Use for hero sections, 3D effects, interactive backgrounds, or encountering setup, CSS variables, motion-v integration errors.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 10.0 KB |
| references/CODE_PATTERNS.md | markdown | 11.3 KB |
| references/SETUP.md | markdown | 7.4 KB |
| references/TROUBLESHOOTING.md | markdown | 8.3 KB |
| references/components-list.md | markdown | 11.6 KB |
| scripts/setup-inspira.shexecutable | script | 3.2 KB |
| scripts/verify-setup.shexecutable | script | 6.1 KB |
scripts/setup-inspira.sh
View on GitHub#!/bin/bash
# Inspira UI Setup Script
# Automates the installation and configuration of Inspira UI dependencies
set -e
echo "π¨ Inspira UI Setup Script"
echo "=========================="
echo ""
# Detect package manager
if command -v bun &> /dev/null; then
PM="bun"
ADD_CMD="bun add"
ADD_DEV_CMD="bun add -d"
echo "β
Detected: Bun"
elif command -v pnpm &> /dev/null; then
PM="pnpm"
ADD_CMD="pnpm add"
ADD_DEV_CMD="pnpm add -D"
echo "β
Detected: pnpm"
elif command -v npm &> /dev/null; then
PM="npm"
ADD_CMD="npm install"
ADD_DEV_CMD="npm install -D"
echo "β
Detected: npm"
else
echo "β No package manager found. Please install bun, npm, or pnpm."
exit 1
fi
echo ""
# Check for existing TailwindCSS (v4 is CSS-first: no tailwind.config.* required)
if grep -rq '@import "tailwindcss"' --include="*.css" . 2>/dev/null; then
echo "β
TailwindCSS v4 detected (CSS-first @import)"
elif [ -f "tailwind.config.js" ] || [ -f "tailwind.config.ts" ]; then
echo "β
TailwindCSS config detected (v3-style JS config)"
else
echo "β οΈ No TailwindCSS setup found. Make sure to install TailwindCSS v4+"
echo " v4 uses a CSS-first setup: @import \"tailwindcss\" in your main CSS."
echo " Visit: https://tailwindcss.com/docs/installation"
fi
echo ""
echo "π¦ Installing core dependencies..."
$ADD_DEV_CMD clsx tailwind-merge class-variance-authority tw-animate-css
echo ""
echo "π¦ Installing animation dependencies..."
$ADD_CMD @vueuse/core motion-v
echo ""
read -p "Install Three.js? (for 3D components) [y/N]: " install_three
if [[ $install_three =~ ^[Yy]$ ]]; then
echo "π¦ Installing Three.js..."
$ADD_CMD three @types/three
fi
echo ""
read -p "Install OGL? (for WebGL components) [y/N]: " install_ogl
if [[ $install_ogl =~ ^[Yy]$ ]]; then
echo "π¦ Installing OGL..."
$ADD_CMD ogl
fi
echo ""
read -p "Install GSAP? (for advanced animations) [y/N]: " install_gsap
if [[ $install_gsap =~ ^[Yy]$ ]]; then
echo "π¦ Installing GSAP..."
$ADD_CMD gsap
fi
echo ""
echo "β
Dependencies installed!"
echo ""
# Create utils directory if it doesn't exist
if [ ! -d "lib" ] && [ ! -d "utils" ]; then
echo "π Creating lib directory..."
mkdir -p lib
UTILS_DIR="lib"
elif [ -d "lib" ]; then
UTILS_DIR="lib"
else
UTILS_DIR="utils"
fi
# Create cn utility if it doesn't exist
if [ ! -f "$UTILS_DIR/utils.ts" ]; then
echo "π Creating cn utility at $UTILS_DIR/utils.ts..."
cat > "$UTILS_DIR/utils.ts" << 'EOF'
import { type ClassValue, clsx } from "clsx";
import { twMerge } from "tailwind-merge";
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs));
}
export type ObjectValues<T> = T[keyof T];
EOF
echo "β
Created $UTILS_DIR/utils.ts"
else
echo "β
Utils file already exists at $UTILS_DIR/utils.ts"
fi
echo ""
echo "π Next steps:"
echo "1. Add CSS variables to your main.css (see SKILL.md for complete setup)"
echo "2. Follow motion-v setup guide: https://motion.dev/docs/vue"
echo "3. Browse components at: https://inspira-ui.com/components"
echo "4. Copy and paste components into your project"
echo ""
echo "π Setup complete! Start building with Inspira UI!"
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation). | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |