Themeable surface container for grouping related content.
variant: elevated | outlined | filled | ghost
padding: none | sm | md | lg
radius: none | sm | md | lg | xl
interactive: boolean
disabled: boolean
label: string
interactive : boolean
disabled : boolean
press
Default role: group
Interactive mode: role=button Enter / Space activate press
Disabled prevents interaction.
Default slot only.
Use CSS variables:
--x-card-background
--x-card-color
--x-card-border-color
--x-card-shadow
--x-card-focus-ring
Override them on host.
<x-card variant="outlined" padding="md">
Content here
</x-card>
Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |