Skip to content

✨ Primitive for handling Enter / Exit animations #322

@maiieul

Description

@maiieul

Open animations do work but not close animations.

You can try with

    <Modal.Root>
      <Modal.Trigger class="ui-open:bg-red-500">Open Modal</Modal.Trigger>
      <Modal.Content class="ui-open:backdrop:animate-from-invisible not-ui-open:backdrop:animate-from-visible">
        Some content
      </Modal.Content>
    </Modal.Root>

on docs/src/routes/components/modal/examples/basic.tsx

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions