'use client'; import * as React from 'react'; import { Plus, UploadCloud } from 'lucide-react'; import { cn } from '@/utils/cn'; import { IconEmptyUser } from '@/components/ui/avatar-empty-icons'; import * as Avatar from '@/components/ui/avatar'; import * as Button from '@/components/ui/button'; import * as Checkbox from '@/components/ui/checkbox'; import * as FileUpload from '@/components/ui/file-upload'; import * as Input from '@/components/ui/input'; import * as Label from '@/components/ui/label'; import * as LinkButton from '@/components/ui/link-button'; import * as Select from '@/components/ui/select'; import * as Switch from '@/components/ui/switch'; const DividerHorizontal = ({ className }: { className?: string }) => { return (
); }; export default function DesignSpaceSetup() { const [acceptTerms, setAcceptTerms] = React.useState(false); const [autoSave, setAutoSave] = React.useState(true); const [showLayoutGuides, setShowLayoutGuides] = React.useState(false); const [imageUrl, setImageUrl] = React.useState(); const fileInputRef = React.useRef(null); const uniqueId = React.useId(); const handleUploadClick = () => { fileInputRef.current?.click(); }; return (

Setup your design space

Customize your workspace settings for the best design experience
{/* Portfolio URL */}
Portfolio URL
alignui.com/
{/* Preferred work hours */}
Preferred work hours GMT-08:00 Pacific - Design Team Hours GMT-07:00 Mountain GMT-06:00 Central GMT-05:00 Eastern
{/* Canvas grid and Color format */}
Canvas grid 8px grid 16px grid 24px grid
Color format HEX RGB HSL
{/* Theme */}
Theme System default (Recommended) Light Dark
{/* Auto-save */}
setAutoSave(checked === true)} /> Auto-save every 5 minutes
{/* Show layout guides */}
setShowLayoutGuides(checked === true) } /> Show layout guides by default
{/* Terms and Privacy */}
setAcceptTerms(checked === true)} /> I accept the terms and privacy notice
Next step
{/* Profile image */}
{ const file = e.target.files?.[0]; if (file) { const url = URL.createObjectURL(file); setImageUrl(url); } }} />
Upload
Need help setting up? Check our guides
); }