Props Reference
Color variant for the dots. Available options:
amber, blue, cyan, emerald, fuchsia, green, indigo, lime, orange, pink, purple, red, rose, sky, slate, teal, violet, white, black, yellow.Animation pattern to display. Available patterns:Solo patterns:
solo-center, solo-tl, solo-brLine patterns: line-h-top, line-h-mid, line-h-bot, line-v-left, line-v-mid, line-v-right, line-diag-1, line-diag-2Corner patterns: corners-only, corners-syncShape patterns: plus-hollow, l-tl, l-tr, l-bl, l-br, t-top, t-bot, t-left, t-rightDuo patterns: duo-h, duo-v, duo-diagFrame patterns: frame, frame-syncSparse patterns: sparse-1, sparse-2, sparse-3Wave patterns: wave-lr, wave-rl, wave-tb, wave-btOther: spiral, allNumber of rows in the dot grid. Must be a positive integer.
Number of columns in the dot grid. Must be a positive integer.
Glow intensity for active dots in pixels. Set to
0 to disable glow effect.Scale multiplier for the entire component size. The base size is 20px, so
scale={2} would result in a 40px component.Animation duration in seconds for wave-based animations.
Direction of wave animations. Options:
ltr- Left to right diagonalrtl- Right to left diagonalttb- Top to bottom diagonalbtt- Bottom to top diagonal
wave-lr, wave-rl, wave-tb, wave-bt) have their own directional behavior that overrides this prop.Custom CSS class name to apply to the root element.
Custom inline styles to apply to the root element (React CSSProperties object).
Test ID for testing frameworks, applied as
data-testid attribute.