Generated wrapper for the Web Awesome wa-card component.
Generated from Web Awesome metadata.
Usage
wa_card(
...,
id = NULL,
class = NULL,
style = NULL,
appearance = NULL,
dir = NULL,
lang = NULL,
orientation = NULL,
with_footer = NULL,
with_header = NULL,
with_media = NULL,
actions = NULL,
footer = NULL,
footer_actions = NULL,
header = NULL,
header_actions = NULL,
media = NULL
)Arguments
- ...
Child content for the component's default slot.
- id
Optional DOM id attribute for HTML, CSS, and JS targeting.
- class
Optional CSS class string.
- style
Optional inline CSS style string.
- appearance
Enumerated string. Allowed values:
accent,filled,filled-outlined,outlined,plain. Default:outlined. The card's visual appearance.- dir
String. Optional Web Awesome attribute.
- lang
String. Optional Web Awesome attribute.
- orientation
Enumerated string. Allowed values:
horizontal,vertical. Default:vertical. Renders the card's orientation *Boolean. Default:
FALSE. Only required for SSR. Set toTRUEif you're slotting in afooterelement so the server-rendered markup includes the footer before the component hydrates on the client.- with_header
Boolean. Default:
FALSE. Only required for SSR. Set toTRUEif you're slotting in aheaderelement so the server-rendered markup includes the header before the component hydrates on the client.- with_media
Boolean. Default:
FALSE. Only required for SSR. Set toTRUEif you're slotting in amediaelement so the server-rendered markup includes the media before the component hydrates on the client.- actions
An optional actions section to render at the end for the horizontal card.
An optional footer for the card.
An optional actions section to render in the footer of the vertical card.
- header
An optional header for the card.
- header_actions
An optional actions section to render in the header of the vertical card.
- media
An optional media section to render at the start of the card.