Materializr
開源參數式 3D CAD 給創客 — 受限草圖、實體建模、螺紋、SVG 與文字雕刻、STL/STEP 匯出。Android、iPad、Linux、Mac、Windows。Vibe 編碼。
AI 翻譯
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Animated border beam effect for React. A glowing light trail that travels along the border of any element. Named after the samurai — the beam cuts along edges like a blade catching light.
翻譯準備中
取自儲存庫 README
正在載入完整 README。 以下為已儲存的摘錄。
Animated border beam effect for React. A glowing light trail that travels along the border of any element.
Named after Akira Kurosawa's epic 1961 samurai film Yojimbo, starring the legendary Toshiro Mifune. The effect is inspired by the gleam of a samurai sword — a sharp, luminous edge that catches the light as it moves.
Drop the component inside any element with position: relative and a border-radius. No CSS import needed — keyframes are injected automatically.檢視完整 README ↗Named after Akira Kurosawa's epic 1961 samurai film Yojimbo, starring the legendary Toshiro Mifune. The effect is inspired by the gleam of a samurai sword — a sharp, luminous edge that catches the light as it moves.
npm install yojimbo
Drop the <Yojimbo /> component inside any element with position: relative and a border-radius. No CSS import needed — keyframes are injected automatically.
import { Yojimbo } from "yojimbo";
function Card() {
return (
<div className="relative rounded-2xl border border-gray-800 bg-gray-900 p-6">
<Yojimbo />
<h2>Your content here</h2>
</div>
);
}
<Yojimbo colorFrom="#3B82F6" colorTo="#8B5CF6" />
<Yojimbo beams={1} speed={30} />
<Yojimbo direction="counterclockwise" glowBlur={40} glowOpacity={0.9} />
<Yojimbo colorFrom="#FF6B6B" colorTo="#4ECDC4" colorFromSize={120} colorToSize={60} />
<Yojimbo glow={false} />
| Prop | Type | Default | Description |
|---|---|---|---|
colorFrom | string | "#3B82F6" | Leading edge color of the beam. Accepts any CSS color value (hex, rgb, rgba, hsl). |
colorTo | string | "#8B5CF6" | Trailing edge color of the beam. Accepts any CSS color value. |
size | number | 250 | Overall beam size in pixels. |
colorFromSize | number | size / 3 | Size of the leading color blob in pixels. |
colorToSize | number | size / 3 | Size of the trailing color blob in pixels. |
speed | number | 20 | Duration of a full loop in seconds. Higher = slower. |
thickness | number | 1 | Visible border thickness in pixels. |
blur | number | 12 | Blur amount for the beam in pixels. |
glowBlur | number | 30 | Blur amount for the outer glow in pixels. |
glowOpacity | number | 0.7 | Opacity of the outer glow (0 to 1). |
glow | boolean | true | Whether to show the outer glow effect. |
beams | 1 | 2 | 2 | Number of beams. Two beams are positioned on opposite sides. |
direction | "clockwise" | "counterclockwise" | "clockwise" | Direction of beam movement. |
className | string | — | Additional CSS class name. |
overflow: hiddenmask: content-box exclude cuts out the interior, leaving only a thin border strip visibleoffset-path: border-boxcolorFrom + trailing colorTo) create the gradient trailposition: relative and a border-radiusUses CSS offset-path: border-box which is supported in all modern browsers (Chrome 116+, Firefox 125+, Safari 18+).
MIT