Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Header Component
Badge
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Primary
Secondary
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
certara-card
Properties
bodyClassName
| |
---|
Attribute | body-class-name |
Type | string |
Default | undefined |
Required | false |
Description | Adds optional classes to the card body, for instance to zero out padding “pb-0” when there’s a footer that already has padding. |
headline
| |
---|
Attribute | headline |
Type | string |
Default | undefined |
Required | false |
Description | Optional title of the card, appended as the first item in the card body. |
href
| |
---|
Attribute | href |
Type | string |
Default | undefined |
Required | false |
Description | Links the entire card if present, using the stretched link utility class. |
size
| |
---|
Attribute | size |
Type | "default" | "xs" |
Default | 'default' |
Required | false |
Description | A size of ‘small” creates a mini-card, with tighter padding. |
subtitle
| |
---|
Attribute | subtitle |
Type | string |
Default | undefined |
Required | false |
Description | Optional subtitle of the card, appended to the card body under the title in smaller, gray text. |
target
| |
---|
Attribute | target |
Type | "_blank" | "_parent" | "_self" | "_top" | "_unfencedTop" |
Default | undefined |
Required | false |
Description | If href is present, this sets the target of the link. |
width
| |
---|
Attribute | width |
Type | string |
Default | undefined |
Required | false |
Description | Optional width of the card. Accepts a value of 30rem , 370px , or any valid CSS size value. |
Events
There are no events available for this component
Methods
There are no public methods available for this component
Slots
Name | Description |
---|
| Main slot for card content |
footer | Slot for custom footer content |
header | Slot for custom header content |
image-bottom | Slot for an image that appears at the bottom of the card |
image-top | Slot for an image that appears at the top of the card |
Properties
class
| |
---|
Attribute | class |
Type | string |
Default | undefined |
Required | false |
Description | Additional class names to apply to the internal card header. |
Events
There are no events available for this component
Methods
There are no public methods available for this component
Slots
Name | Description |
---|
| Main slot for custom header content |
Properties
class
| |
---|
Attribute | class |
Type | string |
Default | undefined |
Required | false |
Description | Additional class names to apply to the internal card footer. |
Events
There are no events available for this component
Methods
There are no public methods available for this component
Slots
Name | Description |
---|
| Main slot for custom footer content |
certara-card-image
Properties
alt
| |
---|
Attribute | alt |
Type | string |
Default | '' |
Required | false |
Description | The alt text for the image, used for accessibility. |
imageSrc
| |
---|
Attribute | image-src |
Type | string |
Default | undefined |
Required | false |
Description | The source URL of the image to display in the card. |
placement
| |
---|
Attribute | placement |
Type | "bottom" | "top" |
Default | undefined |
Required | false |
Description | The placement of the image within the card. |
Events
There are no events available for this component
Methods
There are no public methods available for this component
Slots
There are no slots available for this component
Legacy
Legacy components are not recommended for use in new projects.
Card title
Card Subheader
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.