Skip to playground
@simt-dev/web-ui v0.1.3
Performance: Auto

LIVE PACKAGE SOURCE · v0.1.3

Motion with a contract.

Real @simt-dev/web-ui modules and CSS, running locally. Toggle theme or motion, scroll the examples and move a fine pointer across the scene.

01 / CONTROLS

Actions with a clear next step.

Every control below is styled by src/styles.css. The demo buttons only update the local status line.

Choose an action to inspect its local response.

02 / AMBIENT

A signal that knows when to rest.

Hover to pause. Switch motion to Reduced to return to the static list.

One shared motion contract

  • Reveal
  • Ambient
  • Pointer
  • Performance
  • Preference

03 / REVEAL

Entrance motion with a final state.

Scroll the cards into view. The shared observer never hides content in Reduced mode.

01

Observe

Reveal only when the element enters the viewport.

02

Resolve

Add the final class once and stop observing the target.

03

Respect

Keep the same content readable when motion is reduced.

04 / QUESTIONS

Open only what you need.

Use Tab and Enter or Space. Native disclosure still works without JavaScript.

Is accordion behavior scripted?

No. The browser owns keyboard operation, focus and the open state.

What changes in Reduced or Lite mode?

Transitions stop. Questions and answers remain immediately available.

What if height animation is unsupported?

The native details element opens and closes without an animation.

05 / POINTER

Depth that follows attention.

Move a fine pointer across the stage. The effect is decorative and never required to understand the content.

LIVE SCENE

Lantern / horizon

Pointer coordinates become local CSS variables. No pointer data leaves this document.

06 / RUNTIME

Visible state, not hidden policy.

The header controls call the real package functions. This playground does not persist the choices.

Theme
System
Motion
System
Performance
Auto
Storage
Not used