Skip to content

secondsky/claude-skills / plugins/inspira-ui/skills/inspira-ui

inspira-ui

Verified

120+ 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.

FileKindSize
SKILL.mdskill md10.0 KB
references/CODE_PATTERNS.mdmarkdown11.3 KB
references/SETUP.mdmarkdown7.4 KB
references/TROUBLESHOOTING.mdmarkdown8.3 KB
references/components-list.mdmarkdown11.6 KB
scripts/setup-inspira.shexecutablescript3.2 KB
scripts/verify-setup.shexecutablescript6.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!"
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: 322kUpdated Claude CodeCodexVerifiedInstall
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: 198kUpdated Claude CodeCodexVerifiedInstall
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: 198kUpdated Claude CodeCodexVerifiedInstall
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: 198kUpdated Claude CodeCodexVerifiedInstall