268
Edit your profile: crop a generated photo in a small dialog, claim a username with a live availability check and suggestions, see your local time on a tiny clock, and save from a bar that springs up when something changes.
akaprofile·avatar crop·unsaved changes
Run this in any project set up for the shadcn CLI. It copies the Profile Settings source into your components folder, so the code is yours to change.
npx shadcn@latest add https://devl.dev/r/profile-settings.jsonImport it and render it. Every prop has a typed default, so it works straight away, and you pass your own data when you’re ready.
import { ProfileSettings } from "@/components/profile-settings";
export default function Page() {
return <ProfileSettings />;
}A free React screen in the Settings collection, written in TypeScript with Tailwind CSS on coss ui. MIT licensed.
Read from the Profile Settings source. Everything is optional unless it says required.
| Prop | Type | Default |
|---|---|---|
| className | string | — |
| profile | ProfileDraft | defaultProfile |
| domain | string | "ridgeline.app" |
| takenUsernames | string[] | defaultTaken |
| bioLimit | number | 160 |
| zones | ProfileZone[] | defaultZones |
| onSave | (profile: ProfileDraft) => void | Promise<void> | — |
| onNavigate | (section: string) => void | — |