Skip to content

Disclosure

Show design guidelines

Disclosures are expandable areas of content that are summarized or otherwise labeled to indicate what they relate to. There is a trigger that must be manually selected which allows the user to show and hide the additional content that is available.

HTML React Angular
Click the component to disclose its content.
Content of the disclosure is now shown
<certara-disclosure summary="Label">Content of the disclosure is now shown</certara-disclosure>
import { CertaraDisclosure } from '@certara/certara-ui-react';
<CertaraDisclosure summary="Label">Content of the disclosure is now shown</CertaraDisclosure>
// In your module (e.g., app.module.ts)
import { CertaraUiAngularModule } from '@certara/certara-ui-angular';
@NgModule({
imports: [CertaraUiAngularModule]
})
// In your template:
<certara-disclosure summary="Label">Content of the disclosure is now shown</certara-disclosure>

alignItems

Attributealign-items
Type"baseline" | "center" | "end" | "start"
Defaultundefined
Requiredfalse
DescriptionControl vertical alignment of disclosure triange

arrowEnd

Attributearrow-end
Typeboolean
Defaultfalse
Requiredfalse
DescriptionDisclosure arrow will show at the end of the content

hasHover

Attributehas-hover
Typeboolean
Defaulttrue
Requiredfalse
DescriptionControls the default hover effect

hasPadding

Attributehas-padding
Typeboolean
Defaultfalse
Requiredfalse
DescriptionContent is padded to be flush with the opener

innerClassName

Attributeinner-class-name
Typestring
Defaultundefined
Requiredfalse
DescriptionAdditional class name(s) to apply to the inner content wrapper

open

Attributeopen
Typeboolean
Defaultfalse
Requiredfalse
DescriptionHidden content will be visible

summary

Attributesummary
Typestring
Defaultundefined
Requiredfalse
DescriptionVisible label of the disclosure control

There are no events available for this component

There are no public methods available for this component

NameDescription
Content hidden by the disclosure goes in the main slot
custom-summarySlot available if summary requires custom formatting