LoadersNew

Pill Loader

A row of slim pills where liquid rises and falls in turn. A calm loader for a dark interface.

Customize

color
trackColor

Based on brave-turtle-26 by Nawsome (MIT license) · Terms of use

More in Pro

View all

Props

7 properties
PropertyTypeDefaultDescription
countnumber5Number of pills in the row.
sizenumber20Pill width in pixels; the height is four times this.
colorstring"#f5f5f5"Liquid color.
trackColorstring"#161616"Color of the empty pill.
speednumber2.5Seconds for one rise and fall.
labelstring"Loading"Text for screen readers.
classNamestring—Classes for the wrapper.

Dependencies

2 required packages

npm install clsx tailwind-merge

Related components

View all