Meteors
Meteors renders a configurable number of moving streaks.
Practical React example
Use a small meteor field as decoration behind a static product message.
Before you copy and paste
Match the imported component’s client or server rendering boundary before using the example. Copy components/magicui/meteors.tsx and its returned support files from the Code tab; preserve the project-relative paths. Include the returned styles: components/magicui/meteors.css.
Use the Code tab for the component files and installation instructions, then adapt the imports in this example to your project.
Use a small meteor field as decoration behind a static product message
// Usage adapted from Magic UI's pinned MIT source.
// Copyright (c) Magic UI. See ./LICENSES.md.
'use client';
import { Meteors } from "@/components/magicui/meteors"
export function ComponentExample() {
return (
<div className="relative h-[500px] w-full overflow-hidden">
<Meteors />
</div>
);
}
Usage example adapted from Magic UI's pinned MIT source. Retain the source licence notices when copying.
Place the effect in a clipped, relatively positioned visual region and keep important content in a separate readable layer.
Customization
- MeteorsProps.number
- Optional; number.
- MeteorsProps.minDelay
- Optional; number.
- MeteorsProps.maxDelay
- Optional; number.
- MeteorsProps.minDuration
- Optional; number.
- MeteorsProps.maxDuration
- Optional; number.
- MeteorsProps.angle
- Optional; number.
- MeteorsProps.className
- Optional; string.
Integration notes
- Particle count and duration affect ongoing rendering cost; measure on the devices you support.
- Provide a static reduced-motion view and keep decorative elements out of the accessibility tree.
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.
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.