Skip to main content
Two panels cover what the owner controls about your app on their profile. Both get their options and validation from the server, so your app does not need to know what the settings are.
Both default to the current app’s slug. If the app is not active on the owner’s profile, the panel says so first and disables saving.

AppSettings

How your app appears on the owner’s page: its name and description there, its address (username.cskn.my/app-slug, copyable), whether it shows on the profile, who may open it (public, followers, or private with an allow list), comments, and removing it.
string
Defaults to the current app.
string
Language to show the app’s name in. Pass your i18n’s current language.
object
Text overrides for every string in the panel.
('identity' | 'portfolio' | 'comments' | 'visibility' | 'deactivate')[]
Show only these sections. Saving sends only what the owner edited, so hidden settings are never written.
boolean
Drop the comments row, for an app without comments.
boolean
Drop the remove-from-profile row.
() => void
Called after the app was removed. In a shell, closeApp() is the usual choice.

WidgetSettings

Which of your app’s widgets appear on the profile, their size, position and title.
string
Defaults to the current app.
object
Text overrides.

Your own design

If your app has its own design language, use the SDK hooks behind these panels and render the same behavior with your components: useAppSettings and useWidgetSettings.

Visibility notices

An app’s visibility hides what the owner shares in the app itself, not only the app on their page. Two notices explain that where it matters. OwnVisibilityNotice is for the owner, on their own content. While the app isn’t public, it says who can actually see what they share and offers a one-tap switch to public, plus an × to put it away. It renders nothing while the app is public, while loading, when signed out, or once dismissed for the current setting.
(() => void) | null
Link to your settings screen instead of the one-tap switch. null shows no action, for use on the settings screen itself.
boolean
default:"true"
Show the ×. Turn it off where the owner must not miss it.
string
Defaults to your own app.
object / string
Text overrides and language.
HiddenContentNotice is for a visitor on someone else’s profile who isn’t allowed to see the content. It says why, which an empty “nothing here yet” list would hide: “follow to see this” asks for something very different from “this is private”.
'followers' | 'private' | 'off'
required
Why the viewer can’t see it: followers only, private, or the owner has the app turned off.
string
required
The owner’s username.
boolean
default:"true"
A signed-out visitor is also told to sign in.
ReactNode
Something to do about it, such as a follow button for followers-only content.
object / string
Text overrides and language.