skyra-project / discord-components

Discord Webcomponents for real looking messages on the web

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

request: Animated messages

daniellwdb opened this issue · comments

Is there an existing issue or pull request for this?

  • I have searched the existing issues and pull requests

Feature description

First of all, thank you for the library. It would be amazing to have animated (library specific?) messages. Think of deferred replies or just new messages popping up in a list.

Desired solution

Either built-in support through properties or docs examples using a popular library like Framer would be amazing.

Alternatives considered

There are no alternatives that I can think of.

Additional context

No response

I honestly don't see this happening in the library, but seeing as this library ultimately just renders HTML elements it has to be possible for you the end-user to add these animations.

Also as an aside, Framer is for React only, Discord Components is NOT a React library. It renders webcomponents using StencilJS (and in the future Lit)

Going to close this. I gave it some more thought and I stick to it that this is up to the user to add themselves with their own animation library (or CSS) of choice. Especially with the Lit rewrite, currently available as 4.0.0 alphas, it is quite easy to add custom CSS and therefore animations to components.