Class: Shadcn::CardComponent
- Inherits:
-
BaseComponent
- Object
- ViewComponent::Base
- BaseComponent
- Shadcn::CardComponent
- Defined in:
- app/components/shadcn/card_component.rb
Overview
Card component with header, content, and footer slots Matches shadcn/ui Card component
Constant Summary collapse
- BASE_CLASSES =
"rounded-xl border bg-card text-card-foreground shadow"
Instance Attribute Summary
Attributes inherited from BaseComponent
#class_name, #data, #html_options
Method Summary
Methods inherited from BaseComponent
Methods included from Rails::Helpers::ClassNameHelper
Constructor Details
This class inherits a constructor from Shadcn::BaseComponent