Skip to content

Add st.emojis() component (custom falling emojis like snow/balloons) #14620

@Oncorporation

Description

@Oncorporation

Checklist

  • I have searched the existing issues for similar feature requests.
  • I added a descriptive title and summary to this issue.

Summary

st.balloons() and st.snow() are fun but fixed. Add st.emojis() so users can pass their own emoji(s) and see them fall across the app.

Why?

Many apps want custom celebration effects (birthdays, launches, wins) without being limited to balloons or snow.

How?

st.emojis(emoji: str | list[str] = "🎉")

Reuses existing snow/balloons frontend logic with emoji parameter.

Highly feasible.
Frontend already shares a reusable component between st.snow() and st.balloons(). Just extend the proto + pass emoji(s) to it.

No code injection risk (React auto-escapes {emoji} as text).

Additional Context

I am a developer and will submit a PR if approved

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:utilitiesRelated to utility commandstype:enhancementRequests for feature enhancements or new featurestype:possible-componentCould be implemented as a custom component

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions