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/verify-setup.sh
View on GitHub#!/bin/bash
# Inspira UI Setup Verification Script
# Verifies that all required dependencies and configurations are in place
set -e
echo "π Inspira UI Setup Verification"
echo "================================="
echo ""
# Color codes for output
RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
NC='\033[0m' # No Color
ERRORS=0
WARNINGS=0
# Function to check if a package exists in package.json
check_package() {
local pkg=$1
local required=$2
if [ -f "package.json" ]; then
if grep -q "\"$pkg\"" package.json 2>/dev/null; then
echo -e "${GREEN}β
$pkg${NC}"
return 0
else
if [ "$required" = "required" ]; then
echo -e "${RED}β $pkg (MISSING - required)${NC}"
((ERRORS++))
else
echo -e "${YELLOW}β οΈ $pkg (not installed - optional)${NC}"
((WARNINGS++))
fi
return 1
fi
else
echo -e "${RED}β package.json not found${NC}"
((ERRORS++))
return 1
fi
}
# Function to check if a file contains a string
check_file_contains() {
local file=$1
local pattern=$2
local description=$3
local required=$4
if [ -f "$file" ]; then
if grep -q "$pattern" "$file" 2>/dev/null; then
echo -e "${GREEN}β
$description${NC}"
return 0
else
if [ "$required" = "required" ]; then
echo -e "${RED}β $description (MISSING in $file)${NC}"
((ERRORS++))
else
echo -e "${YELLOW}β οΈ $description (not found in $file)${NC}"
((WARNINGS++))
fi
return 1
fi
else
echo -e "${YELLOW}β οΈ $file not found${NC}"
((WARNINGS++))
return 1
fi
}
echo "π¦ Checking Core Dependencies..."
echo "--------------------------------"
check_package "clsx" "required"
check_package "tailwind-merge" "required"
check_package "class-variance-authority" "required"
check_package "tw-animate-css" "required"
check_package "@vueuse/core" "required"
check_package "motion-v" "required"
echo ""
echo "π¦ Checking Optional Dependencies..."
echo "-------------------------------------"
check_package "three" "optional"
check_package "@types/three" "optional"
check_package "ogl" "optional"
check_package "gsap" "optional"
check_package "canvas-confetti" "optional"
echo ""
echo "π¨ Checking CSS Configuration..."
echo "---------------------------------"
# Find CSS files
CSS_FILES=""
for pattern in "src/assets/main.css" "assets/main.css" "src/styles/main.css" "styles/main.css" "app.css" "src/app.css"; do
if [ -f "$pattern" ]; then
CSS_FILES="$pattern"
break
fi
done
if [ -z "$CSS_FILES" ]; then
# Try to find any CSS file with tailwind import
CSS_FILES=$(find . -name "*.css" -path "./src/*" -o -name "*.css" -path "./assets/*" 2>/dev/null | head -1)
fi
if [ -n "$CSS_FILES" ]; then
echo "Found CSS file: $CSS_FILES"
check_file_contains "$CSS_FILES" '@import "tailwindcss"' "TailwindCSS import" "required"
check_file_contains "$CSS_FILES" '@import "tw-animate-css"' "tw-animate-css import" "required"
check_file_contains "$CSS_FILES" "var(--background)" "CSS variables (--background)" "required"
check_file_contains "$CSS_FILES" "var(--foreground)" "CSS variables (--foreground)" "required"
check_file_contains "$CSS_FILES" "@theme inline" "@theme inline block" "required"
check_file_contains "$CSS_FILES" "--destructive-foreground" "Destructive foreground variable" "required"
else
echo -e "${YELLOW}β οΈ No main CSS file found. Create one in src/assets/main.css or similar.${NC}"
((WARNINGS++))
fi
echo ""
echo "π οΈ Checking CN Utility..."
echo "---------------------------"
# Find utils file
UTILS_FILES=""
for pattern in "lib/utils.ts" "src/lib/utils.ts" "utils/index.ts" "src/utils/index.ts"; do
if [ -f "$pattern" ]; then
UTILS_FILES="$pattern"
break
fi
done
if [ -n "$UTILS_FILES" ]; then
echo "Found utils file: $UTILS_FILES"
check_file_contains "$UTILS_FILES" "export function cn" "cn() utility function" "required"
check_file_contains "$UTILS_FILES" "twMerge" "tailwind-merge usage" "required"
check_file_contains "$UTILS_FILES" "clsx" "clsx usage" "required"
else
echo -e "${RED}β CN utility file not found. Create lib/utils.ts${NC}"
((ERRORS++))
fi
echo ""
echo "π Checking Project Structure..."
echo "---------------------------------"
if [ -d "components/ui" ] || [ -d "src/components/ui" ]; then
echo -e "${GREEN}β
components/ui directory exists${NC}"
else
echo -e "${YELLOW}β οΈ components/ui directory not found (create when copying components)${NC}"
((WARNINGS++))
fi
if [ -f "tsconfig.json" ]; then
echo -e "${GREEN}β
TypeScript configured${NC}"
else
echo -e "${YELLOW}β οΈ tsconfig.json not found (TypeScript recommended)${NC}"
((WARNINGS++))
fi
# Check for Vue or Nuxt
if [ -f "nuxt.config.ts" ] || [ -f "nuxt.config.js" ]; then
echo -e "${GREEN}β
Nuxt project detected${NC}"
elif grep -q '"vue"' package.json 2>/dev/null; then
echo -e "${GREEN}β
Vue project detected${NC}"
else
echo -e "${YELLOW}β οΈ Neither Vue nor Nuxt detected in package.json${NC}"
((WARNINGS++))
fi
echo ""
echo "π Verification Summary"
echo "======================="
if [ $ERRORS -eq 0 ] && [ $WARNINGS -eq 0 ]; then
echo -e "${GREEN}π All checks passed! Your Inspira UI setup is complete.${NC}"
echo ""
echo "Next steps:"
echo "1. Browse components at https://inspira-ui.com/components"
echo "2. Copy components into your components/ui/ directory"
echo "3. Import and use in your pages/components"
elif [ $ERRORS -eq 0 ]; then
echo -e "${YELLOW}β οΈ Setup mostly complete with $WARNINGS warning(s).${NC}"
echo ""
echo "Warnings are optional dependencies or non-critical configurations."
echo "Your project should work fine, but consider addressing the warnings."
else
echo -e "${RED}β Setup incomplete with $ERRORS error(s) and $WARNINGS warning(s).${NC}"
echo ""
echo "Please fix the errors above before using Inspira UI components."
echo "Refer to references/SETUP.md for complete setup instructions."
exit 1
fi
echo ""
echo "For detailed setup instructions: references/SETUP.md"
echo "For troubleshooting: references/TROUBLESHOOTING.md"
echo ""
exit 0
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 |