HomeDocsComponentsBlocksChartsThemes
Introduction
  • Introduction
  • Installation
  • Themes
  • llms.txt
Components
  • Accordion
  • Alert
  • Alert Dialog
  • Amount
  • Aspect Ratio
  • Audio Player
  • Avatar
  • Avatar Upload
  • Badge
  • Banner
  • Breadcrumb
  • Button
  • Button Group
  • Calendar
  • Card
  • Carousel
  • Chart
  • Checkbox
  • Code Block
  • Collapsible
  • Color Picker
  • Combobox
  • Command
  • Context Menu
  • Copy Button
  • Countdown
  • Data Grid
  • Data Table
  • Date Picker
  • Date Range Picker
  • Description List
  • Device Mockup
  • Dialog
  • Direction
  • Dot Loader
  • Drawer
  • Dropdown Menu
  • Empty
  • Field
  • File Upload
  • Hover Card
  • Input
  • Input Group
  • Input OTP
  • Item
  • Kanban
  • Kbd
  • Label
  • Menubar
  • Meter
  • Multi Select
  • Native Select
  • Navigation Menu
  • Number Field
  • Pagination
  • Password Strength
  • Phone Input
  • Popover
  • Progress
  • Progress Circle
  • Radio Group
  • Rating
  • Resizable
  • Responsive Dialog
  • Rich Text Editor
  • Scroll Area
  • Segmented Control
  • Select
  • Separator
  • Sheet
  • Sidebar
  • Signature
  • Skeleton
  • Slider
  • Sortable
  • Spinner
  • Stat
  • Stepper
  • Switch
  • Table
  • Tabs
  • Tag Input
  • Terminal
  • Textarea
  • Time Field
  • Timeline
  • Toast
  • Toggle
  • Toggle Group
  • Tooltip
  • Tree
  • Typography
  • Video Player
  • Window Mockup
AI
  • Message Scroller
  • Message
  • Bubble
  • Marker
  • Attachment
  • Questionnaire
  • Composer
  • Reasoning
  • Tool Call
  • Approval Card
  • Citations
Blocks
  • Airtable
  • Airtable Kanban
  • ClickUp List
  • ClickUp Kanban
  • Repeatable Group
  • Command Palette
  • Sign In and Sign Up
  • Availability Scheduler
  • AI Chat
  • Action Bar
  • Notion
  • Banking
  • Lineup Builder
  • Sports Score
  • Strava
  • Sheets
  • Notices
  • Settings
  • Billing
Utilities
  • motion
  • sounds
  • scroll-fade
  • shimmer
Another UI. Built on shadcn/ui with Phosphor icons.

Dot Loader

PreviousNext

A grid of ASCII characters or dots that pulses to show a loading state, built on the transitions.dev Matrix dot loader.

Base UIReact AriaRadix UI
rain
scan
twinkle
orbit
pulse
rain, rounded
scan, rounded
twinkle, rounded
orbit, rounded
pulse, rounded
rain, 32 dots
scan, 32 dots
twinkle, 32 dots
orbit, 32 dots
pulse, 32 dots
Inline
Fast
16 by 16

Installation#

pnpm dlx shadcn@latest add https://anotherui.dev/r/dot-loader.json

Usage#

import { DotLoader } from "@/components/ui/dot-loader"
<DotLoader />
<DotLoader variant="orbit" grid={10} rounded size="lg" />
<DotLoader mode="dots" variant="scan" />

Variants#

VariantMotion
rainEach column falls on its own offset, like terminal rain
scanA wave sweeps across the columns
twinkleCells light in a scattered order
orbitA sweep travels around the centre, like a radar
pulseRings ripple out from the centre

Every grid fills the same space at each size (14, 21 or 35px), so more cells means finer dots and characters. Dots default to 32: a 6 by 6 grid with the corners trimmed. In ASCII mode each cell steps through ยท : + # @ and back as the pulse passes, and brightens at the peak. In dots mode the cells pulse colour.

Props#

PropTypeDefault
variant"rain" | "scan" | "twinkle" | "orbit" | "pulse""rain"
mode"ascii" | "dots""ascii"
gridnumber, 3 to 248 for ASCII, 6 for dots (corners trimmed to 32 dots)
roundedbooleanfalse
size"sm" | "default" | "lg""default"
cyclenumber (ms)1400

Cells use --muted-foreground at rest and --foreground at the peak, so they follow light, dark and custom themes. Set --matrix-base and --matrix-active to change the colours. Motion stops with prefers-reduced-motion.

DirectionDrawer

On This Page

InstallationUsageVariantsProps