Cards can be used to group related subjects in a container.
Basic cards can display any content with no header or footer.
Headers can be used to display titles and more.
Footers can be used to display actions, summaries, or other relevant content.
import '@ods/components/web.card';Note: You only need to import a web component once in your code, as it registers itself globally when defined, allowing you to use it anywhere within your application without needing to re-import it each time you want to use the component.
This component is still in development and cannot be imported at this time.
| Name | Description |
|---|---|
| (default) | The card's main content. |
| header | An optional header for the card. |
| footer | An optional footer for the card. |
| Name | Description |
|---|---|
| base | The component's base wrapper. |
| header | The container that wraps the card's header. |
| content | The container that wraps the card's main content. |
| footer | The container that wraps the card's footer. |
This section includes guidelines for designers and developers about the usage of this component in different contexts.