agentleFS
aakash1552005aakash1552005/universal-agent-skills/.agents/skills/21st-dev-components/SKILL.md

21st-dev-components

Skill4 starsChanged 12 days agoMITView on GitHub

21st.dev and Magic UI component library integration, animated Tailwind CSS & Framer Motion UI components, copy-paste production design blocks, and micro-interactions.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Add hover glow and spotlight effects (radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(255,255,255,0.06), transparent …

    line 73

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

21st.dev & Magic UI Component Engineering

Integrate cutting-edge, award-winning UI components, animated effects, glassmorphism headers, particle backgrounds, interactive bento grids, and micro-interactions from 21st.dev and Magic UI.

When to Use This Skill

  • Building interactive landing pages, dashboards, SaaS applications, and portfolio sites.
  • Implementing Framer Motion animations, Tailwind CSS dynamic utilities, and modern React components.
  • Adding high-conversion interactive elements (e.g., Animated Beam, Orbiting Circles, Globe, Marquee, Text Reveal, Border Beam).

Core Integration Patterns

1. Magic UI CLI Installation

# Add components via shadcn/ui or 21st.dev CLI
npx 21st install <component-name>
# or Magic UI components
npx shadcn@latest add "https://magicui.design/r/<component-name>"

2. Animated Border Beam (CSS/Tailwind)

export const BorderBeam = ({
  className,
  size = 200,
  duration = 15,
  anchor = 90,
  borderWidth = 1.5,
  colorFrom = "#ffaa40",
  colorTo = "#9c40ff",
  delay = 0,
}: {
  className?: string;
  size?: number;
  duration?: number;
  anchor?: number;
  borderWidth?: number;
  colorFrom?: string;
  colorTo?: string;
  delay?: number;
}) => {
  return (
    <div
      style={
        {
          "--size": size,
          "--duration": duration,
          "--anchor": anchor,
          "--border-width": borderWidth,
          "--color-from": colorFrom,
          "--color-to": colorTo,
          "--delay": `-${delay}s`,
        } as React.CSSProperties
      }
      className={cn(
        "pointer-events-none absolute inset-0 rounded-[inherit] [border:calc(var(--border-width)*1px)_solid_transparent]",
        "![mask-clip:padding-box,border-box] ![mask-composite:intersect] [mask:linear-gradient(transparent,transparent),linear-gradient(white,white)]",
        "after:absolute after:aspect-square after:w-[calc(var(--size)*1px)] after:animate-border-beam after:[animation-delay:var(--delay)] after:[background:linear-gradient(to_left,var(--color-from),var(--color-to),transparent)] after:[offset-anchor:calc(var(--anchor)*1%)_50%] after:[offset-path:rect(0_auto_auto_0_round_calc(var(--size)*1px))]",
        className,
      )}
    />
  );
};

3. Interactive Bento Grid Layout

  • Group high-priority KPIs and actions in varying card spans (col-span-2, col-span-1).
  • Combine gradient backdrops (bg-gradient-to-br from-neutral-900 to-neutral-950 border border-neutral-800).
  • Add hover glow and spotlight effects (radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(255,255,255,0.06), transparent 40%)).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.