Crud Companies 1 - Table with create, edit and delete dialogs
A companies admin table where a single dialog handles both creating and editing a company and a confirm dialog handles deletion, all in local state. Use it as the starting point for any admin list with full create-read-update-delete.
About Crud Companies 1
A companies admin table where a single dialog handles both creating and editing a company and a confirm dialog handles deletion, all in local state. Use it as the starting point for any admin list with full create-read-update-delete.
Crud Companies 1 is a free crud companies block for React, built on shadcn/ui and Tailwind CSS. It ships as 144 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.
- crud
- companies
- table
- dialog
- admin
- create
- delete
Installation
- Add the Chocolate UI registry to your
components.json(see the installation guide). - Run the shadcn CLI:
npx shadcn@latest add @chocolate/crud-companies-01Dependencies installed automatically: lucide-react.
Uses: button, dialog, input, label, reveal, table, utils.
Usage
import CrudCompanies01 from "@/components/blocks/crud-companies-01"
export default function Page() {
return <CrudCompanies01 />
}