Skip to content
DIH Knowledge Base
    Sign in

    Custom components

    Starlight pages are MDX: import Astro or React components anywhere in the body. That is how SaaS teams add design-system widgets, analytics, status embeds, and interactive demos without forking the theme.

    DocsCallout.astro wraps Starlight <Aside> with an optional kicker for design-system alignment.

    Custom element

    The same embed used on Connect overview — gated by product role in production paths; public here for evaluator convenience.

    Global layout uses Telekom magenta / white / black styling (no ODS dependency):

    ComponentRole
    Header.astroTelekom T logo, DIH diamond, nav, sign-in/out
    Sidebar.astroStarlight sidebar with DIH styling
    UpsellScreen.astroSubscription gate when a product role is missing
    SiteFooter.astroT-Systems legal links

    Use ProductLogo.astro and assets under /images/branding/ for product artwork in MDX.

    ElementTypical use
    Changelog feedRSS or GitHub releases API
    Status embedInstatus, Better Stack iframe
    Cookie/consentCMP script in starlight.head
    Feedback widgetThumbs on each page
    Version pickerStarlight i18n or custom dropdown
    SearchStatic JSON index in header (SSR-friendly); Starlight Pagefind when fully prerendered

    Configured in astro.config.mjs under components:

    • PageFrameAuthPageFrame (access + upsell)
    • Header / Sidebar / ThemeProvider → Telekom DIH layout

    That is the extension point for footer, breadcrumbs, or in-page TOC without losing Starlight content collections.

    Back to capabilities hub