번들컴포넌트 8개스킬 1개
Product UI
@moga/product-ui · MOGA 공식
Show a product the way launch films do: a screenshot on a realistic phone, laptop or browser window, or on a phone or laptop in real 3D that turns and floats (three.js), plus a pointer that clicks, a notification, a callout and a spotlight. Devices modelled from scratch, in the scheme's colours, each arriving on its own, with the guide that teaches an agent to frame a screenshot and time the gestures on it.
npx -y moga hub-import @moga/product-ui버전 1.0.1MIT다운로드 39회즐겨찾기 0
2026년 12월 3일 업데이트
MOGA에서 사용
MOGA 라이브러리의 '온라인'에서 검색하거나 프로젝트 폴더에서 다음을 실행하세요:
npx -y moga hub-import @moga/product-ui포함된 항목
- 컴포넌트Browser frameA desktop browser window in the scheme's own surfaces: window dots, a tab, an address bar the address can be typed into, and a page showing a screenshot or the layers under it. The bar is 64 px tall at 1440 px wide (scales with the element), the page fills the rest. Rises into place on its own; set typeAt (or key typed) to type the address and scroll to scroll the page.
- 컴포넌트CalloutAn annotation pointing at something: a dot pops on the target, a line draws out from it, and a label lands at the line's end (on the side away from the target). The target pulses softly; it all folds away over the element's last 0.35 s. Place it over the whole frame; tx, ty and lx, ly are in its pixels and can be keyed to follow a moving target.
- 컴포넌트Cursor clickA pointer that glides from stop to stop on a soft arc and clicks where told: it dips as it presses and a ring spreads from the tip. Place it over the whole frame (or over a device's screen) and give stops in that box's pixels; it fades in at the first stop and out over its last 0.3 s. look: touch shows a fingertip instead, for phone demos.
- 컴포넌트3D deviceA phone or a laptop in real 3D (three.js), modelled from rounded shapes: metal lit by a soft studio, glass that catches the light, and a screen that shows a screenshot. It turns in on its own, the laptop's lid opens, and it floats gently. Key turn, tilt, open, zoom and scroll. Give it a roomy box (e.g. 900 × 900 for a phone, 1600 × 1000 for a laptop); the device fills about 80 % of it.
- 컴포넌트Laptop frameA realistic laptop from the front, drawn (thin black bezel with a camera, aluminium lid edge, slim base with a thumb scoop). Its lid opens on its hinge in perspective as it enters; its screen (16 : 10) shows a screenshot or lets the layers under it show through. Size the element about 3 : 2 (e.g. 1200 × 790). Key open (0 closed, 1 open) and scroll.
- 컴포넌트Phone frameA realistic phone, drawn (a metal band with light along its edges, black glass bezel, side buttons, a camera island or hole), showing a screenshot on its screen or letting the layers under it show through. Size the element to the phone (about 9 : 19.5, e.g. 420 × 910); its screen is inset 4.6 % of its width on every side. Rises into place on its own; key scroll to scroll the screenshot and tiltX / tiltY to lean it.
- 컴포넌트SpotlightDims everything but one place: the hole closes in from the whole frame onto its target like an iris, then follows x, y, w, h when they are keyed, so it can hop from one thing to the next. A thin ring in the primary colour outlines it. It fades away over the element's last 0.4 s. Place it over the whole frame, above what it points at; for a real zoom, key the camera with it.
- 컴포넌트Toast noteA notification that drops in on a spring and leaves over the element's last 0.4 s. banner is a frosted system notification (app icon, title and time, two lines of body; about 720 × 168, it scales with the width), toast a compact pill (about 480 × 64, it scales with the height), snackbar a dark bar with an action (about 760 × 60). Its type reads on video from those sizes up. Drawn in the scheme's colours, so it follows light and dark. Size the element to the notification.
- 스킬product-uiProduct demos and launch films that show an app or a site. Read before showing a screenshot on a device (a phone, a laptop, a browser, or a 3D phone or laptop that turns), or a pointer clicking, a notification, a callout or a spotlight on it; place a product UI component (phone-frame, laptop-frame, browser-frame, device-3d, cursor-click, toast-note, callout-note, spot-light) instead of drawing these from shapes.

