Item Card
Compact card for one item: icon, name, description and one value.
Usage
import { ItemCard } from '@smartui/react';
import '@smartui/react/styles.css';When to use
- Short lists of services, plans or clinics.
When not to use
- Long lists. Use List Row or Data Grid.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
title | string | required | |
description | string | - | |
icon | IconName | - | |
value | ReactNode | - | |
onPress | () => void | - |
Accessibility
- Read in order: title, description, value.