Settings 01

New

Account settings with a section list on the left: a profile form with a photo picker, notification switches grouped by channel, and a save bar that appears only when something has changed.

Installation

pnpm dlx shadcn@latest add https://kagadmodyaa.vercel.app/r/settings-01.json

Needs a React + Tailwind project set up with shadcn. Copies the block's files into your project, along with the components it uses, so you can edit all of it.

Files

What the command adds to your project, and where.

  • app/settings/page.tsx

    The page itself, at the route it is meant for. Move or rename it to suit your app.

  • components/settings-01/icons.tsx

    A component the page imports. Edit it freely.

  • components/settings-01/notifications-panel.tsx

    A component the page imports. Edit it freely.

  • components/settings-01/profile-panel.tsx

    A component the page imports. Edit it freely.

  • components/settings-01/settings-shell.tsx

    A component the page imports. Edit it freely.

  • components/settings-01/settings-state.ts

    A component the page imports. Edit it freely.

  • components/settings-01/summary-panel.tsx

    A component the page imports. Edit it freely.

It also installs the components it is built from, unless you already have them: Avatar, Button, Field, Switch, Tabs, Textarea.

Links, copy and the product name are placeholders; swap in your own. Where a block has a form, its submit handler is a stub for your own request.

More in Settings