Card
Container component with MS-DOS terminal aesthetics and configurable title positioning.
Import
Usage
The Card component provides a container with box-shadow borders and configurable title positioning, styled with MS-DOS terminal aesthetics.
A simple card without a title. Use cards to group related content.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| title | React.ReactNode | - | Title displayed in the card header |
| mode | 'left' | 'right' | 'center' | 'center' | Title alignment mode |
| children | React.ReactNode | - | Card content |
| className | string | - | Additional CSS class names |
Variants
With Title
SYSTEM STATUS
All systems operational.
Last checked: 2024-01-15 14:32:00 UTC
Title Alignment
LEFT ALIGNED
Title aligned to the left with corner decoration.
CENTER ALIGNED
Title centered (default mode).
RIGHT ALIGNED
Title aligned to the right with corner decoration.