{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "glass-profile-settings-card-shadcnui", "type": "registry:component", "title": "Glass Profile Settings Card", "description": "Glassmorphic profile settings form with avatar upload, bio, and notification preferences", "registryDependencies": [ "button" ], "dependencies": [ "framer-motion", "react" ], "files": [ { "path": "@uitripled/react-shadcn/src/components/components/forms/glass-profile-settings.tsx", "content": "\"use client\";\n\nimport { Avatar } from \"@/components/ui/avatar\";\nimport { Badge } from \"@/components/ui/badge\";\nimport { Button } from \"@/components/ui/button\";\nimport { Input } from \"@/components/ui/input\";\nimport { Label } from \"@/components/ui/label\";\nimport { Switch } from \"@/components/ui/switch\";\nimport { Textarea } from \"@/components/ui/textarea\";\nimport { motion, useReducedMotion } from \"framer-motion\";\nimport { UploadCloud } from \"lucide-react\";\nimport { FormEvent, useState } from \"react\";\n\nexport function GlassProfileSettingsCard() {\n const shouldReduceMotion = useReducedMotion();\n const [notifications, setNotifications] = useState(true);\n const [newsletter, setNewsletter] = useState(false);\n const [bio, setBio] = useState(\n \"Designing expressive interfaces that feel alive.\"\n );\n\n const handleSubmit = (event: FormEvent) => {\n event.preventDefault();\n };\n\n return (\n \n \n
\n
\n
\n Profile\n
\n \n Profile settings\n \n

\n Update your avatar, personal details, and notification preferences.\n

\n
\n \n \n Auto-save enabled\n \n
\n\n
\n
\n
\n \n \n AP\n \n \n
\n

Alex Parker

\n

\n Lead Product Designer\n

\n
\n \n \n Update avatar\n \n
\n
\n\n
\n
\n
\n \n \n
\n
\n \n \n
\n
\n\n
\n
\n \n \n
\n
\n \n \n
\n
\n\n
\n \n setBio(event.target.value)}\n rows={4}\n className=\"rounded-2xl border-border/60 bg-background/60 px-4 py-3 text-sm\"\n placeholder=\"Tell us about your role, interests, or current focus.\"\n />\n

\n {bio.length}/160 characters\n

\n
\n\n
\n

\n Notifications\n

\n

\n Choose the updates you want to receive about your workspace.\n

\n
\n \n \n
\n
\n\n
\n window.location.reload()}\n >\n Reset changes\n \n \n Save settings\n \n
\n
\n
\n \n );\n}\n", "type": "registry:component", "target": "components/uitripled/glass-profile-settings-card-shadcnui.tsx" } ] }