Manual Installation
Copy the code and paste it into your project. No CLI needed. Every Dot component is a single React file.
1
Copy the code
Open any component, click Code, and save it as a new file, for example components/dot/ascii-footer.tsx. Any changes you made in Canvas are included.
2
Install its packages
Check the import lines at the top of the file. Most components only need Framer Motion. Glass Key also needs Three.js. Tailwind isn't needed.
Terminal
$ npm install framer-motion# only for components that import three:
Terminal
$ npm install three && npm install -D @types/three3
Use it
Import it like any other React component. Its props are listed on the component page.
app/page.tsx
import { AsciiFooter } from "@/components/dot/ascii-footer";
export default function Page() {
return <AsciiFooter brand="Acme" tagline="Software for modern teams." />;
}