Skip to content

Hexagon

Hexagonal frame around its slotted content, sized with the height prop.

HTML
React
Angular
<certara-hexagon>
<certara-icon icon="check"></certara-icon>
</certara-hexagon>
import { CertaraHexagon, CertaraIcon } from '@certara/certara-ui-react';
<CertaraHexagon>
<CertaraIcon icon="check" />
</CertaraHexagon>
// In your module (e.g., app.module.ts)
import { CertaraUiAngularModule } from '@certara/certara-ui-angular';
@NgModule({
imports: [CertaraUiAngularModule]
})
// In your template:
<certara-hexagon>
<certara-icon icon="check"></certara-icon>
</certara-hexagon>

height

Attributeheight
Typestring
Defaultundefined
Requiredfalse
DescriptionAccepts a value of 50px, 3rem or any other valid CSS height value. The default height is 50px and is set in the CSS

There are no events available for this component

There are no public methods available for this component

NameDescription
The default slot