aktonay/skillz / skills/design/react-bits
react-bits
VerifiedOver 215+ animated, interactive, copy-paste React micro-components and effects (text animations, interactive backgrounds, physics cards, custom cursors, blobs, and dock bars).
src/constants/code/Animations/laserFlowCode.js
View on GitHubimport code from '@content/Animations/LaserFlow/LaserFlow.jsx?raw';
import css from '@content/Animations/LaserFlow/LaserFlow.css?raw';
import tailwind from '@tailwind/Animations/LaserFlow/LaserFlow.jsx?raw';
import tsCode from '@ts-default/Animations/LaserFlow/LaserFlow.tsx?raw';
import tsTailwind from '@ts-tailwind/Animations/LaserFlow/LaserFlow.tsx?raw';
export const laserFlow = {
usage: `import { useRef } from 'react';
import LaserFlow from './LaserFlow';
export default function Hero() {
const cardRef = useRef(null);
return (
<div style={{ position: 'relative', height: '600px', overflow: 'hidden' }}>
<LaserFlow
surfaceRef={cardRef}
beamPosition={0.6}
color="#3847ff"
intensity={1.8}
flare={1.5}
spread={1.5}
spill={1}
fog={0.2}
dust={1.6}
revealImage="/your-ui.png"
revealRadius={220}
revealOpacity={0.6}
/>
<div
ref={cardRef}
style={{
position: 'absolute',
left: '18%',
right: '28%',
top: '52%',
bottom: '-24px',
borderRadius: '14px',
background: '#0b0b0d'
}}
>
{/* Your content here */}
</div>
</div>
);
}`,
code,
css,
tailwind,
tsCode,
tsTailwind
};
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: 319k | 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: 196k | 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: 196k | 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: 196k | Updated | Claude CodeCodex | Verified | Install |