Card.svelte

view source

Declarations
#

Card
#

Card.svelte view source

accepts children

import Card from '@fuzdev/fuz_ui/Card.svelte';

children

type Snippet<[]>

href?

Renders the card as an <a> when provided.

type string
optional

tag?

type string
optional

align?

type "left" | "right" | "above" | "below"
optional default 'left'

icon?

type string | Snippet<[]>
optional

a_attrs?

Anchor attributes, applied only when href renders the card as an <a>.

type HTMLAnchorAttributes
optional

intersects

HTMLAttributes<HTMLElement>