CLI
Installing Aceternity UI with the CLI
Usage
npx aceternity-ui@latest init
init
command initializes a components.json
file and a tailwind.config.js
file for a new project.
It installs framer-motion
, cn
and other dependencies, compatible with shadcnui.
add
npx aceternity-ui@latest add [component]
Adds a new component to your project.
Example
npx aceternity-ui@latest add bento-grid
You can also use the optional --all
flag to install all components:
npx aceternity-ui@latest add --all
You can install the related demos / examples for the related components by using the -e
flag with the add
command
npx aceternity-ui@latest add [component] -e
Example
npx aceternity-ui@latest add bento-grid -e
To check all the available components / blocks and aliases, you can use the add
without supplying anything extra:
npx aceternity-ui@latest add