Card provides a padded surface for related content.
Usage
Props
Card also accepts React Native ViewProps, including style and onLayout.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Group related content on a bordered surface
Card provides a padded surface for related content.
import { Button, Card, Text } from '@amisi-mobile-starter/ui';
export const PlanCard = () => (
<Card className="gap-4">
<Text variant="heading" size="lg">
Pro plan
</Text>
<Text>Access analytics and premium insights.</Text>
<Button onPress={() => {}}>Upgrade</Button>
</Card>
);
| Prop | Type | Default | Description |
|---|---|---|---|
children | ReactNode | Required | Card content. |
className | string | undefined | Additional utility classes merged with card styles. |
Card also accepts React Native ViewProps, including style and onLayout.Was this page helpful?