LumexUI / lumexui

🚀 A versatile Blazor UI library built using Tailwind CSS.
https://lumexui.org
MIT License
48 stars 2 forks source link

feat(components): add card component #13

Closed desmondinho closed 5 months ago

desmondinho commented 5 months ago

Description

Add card component to the library of components.

Closes #12

What's been done?

Added card and card related components with the following abilities:

Card

CardFooter

--

Introduced the concept of the components with slots. It means that you can style all the parts inside the component using the Classes parameter. For example, the LumexCard component has the following slots:

  1. Root: the root slot of the card, it is the main container.
  2. Header: the wrapper of the card header component.
  3. Body: the wrapper of the card body component.
  4. Footer: the wrapper of the card footer component.

Checklist

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.54%. Comparing base (6106985) to head (e35473f). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #13 +/- ## ========================================== + Coverage 99.50% 99.54% +0.04% ========================================== Files 21 27 +6 Lines 598 654 +56 Branches 42 43 +1 ========================================== + Hits 595 651 +56 Misses 1 1 Partials 2 2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.