motion-ui-morph
यह क्या करती है
यह एक UI animation template है। यह एक ही shape को button, loader और chart जैसे अलग-अलग interface elements में बदलता है, और यह music के साथ sync होता है।
कब इस्तेमाल करें
- ✓UI transitions का visual demo बनाने के लिए।
- ✓किसी website या app में dynamic animation effect जोड़ने के लिए।
- ✓किसी design idea को रचनात्मक तरीके से दिखाने के लिए।
Skill का लिंक
https://github.com/nexu-io/open-design/blob/main/plugins/_official/examples/motion-ui-morph/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“एक UI animation बनाओ जो button को music की beat के साथ chart में बदल दे।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
Code एक ही shape का इस्तेमाल करता है, जो समय के साथ अपनी shape और काम दोनों बदलता है। एक cursor इन बदलावों को control करता है, और यह 14 सेकंड के soundtrack के साथ sync होता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
One-Shape UI Motion
A 14-second code-only UI motion piece, rebuilt from the viral original: one shape morphs from a button into a loader, player, slider, toggle, tabs, chart, command palette and toast, driven by a cursor at 120 BPM. example.html is the finished reference — start from it.
Source
A remake of a viral post by @twoclipping: https://x.com/twoclipping/status/2103273003555402193 (1.03M views · 12K likes · 20K bookmarks on X (as of 2026-10-05)). The composition is rebuilt in code from the published piece; the soundtrack is original.
Reference files
Copy example.html, assets/geist-OFL.txt, assets/geist-medium.ttf, assets/geist-regular.ttf, assets/geist-semibold.ttf, assets/gsap.min.js, assets/soundtrack.mp3 into the composition, preserving the assets/ path.
Font licenses travel with their fonts. Use these frozen local bytes; no runtime
script or font CDN is needed.
Art direction
- Warm light-gray canvas
#EDEDE8, black#0A0A0Aand white components, toggle track#D0D1CA; one soft drop shadow. - Font (SIL OFL, bundled): Geist Regular, Medium and SemiBold.
- The original is a 1440×1440 square; this reference keeps its scale on a 1920×1080 stage.
Beat map (14s)
- 120 BPM, 7 bars: Generate button → loader → check → dynamic island → music player (play/pause morph, scrub) → volume slider that stretches past max → toggle → liquid tab indicator → chart that draws itself with a hover tooltip and a Week switch → ⌘K palette (type "frame", enter) → toast → Generate button.
- The last frame matches the first, so it loops.
Adapting the template
- Replace the UI states in
SHAPEand their contents; keep one shape that never cuts, springs summed per change, and a cursor that causes every change.
How the reference is built
- One composition root with canvas layers. A single
render(t)draws the whole frame from the master timeline timet; constants at the top hold copy, palette and timing so the film can be re-themed in one place. - Every visible value is a pure function of
t(eases, springs or keyframes evaluated from time). No state carries between frames.
Preview and video export
Keep the stage edge to edge in both gallery and MP4 capture. Playback controls are an overlay that stays transparent until hovered or focused; never reserve stage space for them or include them in the poster. Inside an Open Design project the motion source player fits the stage and owns the controls, so the preview shell yields its own fit and controls there.
The GSAP master timeline is the only clock. Render every visible layer from
its current time in the per-frame loop: export seeks suppress timeline
callbacks. Schedule the next animation frame before drawing so one failed
frame cannot stop the loop. Backward seeks must reproduce identical frames.
Await bundled fonts before playback and signal preview-ready at a legible hero
frame. Preserve window.__timelines and the composition's timing attributes.
Avoid large canvas gradients and per-pixel noise: they make every captured
frame expensive and slow the MP4 export.
Sound
assets/soundtrack.mp3 is an original 14-second score made for this template
and timed to its beats; no audio from the source video is used.
The music is part of the look being remade. These rules replace the general
sound guidance for this remake; apply the first one that matches the brief:
- The user asks for no music: remove the
<audio>element, do not copy the file, and freezemotionDelivery.audioassilent. - The user supplies an audio file and asks to use it: copy it into the film's
assets/and point<audio id="soundtrack">at it. - Otherwise keep this score, including when the brief asks for different music, a genre or a mood. This flow cannot generate music: never generate, download or synthesize audio, and do not add voiceover.
Under rules 2 and 3, freeze motionDelivery.audio as required.
Keep id="soundtrack", data-start="0" and a numeric data-volume. Set
data-duration to the shorter of the music and the film (the film's length
when the music's length is unknown); the export fades the music out there.
Never use loop: in a film longer than the music, the music plays once and the
rest is silent.
Do not add a music note to the final reply. Only when a music or voiceover request could not be met, say so in one short sentence.
The <audio> element stays inside the composition root; the desktop exporter
…
अक्सर पूछे जाने वाले सवाल
क्या मैं colors और fonts बदल सकता हूँ?
हाँ, colors बदले जा सकते हैं और साथ आए fonts का इस्तेमाल करके look को अपने हिसाब से customize किया जा सकता है।
क्या animation बहुत लंबी है?
मुख्य animation 14 सेकंड की है और इसे बिना रुकावट के loop होने के लिए बनाया गया है।
क्या इसे चलाने के लिए internet चाहिए?
नहीं, ज़रूरी सभी files (code, fonts और music) पहले से शामिल हैं, इसलिए इसे चलाने के लिए internet की ज़रूरत नहीं है।
जानकारी
लेखक का मूल विवरण
One-Shape UI Motion — motion design template. A 14-second code-only UI motion piece, rebuilt from the viral original: one shape morphs from a button into a loader, player, slider, toggle, tabs, chart, command palette and toast, driven by a cursor at 120 BPM.
repo: nexu-io/open-design
लोकप्रियता
- GitHub स्टार
- 101k
- रैंकिंग में स्थान
- #1034
- लाइसेंस
- Apache-2.0
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
sample-plugin
101kआपके एजेंट से टेस्ट के लिए metadata file बनवाता है। इससे पक्का होता है कि कोड अलग-अलग स्थितियों में सही चलता है।
aster-atelier
101kआपके एजेंट से क्लासिक लुक वाली एक कलात्मक website बनवाता है। इसमें खूबसूरत इमेज, नीला आसमान और serif fonts इस्तेमाल होते हैं, जिससे सिनेमाई एहसास मिलता है।
audio-jingle
101kआपके एजेंट से जिंगल्स और sound effects जैसा audio बनवाता है। यह music और voice बना सकता है और नतीजा audio file में सेव करता है।
blog-post
101kआपका एजेंट लंबे articles या blog posts लिखने में मदद करता है। इसमें images, quotes और author की जानकारी के लिए जगह भी होती है।
मिलती-जुलती skills
blender-motion-state-inspection
280kयह 3D animations की बारीक details देखने देता है। poses, movements और character alignment जाँचने के लिए यह उपयोगी है।
manim-video
280kआपके एजेंट को animated explainer videos बनाने देता है। यह तकनीकी विषयों के लिए साफ़ graphs और diagrams बनाने के लिए Manim का इस्तेमाल करता है।
remotion-video-creation
280kआपके एजेंट को Remotion लाइब्रेरी के साथ React में वीडियो बनाने का तरीका बताता है। इसमें animations, audio, captions और दूसरे विज़ुअल एलिमेंट्स के बेस्ट प्रैक्टिस शामिल हैं।