Animate UI
repository·main·Indexed 26 days ago
https://github.com/imskyleen/animate-uiAn open-source library of animated UI components built with React, TypeScript, Tailwind CSS, and Motion. It provides a distribution of high-quality components including AvatarGroup, CodeTabs, a real-time writing Code component, a Cursor component suite, and a GitHubStarsWheel.
What's inside animate-ui
- Animate UI is a fully animated, open-source component distribution. It is built using React, TypeScript, Tailwind CSS, and Motion. Developers can use it to integrate high-quality, animated UI components into their web applications.
Understand Community Components
mainCommunity components are animated components contributed by the community. Unlike standard Animate UI components, they do not necessarily use Animate UI primitives. Consequently, their APIs may vary, and they might offer limited configuration or few props.Understand the Animate UI distribution model
mainAnimate UI is not a traditional NPM library. Instead, it is an open component distribution similar to shadcn/ui. You do not install it as a single dependency; rather, you copy, modify, and customize the component source code directly into your own codebase. This approach provides maximum flexibility and avoids the overhead of library wrappers or styling workarounds.Explore Animate UI Components
mainAnimate UI provides a collection of animated components styled with Tailwind CSS. The component library is organized into several categories based on their underlying implementation or purpose:
- Animate UI: Core components like
avatar-group. - Radix UI: Components built on top of Radix UI primitives (e.g.,
accordion). - Base UI: Components built on top of Base UI primitives (e.g.,
accordion). - Headless UI: Components built on top of Headless UI primitives (e.g.,
accordion). - Buttons: Standard button components.
- Backgrounds: Decorative background elements like
bubble. - Community: Specialized components like
management-bar.
- Animate UI: Core components like
Explore Animate UI component types
mainAnimate UI provides three main categories of assets:
- Primitives (animated): Core building blocks with animation integrated. These are either authored by Animate UI or ported from libraries like Radix UI, Base UI, or Headless UI.
- Components: UI pieces with baseline styles (inspired by shadcn/ui) built on top of the animated primitives.
- Icons: Animated versions of Lucide icons.
Explore Animate UI Primitives
mainAnimate UI provides a collection of animated, unstyled components designed to allow for creative expression. These primitives are categorized into several functional groups:
- Animate UI Primitives: Specialized animated components like
avatar-group. - Radix UI Primitives: Integration or extensions of Radix UI components (e.g.,
accordion). - Base UI Primitives: Integration or extensions of Base UI components (e.g.,
accordion). - Headless UI Primitives: Integration or extensions of Headless UI components (e.g.,
checkbox). - Effects: Visual enhancement primitives such as
blur. - Buttons: Animated button components.
- Texts: Specialized text components like
counting-number.
- Animate UI Primitives: Specialized animated components like
AlertDialog Component Parts
mainThe Alert Dialog is built using the following sub-components:
AlertDialog: The root container.AlertDialogTrigger: The element that opens the dialog.AlertDialogPopup: The dialog content container (supportsfromandtransitionprops).AlertDialogHeader: Container for the title and description.AlertDialogTitle: The title text of the dialog.AlertDialogDescription: The descriptive text of the dialog.AlertDialogFooter: Container for action buttons.AlertDialogAction: A button that performs the primary action and closes the dialog.AlertDialogCancel: A button that cancels the action and closes the dialog.
Install the Blur effect primitive
mainTo use blur effects in your project, install theprimitives-effects-blurpackage.Install the ShimmeringText component
mainTo use theShimmeringTextcomponent, install theprimitives-texts-shimmeringpackage.Install the Hover Card component
mainTo use the Hover Card component in your project, run the installation command provided by the component library.Install Motion Grid
mainTo use the Motion Grid primitive, install theprimitives-animate-motion-gridpackage.Install the Radial Intro component
mainTo use the
RadialIntrocomponent, install it using the component installation command provided by the package manager.<ComponentInstallation name="components-community-radial-intro" />