Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/tough-roses-hunt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@clerk/clerk-js': patch
'@clerk/types': patch
---

Avatar Shimmer will be enabled by default for `<UserButton/>` and `<OrganizationSwitcher/>`.
2 changes: 1 addition & 1 deletion packages/clerk-js/src/ui/customizables/parseAppearance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const defaultLayout: ParsedLayout = {
helpPageUrl: '',
privacyPageUrl: '',
termsPageUrl: '',
shimmer: false,
shimmer: true,
};

/**
Expand Down
2 changes: 1 addition & 1 deletion packages/types/src/appearance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ export type Layout = {
privacyPageUrl?: string;
/**
* This option enables the shimmer animation for the avatars of <UserButton/> and <OrganizationSwitcher/>
* @default false
* @default true
*/
shimmer?: boolean;
};
Expand Down