Skip to Content
دليل المستخدم

تصميم الحركة والرسوم المتحركة

استخدم انتقالات الحالة والتسلسلات والأحداث والإطارات الرئيسية للخصائص والتسارع المخصص من دون إنشاء حركة متعارضة أو مشتتة.

تصميم الحركة والرسوم المتحركة

Use Design → Current element → Motion to control how a selected object changes state, enters the page, responds to an event, or moves through property keyframes.

Start with the smallest motion model that describes the result. State transitions are usually enough for hover and focus feedback. Use a basic sequence for entrance, emphasis, and exit effects. Open the advanced timeline only when individual CSS properties need their own keyframes.

Five-minute quick start

Add a simple entrance animation to a heading:

  1. Select the heading on the canvas or in Layers.
  2. Open Design, choose Current element, and expand Motion.
  3. Keep Animation editing mode set to Basic sequence.
  4. Add an entrance step and choose Fade in or Move up.
  5. Set Start to When entering the viewport.
  6. Start with a duration between 400 and 600 ms and use Natural or Decelerate easing.
  7. Use Preview in the Motion panel to replay the result.
  8. Check the page at desktop and mobile widths before publishing.

One restrained entrance is normally better than several effects competing for attention.

Choose the right motion model

ModelBest forExample
State transitionInterpolating a value when hover, focus, or active state changesA button background and scale change on hover
Basic sequenceOrdered entrance, emphasis, and exit effectsA heading fades in, then a CTA receives a soft pulse
Advanced timelineMultiple keyframes for individual propertiesOpacity, vertical position, and scale change at different times
Emphasis animationShort feedback on a meaningful objectA form error shakes once after validation

Do not use an advanced timeline merely because it offers more controls. A simpler model is easier to maintain and produces more predictable responsive behaviour.

State transitions

A state transition needs two things:

  1. A different property value in a visual state such as Hover, Focus, or Active.
  2. State transition enabled in Motion, with a duration and easing.

For example, to animate width from 100 px to 200 px:

  1. In the default state, open Layout → Size and set Width to 100px.
  2. Use the inspector’s state buttons to select Pointer over, then open Layout → Size and set Width to 200px.
  3. Select the Normal state, return to Motion and set State transition to Custom.
  4. Choose a duration and easing. The property summary should include Width.

Turning State transition off removes interpolation. The target state still changes, but it changes immediately.

Width and height transitions cause layout recalculation. Prefer opacity and transform for ordinary feedback, and animate dimensions only when the changing size communicates something useful.

Basic animation sequences

Basic sequence uses named effects instead of property tracks. It is the fastest way to build Keynote-style ordered motion.

Each step has:

  • A type: Entrance, Emphasis, or Exit.
  • An effect preset and optional direction.
  • A start rule.
  • Duration, delay, and easing.

The first step starts from an event. Later steps can also use:

  • With previous — starts at the same time as the previous step.
  • After previous — starts after the previous step and its delay finish.

Drag sequence rows to change their order. Keep the sequence short enough that visitors are not waiting for the page to become usable.

Animation events

The event determines when an animation or advanced timeline starts.

EventRecommended use
Page opensA restrained first-page entrance for important content
Enters viewportSections and cards that appear while the visitor scrolls
ClickExplicit feedback after a visitor activates an object
HoverOptional pointer feedback; never make essential information hover-only
FocusKeyboard focus feedback for links, buttons, and form controls
ActiveFeedback while an interactive object is being pressed

Use Play once for page and viewport entrances. Use Repeat on event only when repeating the response helps the visitor understand the interaction.

Advanced timeline

Advanced timeline lets each property have its own keyframes.

  1. Change Animation editing mode to Advanced timeline.
  2. Choose the trigger, playback policy, duration, delay, direction, and iteration count.
  3. Select Add track and choose a property.
  4. Select a keyframe diamond to edit its time, value, and easing.
  5. Drag a diamond horizontally to change its time. It snaps to common quarter points and matching keyframes on other tracks.
  6. Add more keyframes where the property needs another phase.
  7. Drag Preview position to inspect the animation at any point.

Keyframes cannot cross adjacent keyframes on the same track. Use the arrow keys for a 1% adjustment, or Shift with an arrow key for a 5% adjustment.

Available property tracks

PropertyTypical usePerformance note
OpacityFade or revealUsually inexpensive
X or Y positionSlides and subtle movementUses transform and is usually inexpensive
ScaleEmphasis or staged revealUses transform and is usually inexpensive
RotationIcons, badges, or short emphasisUse small angles unless rotation is meaningful
BlurSoft reveal or focus changeCan be costly over a large area
Width or HeightExpanding panels or measured objectsCauses layout work; use selectively
Background colourState or emphasis colour changesCheck contrast throughout the animation

Multiple position, scale, and rotation tracks are composed into one transform animation. Other property tracks run alongside it on the same timeline.

Scene timeline

