Skip to content
MarkasUI
Type to search

    Guide

    MarkasUI

    Form

    Feedback

    Overlay

    Navigation

    Data

    Sections

    Animations

    Backgrounds

    Buttons

    Templates

    Pages

    Aurora Background

    Soft glowing color fields that drift slowly behind your content, made from primary and an accent token.

    Meet your calmer workspace

    Notes, tasks, and docs in one quiet place, synced across every device.

    Meet your calmer workspace

    Notes, tasks, and docs in one quiet place, synced across every device.

    Meet your calmer workspace

    Notes, tasks, and docs in one quiet place, synced across every device.

    Meet your calmer workspace

    Notes, tasks, and docs in one quiet place, synced across every device.

    Meet your calmer workspace

    Notes, tasks, and docs in one quiet place, synced across every device.

    <x-markas.aurora-background class="rounded-xl border border-line bg-surface px-6 py-14">
        <div class="grid justify-items-center gap-4 text-center">
            <h2 class="text-2xl font-semibold text-balance text-ink">Meet your calmer workspace</h2>
            <p class="max-w-80 text-sm text-muted">Notes, tasks, and docs in one quiet place, synced across every device.</p>
            <div class="flex gap-2">
                <x-markas.button>Try it free</x-markas.button>
                <x-markas.button variant="ghost">See how it works</x-markas.button>
            </div>
        </div>
    </x-markas.aurora-background>
    import { Button } from "@/components/markas/Button";
    import { AuroraBackground } from "@/components/markas/AuroraBackground";
    
    export default function AuroraBackgroundExample() {
      return (
        <AuroraBackground className="rounded-xl border border-line bg-surface px-6 py-14">
          <div className="grid justify-items-center gap-4 text-center">
            <h2 className="text-2xl font-semibold text-balance text-ink">
              Meet your calmer workspace
            </h2>
            <p className="max-w-80 text-sm text-muted">
              Notes, tasks, and docs in one quiet place, synced across every device.
            </p>
            <div className="flex gap-2">
              <Button>Try it free</Button>
              <Button variant="ghost">See how it works</Button>
            </div>
          </div>
        </AuroraBackground>
      );
    }
    <script setup lang="ts">
    import AuroraBackground from "@/components/markas/AuroraBackground.vue";
    import Button from "@/components/markas/Button.vue";
    </script>
    
    <template>
      <AuroraBackground class="rounded-xl border border-line bg-surface px-6 py-14">
        <div class="grid justify-items-center gap-4 text-center">
          <h2 class="text-2xl font-semibold text-balance text-ink">
            Meet your calmer workspace
          </h2>
          <p class="max-w-80 text-sm text-muted">
            Notes, tasks, and docs in one quiet place, synced across every device.
          </p>
          <div class="flex gap-2">
            <Button>Try it free</Button>
            <Button variant="ghost">See how it works</Button>
          </div>
        </div>
      </AuroraBackground>
    </template>
    <script lang="ts">
      import Button from "$lib/components/markas/Button.svelte";
      import AuroraBackground from "$lib/components/markas/AuroraBackground.svelte";
    </script>
    
    <AuroraBackground class="rounded-xl border border-line bg-surface px-6 py-14">
      <div class="grid justify-items-center gap-4 text-center">
        <h2 class="text-2xl font-semibold text-balance text-ink">
          Meet your calmer workspace
        </h2>
        <p class="max-w-80 text-sm text-muted">
          Notes, tasks, and docs in one quiet place, synced across every device.
        </p>
        <div class="flex gap-2">
          <Button>Try it free</Button>
          <Button variant="ghost">See how it works</Button>
        </div>
      </div>
    </AuroraBackground>
    ---
    import Button from "@/components/markas/Button.astro";
    import AuroraBackground from "@/components/markas/AuroraBackground.astro";
    ---
    
    <AuroraBackground class="rounded-xl border border-line bg-surface px-6 py-14">
      <div class="grid justify-items-center gap-4 text-center">
        <h2 class="text-2xl font-semibold text-balance text-ink">
          Meet your calmer workspace
        </h2>
        <p class="max-w-80 text-sm text-muted">
          Notes, tasks, and docs in one quiet place, synced across every device.
        </p>
        <div class="flex gap-2">
          <Button>Try it free</Button>
          <Button variant="ghost">See how it works</Button>
        </div>
      </div>
    </AuroraBackground>
    import { Component } from "@angular/core";
    import { Button } from "./markas/button.component";
    import { AuroraBackground } from "./markas/aurora-background.component";
    
    @Component({
      selector: "markas-example",
      imports: [Button, AuroraBackground],
      template: `
        <div
          markas-aurora-background
          class="rounded-xl border border-line bg-surface px-6 py-14"
        >
          <div class="grid justify-items-center gap-4 text-center">
            <h2 class="text-2xl font-semibold text-balance text-ink">
              Meet your calmer workspace
            </h2>
            <p class="max-w-80 text-sm text-muted">
              Notes, tasks, and docs in one quiet place, synced across every device.
            </p>
            <div class="flex gap-2">
              <button markas-button>Try it free</button>
              <button markas-button variant="ghost">See how it works</button>
            </div>
          </div>
        </div>
      `,
    })
    export default class AuroraBackgroundFixture {}

    Examples

    Pricing card

    Pro plan

    $24 per seat / month

    Unlimited projects, priority support, and audit logs.

    Pro plan

    $24per seat / month

    Unlimited projects, priority support, and audit logs.

    Pro plan

    $24per seat / month

    Unlimited projects, priority support, and audit logs.

    Pro plan

    $24 per seat / month

    Unlimited projects, priority support, and audit logs.

    Pro plan

    $24per seat / month

    Unlimited projects, priority support, and audit logs.

    Sign-in screen

    Welcome back

    Sign in to continue to your workspace.

    Welcome back

    Sign in to continue to your workspace.

    Welcome back

    Sign in to continue to your workspace.

    Welcome back

    Sign in to continue to your workspace.

    Welcome back

    Sign in to continue to your workspace.

    Announcement bar

    New: AI summaries for every meeting

    New: AI summaries for every meeting

    New: AI summaries for every meeting

    New: AI summaries for every meeting

    New: AI summaries for every meeting

    Installation

    npx markasui@latest add aurora-background

    Usage

    <x-markas.aurora-background color="success" speed="slow" class="rounded-xl border border-line bg-surface px-6 py-12">
        <h2 class="text-2xl font-semibold text-ink">Meet your calmer workspace</h2>
        <x-markas.button>Get started</x-markas.button>
    </x-markas.aurora-background>

    No JavaScript or Alpine.js needed.

    import { Button } from "@/components/markas/Button";
    import { AuroraBackground } from "@/components/markas/AuroraBackground";
    
    <AuroraBackground
      color="success"
      speed="slow"
      className="rounded-xl border border-line bg-surface px-6 py-12"
    >
      <h2 className="text-2xl font-semibold text-ink">
        Meet your calmer workspace
      </h2>
      <Button>Get started</Button>
    </AuroraBackground>;
    <template>
      <AuroraBackground
        color="success"
        speed="slow"
        class="rounded-xl border border-line bg-surface px-6 py-12"
      >
        <h2 class="text-2xl font-semibold text-ink">Meet your calmer workspace</h2>
        <Button>Get started</Button>
      </AuroraBackground>
    </template>
    <script lang="ts">
      import Button from "$lib/components/markas/Button.svelte";
      import AuroraBackground from "$lib/components/markas/AuroraBackground.svelte";
    </script>
    
    <AuroraBackground
      color="success"
      speed="slow"
      class="rounded-xl border border-line bg-surface px-6 py-12"
    >
      <h2 class="text-2xl font-semibold text-ink">Meet your calmer workspace</h2>
      <Button>Get started</Button>
    </AuroraBackground>
    ---
    import Button from "@/components/markas/Button.astro";
    import AuroraBackground from "@/components/markas/AuroraBackground.astro";
    ---
    
    <AuroraBackground
      color="success"
      speed="slow"
      class="rounded-xl border border-line bg-surface px-6 py-12"
    >
      <h2 class="text-2xl font-semibold text-ink">
        Meet your calmer workspace
      </h2>
      <Button>Get started</Button>
    </AuroraBackground>

    No client-side JavaScript; the markup is rendered on the server.

    import { Component } from "@angular/core";
    import { Button } from "./markas/button.component";
    import { AuroraBackground } from "./markas/aurora-background.component";
    
    @Component({
      selector: "app-hero",
      imports: [Button, AuroraBackground],
      template: `
        <div
          markas-aurora-background
          color="success"
          speed="slow"
          class="rounded-xl border border-line bg-surface px-6 py-12"
        >
          <h2 class="text-2xl font-semibold text-ink">
            Meet your calmer workspace
          </h2>
          <button markas-button>Get started</button>
        </div>
      `,
    })
    export class Hero {}

    The component is an attribute on a div, so class, style, and other attributes stay on the root element.

    • The glow mixes primary with the color token, so it follows light and dark mode.
    • Keyframes ship inside the component in a small <style> tag. With reduced motion the glow stays still.
    • The component has no built-in text, so there are no label props to translate.

    Props

    NameTypeDefaultDescription
    colormuted | primary | success | warning | dangersuccessAccent token mixed with primary in the glow.
    speedslow | normal | fastnormalHow fast the glow drifts: 24s, 14s, or 8s per cycle.
    children / slotslot / ReactNode / snippet-Content shown on top of the glow.

    Accessibility

    • The glow layer is aria-hidden and ignores pointer events.
    • With reduced motion, the glow stops moving and stays in its starting position.
    • The glow is light enough that ink and muted text keep their contrast.

    Related components

    More backgrounds components with the same classes in every framework.