Follow Button
A follow toggle that turns into Following, offers Unfollow on hover, attaches a notify bell and rolls the follower count.
Preview
- PS
Priya Shah
Platform · writes about webhooks
- MH
Malik Haddad
Design systems
- TR
Tomás Rey
Docs and DX
readersfollowers
Install
Pro source requires Pebble Pro. Try the full preview above.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| following / defaultFollowing / onFollowingChange | boolean / boolean / (following) => void | — / false / — | Follow state. Hovering a followed button offers Unfollow. |
| count / countLabel | number / string | — / "followers" | Rolling follower count, excluding the viewer. |
| name | string | — | Who is followed, added to the accessible name ("Follow, Priya Shah"). |
| notify / defaultNotify / onNotifyChange | boolean / boolean / (notify) => void | — / false / — | The bell sub-toggle shown while following. |
| showNotify | boolean | true | Show the bell segment while following. |
| size | "sm" | "md" | "md" | 28 or 32 px. |
Pro component
Try the full preview above. Editable source and build guides require Pebble Pro.
