Skip to content

Code

Renders its slotted content as a styled inline <code> element in a brand, info or success color.

HTML
React
Angular
brand colored code
<certara-code color="brand">brand colored code</certara-code>
import { CertaraCode } from '@certara/certara-ui-react';
<CertaraCode color="brand">brand colored code</CertaraCode>
// In your module (e.g., app.module.ts)
import { CertaraUiAngularModule } from '@certara/certara-ui-angular';
@NgModule({
imports: [CertaraUiAngularModule]
})
// In your template:
<certara-code color="brand">brand colored code</certara-code>

color

Attributecolor
Type"brand" | "info" | "success"
Default'brand'
Requiredfalse
Description

There are no events available for this component

There are no public methods available for this component

There are no slots available for this component