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:
- Define your content structure.
- Add MDX components.
- 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}>TitleDescription---Next Title...</Features>FAQs & Accordions#
Manage questions or collapsible details efficiently.
<Faq>Q: Question?A: Answer...---Q: Another Question?A: Another Answer...</Faq>File Trees#
Visualize your project structure clearly.
<Tree>{\`folder/ file.ts subfolder/ index.js*\`}</Tree>Step-by-Step Tutorials#
Great for "How-To" guides.
Initialize Project
Customize Config
Start Writing
<Tutorial>Step: Step NameDetailed description...---Step: Next Step...</Tutorial>Comparison Views#
Show before/after or vs scenarios.
Manual Styling
Writing custom CSS for every component, managing responsiveness manually, and inconsistent spacing.
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.
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-urlAnother 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.
| Feature | Support | Performance |
|---|---|---|
| Next.js | Native | Exceptional |
| Tailwind | V4 | Ultra-Fast |
| MDX | Full | Seamless |
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!