Skip to content

Empty State

Show design guidelines

HTML React Angular
Create tables and figures Learn about tables and figures
<certara-empty-state img="/assets/img/empty-states/welcome.svg" headline="Create your first tables and figures" description="Get started by creating your first table or figure" img-height="200" img-width="175" >
<span slot="actions">
<certara-button color="brand">
<certara-icon name="plus"></certara-icon>
Create tables and figures
</certara-button>
<certara-button variant="link" href="https://help.certara.net" target="_blank">
Learn about tables and figures
<certara-icon name="arrow-up-right-from-square"></certara-icon>
</certara-button>
</span>
</certara-empty-state>
import { CertaraButton, CertaraEmptyState, CertaraIcon } from '@certara/certara-ui-react';
<CertaraEmptyState img="/assets/img/empty-states/welcome.svg" headline="Create your first tables and figures" description="Get started by creating your first table or figure" imgHeight={200} imgWidth={175}>
<span slot="actions">
<CertaraButton color="brand">
<CertaraIcon name="plus" />
Create tables and figures
</CertaraButton>
<CertaraButton variant="link" href="https://help.certara.net" target="_blank">
Learn about tables and figures
<CertaraIcon name="arrow-up-right-from-square" />
</CertaraButton>
</span>
</CertaraEmptyState>
// In your module (e.g., app.module.ts)
import { CertaraUiAngularModule } from '@certara/certara-ui-angular';
@NgModule({
imports: [CertaraUiAngularModule]
})
// In your template:
<certara-empty-state img="/assets/img/empty-states/welcome.svg" headline="Create your first tables and figures" description="Get started by creating your first table or figure" img-height="200" img-width="175">
<span slot="actions">
<certara-button color="brand">
<certara-icon name="plus"></certara-icon>
Create tables and figures
</certara-button>
<certara-button variant="link" href="https://help.certara.net" target="_blank">
Learn about tables and figures
<certara-icon name="arrow-up-right-from-square"></certara-icon>
</certara-button>
</span>
</certara-empty-state>

description

Attributedescription
Typestring
Defaultundefined
Requiredfalse
DescriptionOutputs text below headline

headline

Attributeheadline
Typestring
Defaultundefined
Requiredfalse
DescriptionOutputs header as h1 (large) h3(default)

horizontal

Attributehorizontal
Typeboolean
Defaultfalse
Requiredfalse
DescriptionToggles horizontal view

img

Attributeimg
Typestring
Default'welcome'
Requiredfalse
DescriptionImage name or path. If a simple name is provided (e.g., ‘welcome’),
it will be resolved to the CDN path. Full URLs or paths starting
with ’/’, ’.’, or ‘http’ will be used as-is.

imgHeight

Attributeimg-height
Typenumber
Defaultundefined
Requiredfalse
DescriptionHeight of image

imgWidth

Attributeimg-width
Typenumber
Defaultundefined
Requiredfalse
DescriptionWidth of image

size

Attributesize
Type"lg" | "md"
Default'md'
Requiredfalse
DescriptionOutputs the .empty-state__title as an h1

width

Attributewidth
Typestring
Defaultundefined
Requiredfalse
DescriptionOptional width of the empty state. Accepts a value of 30rem, 370px, or any valid CSS size value.

There are no events available for this component

There are no public methods available for this component

NameDescription
actionsButtons, links, more content
description-slotHTML slot for the description. Outputs text below headline.
headline-slotHTML slot for the headline. Outputs as h1 (large) h3(default).