skyra-project / discord-components

Discord Webcomponents for real looking messages on the web
MIT License
244 stars 31 forks source link

request: Animated messages #368

Closed daniellwdb closed 4 months ago

daniellwdb commented 11 months ago

Is there an existing issue or pull request for this?

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

favna commented 11 months ago

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)

favna commented 4 months ago

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.