Skip to content

feat(html): animation dialect (anim attribute) #19

Description

@LeadcodeDev

Goal: declare animations in HTML — e.g. anim="fade-in-up delay:0.3 duration:0.8" mapping to style.animation presets — removing the biggest authoring barrier of the dialect.

Invariants: transpiles to the existing animation schema (no new engine paths); unknown presets rejected at transpile time.

Acceptance: an HTML scenario with anim attributes renders with the same output as its JSON equivalent; docs + example updated; validator passes.

Files: crates/rustmotion-html/src/*, examples, skill docs.

Verify: cargo test --workspace && rustmotion validate on the example

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions