Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

fix: update border beams docs

Dillion Verma5fb2f62c88be
diff --git a/content/docs/components/border-beam.mdx b/content/docs/components/border-beam.mdx
index 4dee8749..ef8532b8 100644
--- a/content/docs/components/border-beam.mdx
+++ b/content/docs/components/border-beam.mdx
@@ -55,18 +55,14 @@ npx shadcn@latest add "https://magicui.design/r/border-beam"
## Usage
-Just place the border beam component inside a div with `relative` positioning, and `overflow-hidden`. You will notice the beam automatically moves around the perimeter of it's container.
-
```tsx
import { BorderBeam } from "@/components/magicui/border-beam.tsx";
+```
-export default async function App() {
- return (
- <div className="relative overflow-hidden">
- <BorderBeam />
- </div>
- );
-}
+```tsx
+<div className="relative overflow-hidden">
+ <BorderBeam />
+</div>
```
## Props