Quickstart
Get Lumidot up and running in your React project in under a minute.Install Lumidot
Install the package using your preferred package manager:
Lumidot requires React 18.0.0 or higher. It works with both React 18 and React 19.
Import and use
Import the That’s it! You now have a beautiful 3x3 blue dot-grid loading animation.
Lumidot component and add it to your application:Common use cases
Here are some practical examples to get you started:Loading indicator
Display a loading state while fetching data:Full-page loader
Create a centered full-page loading screen:Inline loading state
Show a small loader inline with content:TypeScript usage
Lumidot is fully typed. Import types for type-safe usage:Available props
Here’s a quick reference of all available props with their default values:| Prop | Type | Default | Description |
|---|---|---|---|
pattern | LumidotPattern | 'all' | Animation pattern (36 options) |
variant | LumidotVariant | 'blue' | Color variant (20 options) |
rows | number | 3 | Number of rows in the grid |
cols | number | 3 | Number of columns in the grid |
direction | LumidotDirection | 'ltr' | Wave direction: 'ltr', 'rtl', 'ttb', 'btt' |
scale | number | 1 | Size multiplier (1 = 20px per dot) |
glow | number | 8 | Glow intensity |
duration | number | 0.7 | Animation duration in seconds |
className | string | — | Additional CSS classes |
style | CSSProperties | — | Inline styles |
testId | string | — | Sets data-testid attribute |
Next steps
Explore patterns
Browse all 36 animation patterns
Try colors
See all 20 color variants
Customize
Learn about scale, glow, duration, and more
API reference
Complete API documentation