Animation

Circular Text

Text laid out around a circle, with the whole circle spinning on a keyframe. Hover behaviour swaps the spin rate (or pauses) without resetting the rotation angle. Pure CSS port — no JS animation loop.

Angular adaptation of an effect by David Haz / reactbits.dev.

Import

import { WrCircularText } from 'ngwr/circular-text';

Playground

HELLO * NGWR *
<wr-circular-text
  text="HELLO * NGWR * "
  [spinDuration]="20"
  onHover="speedUp"
/>

Customize

Spin Duration (s)
20 s
On Hover
Text

API

NameDescriptionTypeDefault
textrequiredText to lay out around the circle.string— (required)
spinDurationSeconds per full revolution at rest.number20
onHoverHover behaviour. null disables hover reactivity.'speedUp' | 'slowDown' | 'pause' | 'goBonkers' | null'speedUp'