/ui, hence you can re-use the same components in every app without installing the library’s component everytime for every app.
This approach makes it very clean to import the components.
Comparison
Default import:/ui import:
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
/ui, hence you can re-use the same components in every app without installing the library’s component everytime for every app.
This approach makes it very clean to import the components.
import { Button } from "@/components/ui/button";
import {
Dialog,
DialogContent,
DialogDescription,
DialogFooter,
DialogHeader,
DialogTitle,
DialogTrigger,
} from "@/components/ui/dialog";
import { Input } from "@/components/ui/input";
import { Label } from "@/components/ui/label";
/ui import:
import {
Dialog,
Button,
DialogContent,
DialogDescription,
DialogFooter,
DialogHeader,
DialogTitle,
DialogTrigger,
Input,
Label,
} from "@repo/ui";
