App tile
A booked app on a start page: product mark, name, one-line purpose, optional status; dashed add tile for more apps.
Preview
Booked app and More apps
<a class="nx-apptile" href="#" data-nx-product="sky">
<span class="nx-apptile__mark" aria-hidden="true"></span>
<span class="nx-apptile__name">SkyONEx</span>
<span
class="nx-apptile__purpose">Knowledge and AI assistants</span>
<span class="nx-pill nx-apptile__status">2 assistants
connected</span>
</a>
<a class="nx-apptile nx-apptile--add" href="#">
<span class="nx-apptile__mark" aria-hidden="true"></span>
<span class="nx-apptile__name">More apps</span>
<span class="nx-apptile__purpose">Book an app or try one</span>
</a><NxAppTile
product="sky"
name="SkyONEx"
purpose="Knowledge and AI assistants"
status="2 assistants connected"
href="/sky"
/>
<NxAppTile
add
name="More apps"
purpose="Book an app or try one"
href="/account/products"
/>API
React props (NxKit)
| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
product | NxProduct | Mark and accent. | ||
name | ReactNode | Required | App name. | |
purpose | ReactNode | One line. | ||
status | ReactNode | Short status pill. | ||
href | string | Required | Where the tile goes. | |
add | boolean | false | Dashed More apps tile. | |
linkComponent | ElementType | a | Framework link. |
Classes
| Class | Description |
|---|---|
.nx-apptile | Tile link |
.nx-apptile--add | Dashed add tile |
Accessibility
- The whole tile is one link; the mark is decorative.
Do / Don’t
- Do: Booked apps first, the add tile last.Don't show apps the workspace has not booked as normal tiles.