# Five Pager Indicator Animations

DevFeed: [Five Pager Indicator Animations](<https://devfeed.tech/articles/five-pager-indicator-animations-25780.md>)

Original publisher: [Read original article](<https://www.sinasamaki.com/five-pager-indicator-animations/>)

Author: sinasamaki

Published: 2023-05-15T05:41:32Z

Content type: article

Language: en

Sources: [sinasamaki](<https://devfeed.tech/sources/sinasamaki.md>)

Topics: [animations](<https://devfeed.tech/topics/animations.md>), [Tutorial](<https://devfeed.tech/topics/tutorial.md>)

Tags: [animations](<https://devfeed.tech/tags/animations.md>), [article](<https://devfeed.tech/tags/article.md>), [custom](<https://devfeed.tech/tags/custom.md>), [example](<https://devfeed.tech/tags/example.md>), [examples](<https://devfeed.tech/tags/examples.md>), [glow](<https://devfeed.tech/tags/glow.md>), [library](<https://devfeed.tech/tags/library.md>), [pager](<https://devfeed.tech/tags/pager.md>), [scale](<https://devfeed.tech/tags/scale.md>), [scrolling](<https://devfeed.tech/tags/scrolling.md>), [size](<https://devfeed.tech/tags/size.md>), [weight](<https://devfeed.tech/tags/weight.md>)

## AI overview

The excerpt shows how to build custom Pager indicators from a page-relative float value: the current page is 1, other pages are 0, and values progress between them as the pager is swiped. That value can drive progressive properties such as size, width, color, or weight. Examples covered here include a circle whose size changes, a line indicator that uses weight to emphasize the selected page, and a glow made from two circles with an animated blur on the larger background circle. Accompanist is offered as an out-of-the-box option with a separate setup guide for standard indicators and scrolling tabs. The excerpt does not provide the remaining examples or implementation details.

## Source excerpt

Learn how to animate a pager indicator along with five examples