Astro Web Components

repository·main·Indexed 41 days ago

https://github.com/rocketcommunicationsinc/astro

A framework-agnostic library of UI components providing a consistent design language through custom elements. It includes support and integration guides for HTML, Vue, Angular, and React, as well as a dedicated React wrapper package (@astrouxds/react) and an Angular library (angular-lib).

Tokens
123.5K
Snippets
399
Records
530
Agent score
99%

What's inside Astro Web Components

  1. Use the Clock component

    main

    The rux-clock component displays the current or a provided date and time. It can optionally include AOS (Arrival On Station) and LOS (Loss Of Signal) timers. It is typically used in a Global Status Bar.

    Key Features:

    • Dynamic Ticking: Shows real-time updates by default.
    • Static Mode: Use the static attribute to prevent the clock from ticking, allowing you to display a fixed time.
    • Timestamps: Supports aos, los, and date-in attributes for displaying specific mission times.
    • Timezones: Supports standard timezones and military timezone identifiers.