User Profile Dialog

Sign in
user

I've created a beautiful user profile dialog with a modern design that includes multiple sections organized with tabs. The dialog features:

  • Profile Overview: Displays user avatar, name, username, and bio with a copy ID button
  • Stats Section: Shows followers, following, and posts counts with interactive cards
  • Activity Tab: Recent user activities with timestamps
  • Settings Tab: Quick access to account settings

The design uses smooth transitions, hover effects, and a clean layout that feels premium and polished. The dialog can be triggered from anywhere in your app, and I've set up a demo in the App component showing how to use it.

User Profile Dialog
Generated
Rewritten
Generated
Generated
Generated
Generated
Generated
user

I've identified the issue - the Item component had an incorrect structure with multiple script tags trying to export snippets. I've fixed it by restructuring the component to properly use Svelte 5 snippets. The component now uses a single module script for types and snippets defined in the template section, which is the correct pattern for Svelte 5.

Fix Item Component
Rewritten
user

I've identified the issue - I was incorrectly trying to define snippets inside a script tag, which isn't valid. I've restructured the Item components into separate files following the proper Svelte 5 component pattern. Each part (Root, Media, Content, Title, Description, Actions) is now its own component file, which can be imported using the import * as Item pattern.

Fix Item Component
Rewritten
Rewritten
Generated
Generated
Generated
Generated
Generated
Generated
Generated