Charted Data.

Command Palette

Search for a command to run...

4 min readCharted Data

Getting Started with the Blog Template

A comprehensive guide to using this advanced blog template with modern MDX components. Learn about enhanced layouts, styling, and all the features available to create professional content.

Welcome to the blog template! This post is a living showcase of every component and typography style available to you.

Typography Showcase#

The template uses Geist Sans for a modern, clean look. Below are the standard typographic elements.

Heading 1#

Heading 2#

Heading 3#

Heading 4#

Heading 5#
Heading 6#

Paragraphs & Inline Styles#

This is a standard paragraph. You can apply bold, italic, or strikethrough styles easily. For technical terms, use inline code which is styled for high legibility.

This is a blockquote. Use it to highlight key quotes or important takeaways from your article. It features a subtle left border and darkened text.

Lists#

Unordered List:

  • Performance: Built for speed.
  • Design: Professional aesthetics.
  • Security: Type-safe code.

Ordered List:

  1. Define your content structure.
  2. Add MDX components.
  3. Deploy to production.

Callouts & Alerts#

Use these components to draw attention to specific types of information.

Note: This is a neutral callout for general information or "did you know" facts.

Tip: Use this for best practices, shortcuts, or optimization suggestions.

Info: Similar to Note, but often used for important contextual background.

Warning: Highlight potential pitfalls or things to be cautious about.

Danger: Use this for critical errors, security risks, or destructive actions.

// Example Usage:
<Tip>
Check out the configuration guide for early optimizations.
</Tip>

UI Components (Advanced Layouts)#

These components help you structure complex data without custom CSS.

Feature Grids#

Perfect for landing pages or summary sections.

🚀 Fast

Near-instant builds with Turbopack.

🎨 Beautiful

Styled with Tailwind 4.

⚡ Modern

Built with Next.js 16.

<Features columns={3}>
Title
Description
---
Next Title...
</Features>

FAQs & Accordions#

Manage questions or collapsible details efficiently.

Yes, it is fully open-source and free to use for any project.

<Faq>
Q: Question?
A: Answer...
---
Q: Another Question?
A: Another Answer...
</Faq>

File Trees#

Visualize your project structure clearly.

project
app
TSXlayout.tsx
TSXpage.tsx
content
blog
MDXhello-world.mdx
public
images
<Tree>
{\`
folder/
file.ts
subfolder/
index.js*
\`}
</Tree>

Step-by-Step Tutorials#

Great for "How-To" guides.

1

Initialize Project

Clone the repository and install dependencies.
2

Customize Config

Update site.ts with your details.
3

Start Writing

Create your first .mdx file in content/blog.
<Tutorial>
Step: Step Name
Detailed description...
---
Step: Next Step...
</Tutorial>

Comparison Views#

Show before/after or vs scenarios.

The Old Way

Manual Styling

Writing custom CSS for every component, managing responsiveness manually, and inconsistent spacing.

The Modern Way

MDX Components

Declarative components that handle everything from dark mode to mobile responsiveness out of the box.

<Compare labels={["Label 1", "Label 2"]}>
Left side content (Markdown or Components)
---
Right side content
</Compare>

Multi-Block Tabs#

Organize related content or code variations.

Terminal window
npm install @charted-data/toolkit
<CodeTabs tabs={["Tab 1", "Tab 2"]}>
Content for Tab 1
---
Content for Tab 2
</CodeTabs>

Media & Interactivity#

Quick Navigation#

Guide your readers with beautiful link cards.

<QuickLinks>
Label -> /path-or-url
Another Link -> https://external-domain.com
</QuickLinks>

Video Embeds#

<YouTube id="VIDEO_ID" title="Optional Title" />
<Video src="/path/to/video.mp4" />

Enhanced Tables#

Standard markdown tables are automatically enhanced with spacing and borders.

FeatureSupportPerformance
Next.jsNativeExceptional
TailwindV4Ultra-Fast
MDXFullSeamless

Conclusion#

This template provides all the tools needed for professional, high-quality technical blogging. Every component is designed to work together seamlessly while maintaining a premium aesthetic.

Happy Writing!

Download This Boilerplate ⚡