App Row
AppRow
The list-style counterpart of App Tile. One horizontal row that links to /apps/<slug> and shows the App Icon at row size, the title with inline markers (a star for maintainer picks, a dot for apps with activity, a NEW badge for the newest entries), the blurb, and on the right the compact transaction count and the category label.
It is used for the rows inside the category panels on /apps (CategoryPanelsCarousel) and for the flat list further down the same page. The component is memoized.
Basic Usage
Inside a category panel, where the category is already the panel heading, from src/components/CategoryPanelsCarousel/index.js:
import AppRow from '@site/src/components/AppRow';
<ul className={styles.panelList}>
{apps.map((app) => (
<li key={app.slug}>
<AppRow app={app} hideCategory />
</li>
))}
</ul>
In the mixed list on /apps, where the category label is useful:
<AppRow app={app} />
Props
| Prop | Type | Default | Description |
|---|---|---|---|
app | object | - | One showcase entry from Showcases. Needs slug, title, and category. icon, tagline, description, and maintainerPick are optional. Required. |
hideCategory | boolean | false | Hides the category label on the right. Use it when the row sits under a heading that already names the category. |