Open-source and local-first Slack and Notion alternative that puts you in control of your data
TypeScript chatchat-applicationcrdteditorelectronknowledge-baselocal-firstnotionnotion-alternativerealtime-collaborationself-hostedslacksqliteteam-collaborationwikiyjs
import { Plus } from 'lucide-react';
import { Fragment, useState } from 'react';
import { ViewCreateDialog } from '@colanode/ui/components/databases/view-create-dialog';
export const ViewCreateButton = () => {
const [open, setOpen] = useState(false);
return (
<Fragment>
<Plus
className="mb-1 size-4 cursor-pointer text-sm text-muted-foreground hover:text-foreground"
onClick={() => setOpen(true)}
/>
<ViewCreateDialog open={open} onOpenChange={setOpen} />
</Fragment>
);
};