Use the scene timeline when several objects in one section need a coordinated Keynote-style entrance or response.

  1. Give each object its own basic sequence or advanced property timeline.
  2. Select the section itself, open Design → Motion, then open Advanced adjustments.
  3. Select the objects to coordinate. Choose one Scene event when their relative timing must stay together.
  4. Drag a clip horizontally to change its start time. Drag the handle on its right edge to change duration.
  5. Choose Start together or After previous to arrange the selected objects automatically.
  6. Select one object and use Copy motion, then select other objects and use Paste motion when they should share the same effect.

The scene timeline edits the existing animation on each object; it does not create a competing animation system. For a basic sequence it edits the first event-driven group. Later click, hover, focus, or active groups remain independent.

The clip controls also work from the keyboard. Left and Right adjust by 50 ms, Shift with an arrow adjusts by 250 ms, and Home or End moves to the supported minimum or maximum.

Keep one scene focused on a clear reading order. Creator warns when many objects move at once, when selected objects use mixed events, or when width and height keyframes may cause layout work.

Custom easing

Easing controls how quickly an animation moves through time. Presets are the safest starting point:

  • Natural or Decelerate for most entrances.
  • Smooth for calm movement between states.
  • Accelerate for exits.
  • Snappy for short, direct interface feedback.
  • Bounce only for small, expressive objects where overshoot is appropriate.

Choose Custom to edit a cubic Bézier curve. P1 and P2 are the two control points:

  • X controls when acceleration changes and remains between 0 and 1.
  • Y controls the amount of progress at that moment. Values outside 0–1 create overshoot or anticipation.

Drag P1 or P2 directly on the graph. The control point snaps to useful axis values. Left and Right adjust X; Up and Down adjust Y. Hold Shift for a larger keyboard step. The four numeric fields remain available for exact values and a wider Y range.

Avoid extreme curves on long animations. A curve that feels lively at 200 ms may feel slow or disorienting at 1,500 ms.

Resolve transition and animation conflicts

One property should have one motion owner for the same event.

If an advanced timeline triggered by Hover animates Width, the Hover state transition should not animate Width at the same time. Creator keeps the state value available but removes the conflicting property from that transition while the timeline owns it.

Basic sequence and advanced timeline are separate editing modes. Switching modes preserves the inactive configuration, but only the active mode plays. This makes experimentation reversible without running two animation systems on the same object.

When motion looks unexpected:

  1. Check the active animation editing mode.
  2. Check the event used by the state, sequence, and timeline.
  3. Check the property summary under State transition.
  4. Remove duplicate effects that change the same property for the same event.

Performance and accessibility

  • Prefer opacity and transform for frequent motion.
  • Use width, height, blur, and large shadows selectively.
  • Keep ordinary interface motion short; long motion should communicate a real sequence.
  • Do not loop decorative animation indefinitely.
  • Make hover feedback available through focus or another touch-friendly interaction.
  • Do not hide essential content until an animation finishes.
  • Review the page with reduced motion enabled. Creator and published pages reduce or finish motion for visitors who request less animation.
  • Check mobile layouts because a translated heading, card, or button may occupy a different size.

Practical recipes

Button hover feedback

  • Configure Hover state with a small background, opacity, or scale change.
  • Enable State transition with a duration around 120–200 ms.
  • Use Smooth or Snappy easing.
  • Configure a visible Focus state as well.

Cards entering in order

  • Use Basic sequence on the card container or repeated items.
  • Choose a fade or short upward entrance.
  • Use When entering the viewport.
  • Enable stagger and keep the interval short.

CTA emphasis after an entrance

  • Add an entrance step.
  • Add a soft pulse or bounce emphasis step.
  • Set the second step to After previous.
  • Play it once rather than looping it.

Expanding panel

  • Put the closed size in the default state and the open size in the relevant interaction state.
  • Use a state transition when only two values are needed.
  • Use an advanced Height track only when the expansion needs an intermediate phase.

Troubleshooting

Turning motion off still looks animated

Check both State transition and the active animation editing mode. State changes can still occur immediately when transition interpolation is off, while a sequence or timeline may still be enabled separately.

A keyframe does not move past another keyframe

Keyframes on one property track cannot overlap or cross. Move the adjacent keyframe first, or enter a valid time in the numeric field.

A custom curve changes when it is clicked

Clicking only focuses the control point. Drag at least a few pixels to change it, or use the arrow keys and numeric fields.

Width or height motion looks uneven

Dimension animation can cause surrounding content to reflow. Check the parent layout and mobile size. If the visual result can be expressed with Scale, use Scale instead.

Before publishing

  • Replay every event-driven animation.
  • Check desktop, tablet, and mobile previews.
  • Test keyboard focus and touch interactions.
  • Confirm that text and controls remain usable before, during, and after motion.
  • Remove motion that does not explain hierarchy, state, feedback, or sequence.

Continue with Preview and save changes before publishing.

هل كان هذا الدليل مفيداً؟

آخر تحديث في

في هذه الصفحة