accent-animations
БесплатноБез исполняемых скриптовНе проверенExpert knowledge for decorative accent animations - floating shapes, glowing orbs, animated borders, sparkle effects, and embellishments that add visual…
от TheLobbi★ 22 звезды на GitHubОб этом скилле
Accent Animations Skill
Expert knowledge for decorative accent animations - floating shapes, glowing orbs, animated borders, sparkle effects, and embellishments that add visual polish and delight to interfaces.
When to Use
Activate this skill when:
- User wants decorative floating elements
- Adding glowing or shimmer effects
- Creating animated borders or outlines
- Building sparkle or confetti effects
- Need subtle ambient animations
- Adding visual polish to sections
File Patterns
**/*.tsxwith decorative components**/components/Accent*.tsx**/components/Decoration*.tsx**/components/*Sparkle*.tsx
Accent Animation Types
1. Floating Shapes
Floating Orbs
import { motion } from 'framer-motion';
interface OrbProps {
color?: string;
size?: number;
blur?: number;
duration?: number;
}
export function FloatingOrb({
color = '#667eea',
size = 300,
blur = 80,
duration = 20,
}: OrbProps) {
return (
<motion.div
className="absolute rounded-full pointer-events-none"
style={{
width: size,
height: size,
background: `radial-gradient(circle, ${color} 0%, transparent 70%)`,
filter: `blur(${blur}px)`,
}}
animate={{
x: [0, 100, -50, 0],
y: [0, -80, 40, 0],
scale: [1, 1.2, 0.9, 1],
}}
transition={{
duration,
repeat: Infinity,
ease: 'easeInOut',
}}
/>
);
}
export function FloatingOrbs() {
return (
<div className="absolute inset-0 -z-10 overflow-hidden">
<FloatingOrb color="#667eea" size={400} className="top-20 left-20" />
<FloatingOrb color="#764ba2" size={300} duration={25} className="bottom-40 right-20" />
<FloatingOrb color="#f093fb" size={250} duration={18} className="top-1/2 left-1/3" />
</div>
);
}
Floating Geometric Shapes
const shapes = ['circle', 'square', 'triangle'] as const;
interface FloatingShapeProps {
shape: typeof shapes[number];
size?: number;
color?: string;
duration?: number;
delay?: number;
}
export function FloatingShape({
shape,
size = 20,
color = 'rgba(99, 102, 241, 0.3)',
duration = 15,
delay = 0,
}: FloatingShapeProps) {
const shapeStyles = {
circle: { borderRadius: '50%' },
square: { borderRadius: '4px' },
triangle: {
clipPath: 'polygon(50% 0%, 0% 100%, 100% 100%)',
borderRadius: '0',
},
};
return (
<motion.div
style={{
width: size,
height: size,
backgroundColor: color,
...shapeStyles[shape],
}}
animate={{
y: [0, -30, 0],
x: [0, 15, -15, 0],
rotate: [0, 180, 360],
opacity: [0.3, 0.6, 0.3],
}}
transition={{
duration,
delay,
repeat: Infinity,
ease: 'easeInOut',
}}
/>
);
}
export function FloatingShapes({ count = 15 }: { count?: number }) {
const items = Array.from({ length: count }, (_, i) => ({
id: i,
shape: shapes[i % shapes.length],
size: Math.random() * 30 + 10,
x: Math.random() * 100,
y: Math.random() * 100,
duration: Math.random() * 10 + 10,
delay: Math.random() * 5,
}));
return (
<div className="absolute inset-0 -z-10 overflow-hidden pointer-events-none">
{items.map((item) => (
<div
key={item.id}
className="absolute"
style={{ left: `${item.x}%`, top: `${item.y}%` }}
>
<FloatingShape
shape={item.shape}
size={item.size}
duration={item.duration}
delay={item.delay}
/>
</div>
))}
</div>
);
}
2. Glow Effects
Pulsing Glow
export function PulsingGlow({
color = '#667eea',
size = 200,
}: {
color?: string;
size?: number;
}) {
return (
<motion.div
className="absolute rounded-full pointer-events-none"
style={{
width: size,
height: size,
background: `radial-gradient(circle, ${color}40 0%, transparent 70%)`,
}}
animate={{
scale: [1, 1.5, 1],
opacity: [0.5, 0.8, 0.5],
}}
transition={{
duration: 3,
repeat: Infinity,
ease: 'easeInOut',
}}
/>
);
}
Glow Border
export function GlowBorder({
children,
color = '#667eea',
}: {
children: React.ReactNode;
color?: string;
}) {
return (
<div className="relative">
<motion.div
className="absolute -inset-0.5 rounded-xl opacity-75 blur-sm"
style={{ background: color }}
animate={{
opacity: [0.5, 0.8, 0.5],
}}
transition={{
duration: 2,
repeat: Infinity,
ease: 'easeInOut',
}}
/>
<div className="relative bg-slate-900 rounded-xl">{children}</div>
</div>
);
}
Rainbow Glow Border
export function RainbowGlowBorder({ children }: { children: React.ReactNode }) {
ret
Установить accent-animations в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл accent-animations?
Expert knowledge for decorative accent animations - floating shapes, glowing orbs, animated borders, sparkle effects, and embellishments that add visual polish and delight to interfaces.
Как установить скилл accent-animations?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл accent-animations запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic