Calm motion: animations on this site only fade, with no movement
Trend list
Topics that people talk about now, with the count of posts
Shows what is popular, in the side column of a social app or a news site. For people with scores, use the leaderboard.
Basic
Trending now
- Music · Trending#homestudio15.3K posts
- PodcastsEpisode 414.8K posts
- Trending in Indonesia#micsetup2.1K posts
- MediaRadio Kita960 posts
- #roomtreatment412 posts
trendsis a list in order of rank. Each trend has anidand atopic. It can also have acategory, the number ofposts, and anhref.- The list is an ordered list, so screen readers hear the rank. The big number is only for the eye.
- With
href, the topic is a link. The count shows in short form, such as "15.3K posts", in thelocale. - Change the words with
labelsor a label pack:titleandposts(a function).
Usage
ts
import { BlessTrendList } from "blessing-ui";API
Props
| Name | Type | Default | Description |
|---|---|---|---|
trends* | BlessTrend[] | — | |
locale | string | "en" | |
labels | Partial<{ title: string; posts: (count: string) => string; }> | — |