Styled Card Components
Description
The Card
component in Liberty Core provides a customizable UI container with support for elevation, transitions, and interactions. The framework also includes multiple predefined Card
components designed for specific use cases.
Props
Prop | Type | Default | Description |
---|---|---|---|
variant |
"outlined", "elevated" |
"outlined" |
Defines the card's border and elevation. |
isSelected |
boolean |
false |
Highlights the card when selected. |
elevation |
number |
1 |
Applies Material-like shadow elevation. |
onClick |
() => void |
undefined |
Callback function triggered when clicked. |
Example Usage
Basic Styled Card
Predefined Styled Cards
Liberty Core provides a collection of predefined styled Card
components to simplify UI development.
General Styled Cards
Card_AppsLogin
Card_Dashboard
CardActionArea_FormsTools
Detailed Predefined Cards
Card_AppsLogin
A login card with a hover effect and primary color selection.
Card_Dashboard
A styled dashboard card with a border and flex support.
CardActionArea_FormsTools
An interactive card action area for form tools.
Useful Links
🔗 GitHub Repository (Core): Liberty Core
🔗 GitHub Repository (Test Project): Liberty Test
📖 Live Documentation: Liberty Core Docs
💖 Sponsor & Support: Sponsor Liberty Core