NNory Blog
HomeReviewsLife GuidesJournal
NORY
Grish's Personal Space

A personal space where I share my thoughts on music, movies, and life through journaling. Join me on this journey of discovery and reflection.

Explore

  • Home
  • Reviews
  • Life Guides
  • Journal

Resources

  • Bookmarks
  • Tags
  • RSS Feed

Stay Updated

Get the latest articles and resources sent to your inbox.

© 2026 Grish. All rights reserved.

Privacy PolicyTerms of Service

    The Ultimate Guide to MDX Components

    A comprehensive guide on how to use all the premium MDX components available in this blog.

    NorySight
    NorySight
    January 1, 2024
    42 minutes
    Guide MDX Components
    Status: Ready to listen

    Your browser does not support speech synthesis.

    Ultimate MDX Component Guide

    This blog is built with MDX, allowing us to use React components directly inside markdown. This document serves as the source of truth for all available components.


    1. Highlight & Layout Utilities

    These components help in structuring text and highlighting specific sections.

    Key Points

    Highlight a key takeaway.

    Key Takeaway: Consistency is key when designing user interfaces.

    <KeyPoint>Content...</KeyPoint>

    Info Box

    For general information that needs to stand out.

    This is a standard info box for general knowledge.

    <InfoBox>Content...</InfoBox>

    Feature Section

    Great for landing pages or showcasing features.

    Fast Performance

    Our app is optimized for speed.

    <FeatureSection>Content...</FeatureSection>

    Important Note

    Use this for critical info that shouldn't be missed.

    Note: This API is deprecated in v2.0.

    <ImportantNote>Content...</ImportantNote>

    Quote Callout

    A styled quote block.

    "The only way to do great work is to love what you do."

    <QuoteCallout>Content...</QuoteCallout>

    Section Divider

    A visual separator for sections.

    <SectionDivider />

    2. Callouts

    We support a versatile Callout component with aliases for convenience.

    Info

    General information.

    Warning

    Proceed with caution.

    Error

    Something went wrong.

    Success

    Operation completed.

    Tip

    Here's a pro tip.

    Note

    Just a note.

    Usage:

    // Generic
    <Callout type="info|warning|error|success|tip|note" title="Optional Title">
      Content
    </Callout>
     
    // Aliases
    <InfoCallout>Content</InfoCallout>
    <WarningCallout>Content</WarningCallout>
    <ErrorCallout>Content</ErrorCallout>
    <SuccessCallout>Content</SuccessCallout>
    <TipCallout>Content</TipCallout>
    <NoteCallout>Content</NoteCallout>

    3. Code & Technical

    Code Blocks

    Standard code blocks ```js ... ``` are syntax highlighted automatically.

    Code Comparison

    Compare two code snippets side-by-side.

    Old.js
    var x = 1;
    New.ts
    const x: number = 1;
    <CodeComparison
      leftFilename="File1"
      leftCode="..."
      rightFilename="File2"
      rightCode="..."
    />

    File Tree

    Visualize directory structures.

    <FileTree>
      - folder
        - file.ext
    </FileTree>

    4. Data Visualization

    Charts

    Render beautiful charts using Chart.js. Supported types: line, bar, pie, doughnut, polarArea, radar, bubble, scatter.

    <Chart
      type="bar"
      data={{
        labels: ['A', 'B'],
        datasets: [{ label: 'Data', data: [1, 2] }]
      }}
    />

    5. Media

    Optimized Image

    Alt Text

    Alt Text

    <Image src="..." alt="..." width={...} height={...} caption="..." />

    Image Gallery

    Display a grid of images.

    1
    2
    <Gallery>
      <Image ... />
      <Image ... />
    </Gallery>

    GIFs

    Animated GIF
    <Gif src="..." caption="..." />

    6. Embeds

    YouTube

    <YouTubeEmbed id="VIDEO_ID" title="..." />

    Twitter

    Loading tweet...
    <Tweet tweetId="1234..." theme="light|dark" />

    Spotify

    <Spotify spotifyId="..." type="track|album|playlist" theme="dark" height={380} />

    GitHub Gist

    <Gist gistId="..." file="optional_filename" />

    7. Interactive Elements

    Steps

    1

    Step 1

    Do this.
    2

    Step 2

    Then do that.
    <Steps>
      <Step title="...">Content</Step>
    </Steps>

    Quiz (New)

    Quick Quiz

    What is 2 + 2?

    <Quiz
      question="..."
      options={["..."]}
      correctAnswerIndex={0}
      explanation="..."
    />

    Pros & Cons (New)

    Pros

    • Good thing
    • Another good thing

    Cons

    • Bad thing
    <ProsCons pros={[]} cons={[]} />

    Link Preview (New)

    Next.js
    nextjs.org

    Next.js

    The React Framework

    Read more
    <LinkPreview url="..." title="..." description="..." image="..." />

    Tooltip

    This allows you to add a tooltip to text.

    <Term term="Tooltip Text">Hover me</Term>

    Table of Contents

    • Conclusion

    Conclusion

    This guide covers every MDX component currently available in the system.

    You Might Also Like

    Related Posts

    December 19, 2025
    dextertv-showsreflection
    11 minutes

    Dexter: The Monster in the Mirror

    A deep dive into Dexter seasons 1-8, exploring the masks we wear, the cost of being known, and why I relate to the emptiness behind the smile.

    Read Article
    December 19, 2025
    breaking-badtv-showsreflection
    7 minutes

    Breaking Bad: The Tragedy of Waking Up Too Late

    Reflections on watching Breaking Bad, the gradual corruption of Walter White, and the tragedy of realizing your mistakes when the damage is already done.

    Read Article
    April 24, 2025
    Game DevelopmentPersonalDevlog
    12 minutes

    Devlog 1: The Dream Begins

    The start of my journey to create a game from an old childhood dream.

    Read Article