A turning ring of light around something, for the AI at work. It wraps its content, which keeps its own surface; the ring is the wrapper's padding, painted by a conic gradient whose angle is animated.
tone picks the color (:ai amber, :learning violet, :ok, :risk). variant is :spin (one light
going round), :dual (two tones going round, the second one learning) or :glow (no ring, a halo that
breathes). size is the ring's width. The animation stops under prefers-reduced-motion, leaving the
ring still.
Summary
Functions
Attributes
tone(:atom) - Defaults to:ai. Must be one of:ai,:learning,:ok, or:risk.variant(:atom) - Defaults to:spin. Must be one of:spin,:dual, or:glow.size(:atom) - Defaults to:sm. Must be one of:xs,:sm, or:lg.class(:any) - Defaults tonil.- Global attributes are accepted.
Slots
inner_block(required)