UNPKG

@neynar/ui

Version:

React UI component library built on shadcn/ui and Tailwind CSS

46 lines (36 loc) 969 B
# CardDescription **Type**: component CardDescription - Supplementary description text for a card Provides additional context or details about the card content. Styled with muted foreground color and smaller text size to create visual hierarchy below the CardTitle. ## JSX Usage ```jsx import { CardDescription } from '@neynar/ui'; <CardDescription className="value" > {/* Your content here */} </CardDescription> ``` ## Component Props ### className - **Type**: `string` - **Required**: No - **Description**: No description available ### children - **Type**: `React.ReactNode` - **Required**: No - **Description**: No description available ## Examples ### Example 1 ```tsx <CardDescription> View and manage your dashboard settings </CardDescription> ``` ### Example 2 ```tsx // Multi-line description <CardDescription> This card contains important information about your account. Review the details and take action if needed. </CardDescription> ```