pressed | booleanControlled toggle state. Update it in onClick and provide a stable aria-label when the visible label changes. | Default— |
|---|
muted | booleanShow a slashed, subdued bell. Pair with pressed for an accessible mute toggle. | Defaultfalse |
|---|
count | numberNonnegative integer displayed as a formatted badge on text buttons. | Default— |
|---|
variant | "primary" | "secondary" | "outline"Set the finish independently of the toggle state. | Defaultpressed ? "primary" : "secondary" |
|---|
size | "sm" | "md" | "lg" | "icon"Use icon for a square bell. Its default accessible name is Notifications. | Default"md" |
|---|
isLoading | booleanShow the busy arc and block activation while saving. | Defaultfalse |
|---|
loadingText | stringVisible label while a text button is busy. | Default"Saving…" |
|---|
theme | "light" | "dark" | "inherit"Use a fixed palette or inherit the nearest CSS color-scheme. | Default"inherit" |
|---|
disabled | booleanDisable the native button. | Defaultfalse |
|---|
children | ReactNodeLabel for text sizes. Defaults to Notify me or Following. | Default— |
|---|