{#- chirp-ui: Meteor Effect Decorative diagonal streak animation for backgrounds. Usage: from "chirpui/meteor.html" import meteor call meteor()

Hero content with meteors

end call meteor(count=6, variant="accent")

More streaks, accent color

end -#} {% def meteor(count=4, variant="", cls="") %} {# @consumes _hero_variant from: hero_effects — falls back to "" #} {% set _variant = (variant if variant else consume("_hero_variant", "")) | validate_variant(("", "default", "accent", "muted"), "") %} {% set variant_class = " chirpui-meteor--" ~ _variant if _variant else "" %}
{% for i in range(count) %} {% end %}
{% slot %}
{% end %}