import React, { useState } from 'react'; import { motion } from 'motion/react'; import { Card } from 'reablocks'; import { Tabs, Tab, TabList, TabPanel } from 'reablocks'; import { Avatar } from 'reablocks'; import { Button } from 'reablocks'; import { IconButton } from 'reablocks'; import { Checkbox, CheckboxTheme, checkboxTheme as defaultCheckboxTheme } from 'reablocks'; import { Divider } from 'reablocks'; import { Input } from 'reablocks'; export default { title: 'Blocks/Administration/Team' }; const GoodCodeLogo = () => ( ); export const TeamGeneral = () => { const [checkedUsers, setCheckedUsers] = useState([]); const checkboxTheme: CheckboxTheme = { ...defaultCheckboxTheme, check: 'stroke-white', boxVariants: { ...defaultCheckboxTheme.boxVariants, checked: { fill: 'hsl(var(--twc-primary))', stroke: 'hsla(var(--twc-primary))' }, unchecked: { fill: 'transparent', stroke: 'hsl(var(--twc-surface))' } } }; return (

General

Effectively manage your team's workflow with our intuitive application. Streamline task delegation, monitor progress, and foster seamless collaboration among team members. Stay informed, stay connected, and drive productivity with ease.

Account Details Users Billing Integrations
Users Manage user accounts, permissions, and access levels within the app to ensure smooth operation and security.
{Array(10) .fill({ name: 'Austin McDaniel', email: 'austin@goodcode.us', role: 'Admin' }) .map((user, index) => ( <> ))}
{ if (checked) { setCheckedUsers([...checkedUsers, index]); } else { setCheckedUsers( checkedUsers.filter(i => i !== index) ); } }} />
{user.name}
{user.email}
{user.role}
Showing 10 of 25
1 2 3
); }; export const TeamMinimal = () => { return (
Account Users Billing } containerClassname="max-w-[200px]" placeholder="Search teams, users..." />
On teams You're currently on these teams.
Good Code
Good Code
Your team Manage your existing team and change roles/permissions.
{Array(12) .fill({ name: 'Austin McDaniel', email: 'austin@goodcode.us', dateAdded: new Date().toLocaleDateString() }) .map((user, index) => ( <> ))}
Name Email
{user.name}
{user.email}
Showing 10 of 25
1 2 3
); }; export const TeamRoles = () => { const [checkedUsers, setCheckedUsers] = useState([]); const [checkedAdmins, setCheckedAdmins] = useState([]); const checkboxTheme: CheckboxTheme = { ...defaultCheckboxTheme, check: 'stroke-white', boxVariants: { ...defaultCheckboxTheme.boxVariants, checked: { fill: 'hsl(var(--twc-primary))', stroke: 'hsla(var(--twc-primary))' }, unchecked: { fill: 'transparent', stroke: 'hsl(var(--twc-surface))' } } }; return (

Team Members

Manage user accounts, permissions, and access levels within the app to ensure smooth operation and security.
Admins (3)

Manage user accounts, permissions, and access levels within the app to ensure smooth operation and security.

{Array(3) .fill({ name: 'Austin McDaniel', email: 'austin@goodcode.us', dateAdded: new Date().toLocaleDateString() }) .map((user, index) => ( <> ))}
setCheckedAdmins( checked ? Array(3) .fill(0) .map((_, i) => i) : [] ) } /> Name Email Date Added
{ if (checked) { setCheckedAdmins([...checkedAdmins, index]); } else { setCheckedAdmins( checkedAdmins.filter(i => i !== index) ); } }} />
{user.name}
{user.email}
{user.dateAdded}
Users (12)

Manage user accounts, permissions, and access levels within the app to ensure smooth operation and security.

{Array(12) .fill({ name: 'Austin McDaniel', email: 'austin@goodcode.us', dateAdded: new Date().toLocaleDateString() }) .map((user, index) => ( <> ))}
setCheckedUsers( checked ? Array(12) .fill(0) .map((_, i) => i) : [] ) } /> Name Email Date Added
{ if (checked) { setCheckedUsers([...checkedUsers, index]); } else { setCheckedUsers( checkedUsers.filter(i => i !== index) ); } }} />
{user.name}
{user.email}
{user.dateAdded}
); };