Skip to content
MarkasUI
Type to search

    Guide

    MarkasUI

    Form

    Feedback

    Overlay

    Navigation

    Data

    Sections

    Animations

    Backgrounds

    Buttons

    Templates

    Pages

    Meteors

    Diagonal meteors with fading gradient tails that streak across a card or section, placed from a fixed seed.

    Streaming ingest

    A million events a second, without breaking a sweat

    Point your producers at one endpoint and query the results in under a second.

    Streaming ingest

    A million events a second, without breaking a sweat

    Point your producers at one endpoint and query the results in under a second.

    Streaming ingest

    A million events a second, without breaking a sweat

    Point your producers at one endpoint and query the results in under a second.

    Streaming ingest

    A million events a second, without breaking a sweat

    Point your producers at one endpoint and query the results in under a second.

    Streaming ingest

    A million events a second, without breaking a sweat

    Point your producers at one endpoint and query the results in under a second.

    <x-markas.meteors class="rounded-xl border border-line bg-surface px-6 py-12">
        <div class="grid max-w-80 gap-4">
            <p class="text-sm font-medium text-muted">Streaming ingest</p>
            <h2 class="text-2xl font-semibold text-balance text-ink">A million events a second, without breaking a sweat</h2>
            <p class="text-sm text-muted">Point your producers at one endpoint and query the results in under a second.</p>
            <div>
                <x-markas.button>View benchmarks</x-markas.button>
            </div>
        </div>
    </x-markas.meteors>
    import { Button } from "@/components/markas/Button";
    import { Meteors } from "@/components/markas/Meteors";
    
    export default function MeteorsExample() {
      return (
        <Meteors className="rounded-xl border border-line bg-surface px-6 py-12">
          <div className="grid max-w-80 gap-4">
            <p className="text-sm font-medium text-muted">Streaming ingest</p>
            <h2 className="text-2xl font-semibold text-balance text-ink">
              A million events a second, without breaking a sweat
            </h2>
            <p className="text-sm text-muted">
              Point your producers at one endpoint and query the results in under a
              second.
            </p>
            <div>
              <Button>View benchmarks</Button>
            </div>
          </div>
        </Meteors>
      );
    }
    <script setup lang="ts">
    import Button from "@/components/markas/Button.vue";
    import Meteors from "@/components/markas/Meteors.vue";
    </script>
    
    <template>
      <Meteors class="rounded-xl border border-line bg-surface px-6 py-12">
        <div class="grid max-w-80 gap-4">
          <p class="text-sm font-medium text-muted">Streaming ingest</p>
          <h2 class="text-2xl font-semibold text-balance text-ink">
            A million events a second, without breaking a sweat
          </h2>
          <p class="text-sm text-muted">
            Point your producers at one endpoint and query the results in under a
            second.
          </p>
          <div>
            <Button>View benchmarks</Button>
          </div>
        </div>
      </Meteors>
    </template>
    <script lang="ts">
      import Button from "$lib/components/markas/Button.svelte";
      import Meteors from "$lib/components/markas/Meteors.svelte";
    </script>
    
    <Meteors class="rounded-xl border border-line bg-surface px-6 py-12">
      <div class="grid max-w-80 gap-4">
        <p class="text-sm font-medium text-muted">Streaming ingest</p>
        <h2 class="text-2xl font-semibold text-balance text-ink">
          A million events a second, without breaking a sweat
        </h2>
        <p class="text-sm text-muted">
          Point your producers at one endpoint and query the results in under a
          second.
        </p>
        <div>
          <Button>View benchmarks</Button>
        </div>
      </div>
    </Meteors>
    ---
    import Button from "@/components/markas/Button.astro";
    import Meteors from "@/components/markas/Meteors.astro";
    ---
    
    <Meteors class="rounded-xl border border-line bg-surface px-6 py-12">
      <div class="grid max-w-80 gap-4">
        <p class="text-sm font-medium text-muted">Streaming ingest</p>
        <h2 class="text-2xl font-semibold text-balance text-ink">
          A million events a second, without breaking a sweat
        </h2>
        <p class="text-sm text-muted">
          Point your producers at one endpoint and query the results in under a
          second.
        </p>
        <div>
          <Button>View benchmarks</Button>
        </div>
      </div>
    </Meteors>
    import { Component } from "@angular/core";
    import { Button } from "./markas/button.component";
    import { Meteors } from "./markas/meteors.component";
    
    @Component({
      selector: "markas-example",
      imports: [Button, Meteors],
      template: `
        <div
          markas-meteors
          class="rounded-xl border border-line bg-surface px-6 py-12"
        >
          <div class="grid max-w-80 gap-4">
            <p class="text-sm font-medium text-muted">Streaming ingest</p>
            <h2 class="text-2xl font-semibold text-balance text-ink">
              A million events a second, without breaking a sweat
            </h2>
            <p class="text-sm text-muted">
              Point your producers at one endpoint and query the results in under a
              second.
            </p>
            <div>
              <button markas-button>View benchmarks</button>
            </div>
          </div>
        </div>
      `,
    })
    export default class MeteorsExample {}

    Examples

    Pricing plan with comets

    Pro

    For teams shipping every day.

    $24 per seat, monthly

    • Unlimited projects
    • Preview deploys for every branch
    • Priority support

    Pro

    For teams shipping every day.

    $24 per seat, monthly

    • Unlimited projects
    • Preview deploys for every branch
    • Priority support

    Pro

    For teams shipping every day.

    $24 per seat, monthly

    • Unlimited projects
    • Preview deploys for every branch
    • Priority support

    Pro

    For teams shipping every day.

    $24per seat, monthly

    • Unlimited projects
    • Preview deploys for every branch
    • Priority support

    Pro

    For teams shipping every day.

    $24 per seat, monthly

    • Unlimited projects
    • Preview deploys for every branch
    • Priority support

    Stats section

    Last 24 hours

    Deploys
    1,284
    Uptime
    99.99%
    p95 latency
    84ms

    Last 24 hours

    Deploys
    1,284
    Uptime
    99.99%
    p95 latency
    84ms

    Last 24 hours

    Deploys
    1,284
    Uptime
    99.99%
    p95 latency
    84ms

    Last 24 hours

    Deploys
    1,284
    Uptime
    99.99%
    p95 latency
    84ms

    Last 24 hours

    Deploys
    1,284
    Uptime
    99.99%
    p95 latency
    84ms

    Always-dark 404 page

    404

    Lost somewhere in orbit

    We could not find that page. Try the dashboard or search the docs.

    404

    Lost somewhere in orbit

    We could not find that page. Try the dashboard or search the docs.

    404

    Lost somewhere in orbit

    We could not find that page. Try the dashboard or search the docs.

    404

    Lost somewhere in orbit

    We could not find that page. Try the dashboard or search the docs.

    404

    Lost somewhere in orbit

    We could not find that page. Try the dashboard or search the docs.

    Installation

    npx markasui@latest add meteors

    Usage

    <x-markas.meteors variant="rain" :count="20" :angle="35" class="rounded-xl border border-line bg-surface px-6 py-12">
        <h2 class="text-2xl font-semibold text-ink">A million events a second</h2>
        <x-markas.button>View benchmarks</x-markas.button>
    </x-markas.meteors>

    No JavaScript or Alpine.js needed.

    import { Button } from "@/components/markas/Button";
    import { Meteors } from "@/components/markas/Meteors";
    
    <Meteors
      variant="rain"
      count={20}
      angle={35}
      className="rounded-xl border border-line bg-surface px-6 py-12"
    >
      <h2 className="text-2xl font-semibold text-ink">A million events a second</h2>
      <Button>View benchmarks</Button>
    </Meteors>;
    <template>
      <Meteors
        variant="rain"
        :count="20"
        :angle="35"
        class="rounded-xl border border-line bg-surface px-6 py-12"
      >
        <h2 class="text-2xl font-semibold text-ink">A million events a second</h2>
        <Button>View benchmarks</Button>
      </Meteors>
    </template>
    <script lang="ts">
      import Button from "$lib/components/markas/Button.svelte";
      import Meteors from "$lib/components/markas/Meteors.svelte";
    </script>
    
    <Meteors
      variant="rain"
      count={20}
      angle={35}
      class="rounded-xl border border-line bg-surface px-6 py-12"
    >
      <h2 class="text-2xl font-semibold text-ink">A million events a second</h2>
      <Button>View benchmarks</Button>
    </Meteors>
    ---
    import Button from "@/components/markas/Button.astro";
    import Meteors from "@/components/markas/Meteors.astro";
    ---
    
    <Meteors
      variant="rain"
      count={20}
      angle={35}
      class="rounded-xl border border-line bg-surface px-6 py-12"
    >
      <h2 class="text-2xl font-semibold text-ink">A million events a second</h2>
      <Button>View benchmarks</Button>
    </Meteors>
    import { Component } from "@angular/core";
    import { Button } from "./markas/button.component";
    import { Meteors } from "./markas/meteors.component";
    
    @Component({
      selector: "app-launch",
      imports: [Button, Meteors],
      template: `
        <div
          markas-meteors
          variant="rain"
          count="20"
          angle="35"
          class="rounded-xl border border-line bg-surface px-6 py-12"
        >
          <h2 class="text-2xl font-semibold text-ink">A million events a second</h2>
          <button markas-button>View benchmarks</button>
        </div>
      `,
    })
    export class Launch {}

    Angular uses an attribute selector on the native div, so class, aria-*, and other attributes stay on the root element.

    • Positions, tail lengths, and timing come from seed with integer math, so all six frameworks render the same shower.
    • Each meteor is one element with a gradient tail drawn by ::before, moved with a CSS transform. There is no JavaScript.
    • With reduced motion the meteors stop at their starting point.
    • The component has no built-in text, so there are no label props to translate.

    Props

    NameTypeDefaultDescription
    variantrain | cometrainrain: many thin meteors with short tails. comet: a few thick glowing meteors with long tails.
    countnumber20 (rain), 6 (comet)Number of meteors, up to 60.
    anglenumber35Direction of travel in degrees below the horizon, from 0 to 180. 35 falls down and to the right, 90 falls straight down.
    speedslow | normal | fastnormalHow long each meteor takes to cross. Every meteor gets its own duration within the range.
    colormuted | ink | primary | success | warning | dangerprimaryToken color of the meteors and their tails.
    seednumber3Whole number that decides positions, tails, and timing. The same seed always gives the same shower.
    children / slotslot / ReactNode-Content shown on top of the meteors.

    Accessibility

    • The meteor layer is aria-hidden and ignores pointer events.
    • With reduced motion, meteors stop at their starting point and stay visible as still streaks.

    Related components

    More backgrounds components with the same classes in every framework.