Capítulo 9 de 11

Chapter 9: Loaders, Modals & Tabs

Core Idea

State-transition and overlay components — loading indicators, modals, tabs, and tooltips that communicate app state changes.

Reference Table

NamePurposeInstall
LoadersA set of minimal loading-screen spinnersnpx shadcn@latest add @aceternity/loader
Multi Step LoaderStep-by-step loader for long-running screensnpx shadcn@latest add @aceternity/multi-step-loader
Animated ModalCompound modal component with animated open/close transitionsnpx shadcn@latest add @aceternity/animated-modal
Animated TabsTabs with an animated background indicator on selectionnpx shadcn@latest add @aceternity/tabs
Animated TooltipTooltip that follows the mouse pointer on hovernpx shadcn@latest add @aceternity/animated-tooltip
Tooltip CardLarger tooltip-style card that follows the pointernpx shadcn@latest add @aceternity/tooltip-card
Meteor EffectGroup of animated beams resembling meteors, for backgroundsnpx shadcn@latest add @aceternity/meteors

Key Takeaways

  1. Multi Step Loader vs Loaders: use Multi Step Loader when the wait genuinely has discrete stages to communicate (e.g. multi-request onboarding flow); plain Loaders for a generic short wait.
  2. Animated Modal is compound (multiple sub-parts) rather than a single component — check its anatomy before wiring custom open/close logic around it.
  3. Animated Tooltip and Tooltip Card differ in scale: Animated Tooltip is a small hover label, Tooltip Card is a larger content preview.

Connects To

  • ch006 (Navigation): Notch, a related pointer-following/animated-indicator component.