Generic Components
Reusable components that can be used across different projects.
← Back to Components
Table of Contents
Generic Components
PageHeader#
The PageHeader component is used to display a page header with a title, subtitle, and description.
Optional Subtitle
Example Title
This is an example description.
Action Button<PageHeadertitle="Example Title"subTitle="Optional Subtitle"subTitleLink="#"description="This is an example description."><CTAButton href="#">Action Button</CTAButton></PageHeader>
ThemeToggle#
<ThemeToggle />
TableOfContents#
Table of Contents
Example Section
<TableOfContents items={{'Example Section': [{ id: 'example1', label: 'Example Item 1' },{ id: 'example2', label: 'Example Item 2' }]}} />
ScrollIndicator#
The ScrollIndicator component shows reading progress at the top of the page. See it in action as you scroll this page.
<ScrollIndicator />
InfoBox#
The InfoBox component is used to display content in a styled container with consistent padding and background.
This is an example of content inside an InfoBox component.
It can contain multiple paragraphs and other elements.
<InfoBox><p>This is an example of content inside an InfoBox component.</p><p className="mt-4">It can contain multiple paragraphs and other elements.</p></InfoBox>