Rendyn

Component library

189 components

Interaction

Neon Gradient Card

Neon Gradient Card separates a decorative border and glow from the card’s children.

Interactive exampleReact Tailwind CSS

Practical React example

Frame a promotional card with a colored border while keeping its content quiet and legible.

Before you copy and paste

Match the imported component’s client or server rendering boundary before using the example. Copy components/magicui/neon-gradient-card.tsx and its returned support files from the Code tab; preserve the project-relative paths. Include the returned styles: components/magicui/neon-gradient-card.css.

Use the Code tab for the component files and installation instructions, then adapt the imports in this example to your project.

Frame a promotional card with a colored border while keeping its content quiet and legible

// Usage adapted from Magic UI's pinned MIT source.
// Copyright (c) Magic UI. See ./LICENSES.md.
'use client';

import { NeonGradientCard } from "@/components/magicui/neon-gradient-card"

export function ComponentExample() {
  return (
    <NeonGradientCard>
  <div className="p-4">
    <p>Hello</p>
    <span>Hover me</span>
  </div>
</NeonGradientCard>
  );
}

Usage example adapted from Magic UI's pinned MIT source. Retain the source licence notices when copying.

Size the card for its real content and choose neon colors that do not wash out nearby text or focus rings.

Customization

NeonColorsProps.firstColor
Required; string.
NeonColorsProps.secondColor
Required; string.
NeonGradientCardProps.as
Optional; ReactElement.
NeonGradientCardProps.className
Optional; string.
NeonGradientCardProps.children
Optional; ReactNode.
NeonGradientCardProps.borderSize
Optional; number.
NeonGradientCardProps.borderRadius
Optional; number.
NeonGradientCardProps.neonColors
Optional; NeonColorsProps.

Integration notes

  • The returned CSS provides part of the animated treatment and must be included.
  • A bright border is not a substitute for a clear selected, focused or error state.

Component source: Magic UI documentation . These examples describe the version imported into Rendyn. Upstream APIs may have changed; retain the source licence notices when adapting the code.

Better with your agent

Give your agent taste.

The best way to use Rendyn is through MCP. Let your agent find the right component, compare previews and bring the source into your project.

All components are free. Sign up only to connect MCP.

Connect to MCP