A content container. Compose with shad_card_header(),
shad_card_title(), shad_card_description(), shad_card_action(),
shad_card_content() and shad_card_footer().
Usage
shad_card(..., class = NULL)
shad_card_header(..., class = NULL)
shad_card_title(..., class = NULL)
shad_card_description(..., class = NULL)
shad_card_action(..., class = NULL)
shad_card_content(..., class = NULL)
shad_card_footer(..., class = NULL)See also
Other shadshiny tier-1 components:
shad_alert(),
shad_aspect_ratio(),
shad_avatar(),
shad_badge(),
shad_breadcrumb(),
shad_button(),
shad_button_group(),
shad_code_block(),
shad_empty(),
shad_item(),
shad_kbd_group(),
shad_label(),
shad_progress(),
shad_scroll_fade(),
shad_separator(),
shad_shimmer(),
shad_skeleton(),
shad_spinner(),
shad_table(),
shad_typography
Examples
shad_card(
shad_card_header(
shad_card_title("Create project"),
shad_card_description("Deploy in one click.")
),
shad_card_content("Body"),
shad_card_footer(shad_button("Deploy"))
)
#> <div class="shad-card">
#> <div class="shad-card__header">
#> <div class="shad-card__title">Create project</div>
#> <div class="shad-card__description">Deploy in one click.</div>
#> </div>
#> <div class="shad-card__content">Body</div>
#> <div class="shad-card__footer">
#> <button type="button" class="shad-btn shad-btn--default">Deploy</button>
#> </div>
#> </div>