{# @description daisyUI's card: an optional figure, a body and an optional title and actions row. Every part is optional; it renders only what it is given. #} {# @prop title:text | description:"Heading text, shown as the card-title. Fill the title slot instead for an icon or badge alongside it." #} {# @prop figure:text | description:"Content shown in a
before the body, usually an image. Fill the figure slot for markup." #} {# @prop actions:text | description:"Content shown in a card-actions row at the foot of the body, usually buttons. Fill the actions slot for markup." #} {# @prop size:select['xs','sm','md','lg','xl'] | description:"Card size." #} {# @prop border:boolean | description:"Draw the card with a border instead of a shadow." #} {# @prop dash:boolean | description:"Draw the card with a dashed border." #} {# @prop side:select['sm','md','lg','xl','2xl'] | description:"Lay the figure beside the body instead of above it. The bare attribute applies it at every width, which this select cannot set." #} {# @prop image-full:boolean | description:"Let the figure fill the card and place the body over it." #} {# @prop content_class:text | description:"Extra classes added to the card body." #} {# @prop class:text | description:"Extra classes added to the card surface." #} {# @slot Yes, to most countries.Three to five business days.Items can be returned within 30 days.Yes, to the original payment method. — An FAQ: two accordion groups, one plain and one bordered. #} {# @slot:title — A heading with card-title, in place of the title attribute. An icon-only title needs an accessible name of its own. #} {# @slot:figure A brimmed felt hatA knit beanieA straw sun hatA baseball cap — Content in a
before the body, here a gallery of four images. #} {# @slot:actions 3 — Content in a card-actions row at the foot of the body. #} {% load daisy_cotton %}
{% if figure %}
{{ figure }}
{% endif %}
{% if title %}

{{ title }}

{% endif %} {{ slot }} {% if actions %}
{{ actions }}
{% endif %}