<AccountSettings />

Demo

Component Demo

Props

PropTypeDefaultDescription
fullPageoptional
booleanfalseIf true, renders the component in full-page mode.
extraItemsoptional
ArrayAdditional items to be added to the sidebar. Each item should have the following properties:
title
stringThe title of the item.
content
React.ReactNodeThe content to be rendered for the item.
subpath
stringThe subpath for the item's route.
iconoptional
React.ReactNodeThe icon component for the item. Only used if iconName is not provided.
iconNameoptional
stringThe name of the Lucide icon to be used for the item. Only used if icon is not provided.

Example

import { AccountSettings } from '@stackframe/stack';

export default function MyAccountPage() {
  return (
    <AccountSettings
      fullPage={true}
      extraItems={[{
        title: 'Custom Section',
        iconName: "Settings",
        content: <CustomContent />,
        subpath: '/custom',
      }]}
    />
  );
}

Stack Auth AI

Documentation assistant

Experimental: AI responses may not always be accurate—please verify important details.

For the most accurate information, please join our Discord or email us.

How can I help?

Ask me about Stack Auth while you browse the docs.