BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/simple-ai/markdown-content-demo

markdown-content-demo

simple-ai/markdown-content-demo
FreeExample

simple-ai publishes no description for this item.

Live preview

live · rendered by the registry
Rendered by simple-ai on their own page — this is the component running, not a screenshot of it.

Install it

npx shadcn@latest add https://simple-ai.dev/r/markdown-content-demo.json

Source

./src/registry/examples/markdown-content-demo.tsxsimple-ai.dev/r/markdown-content-demo.json
1"use client";
2
3import { useState } from "react";
4import { MarkdownContent } from "@/registry/ui/markdown-content";
5
6export default function MarkdownContentDemo() {
7 const [content] = useState(
8 `# Markdown Example
9
10This is a sample paragraph that demonstrates how markdown content can be rendered in your application. It shows various markdown elements working together.
11
12## Features List
13
14- Clean and simple syntax
15- Support for headings and paragraphs
16- Bullet point lists
17- Easy to read and write
18- Customizable styling
19
20## Text Formatting
21
22You can make text **bold**, *italic*, or ***both***. You can also use ~~strikethrough~~ text.
23
24### Links and Images
25
26Here's a [link to GitHub](https://github.com) and below is a sample image:
27
28![Markdown Logo](https://markdown-here.com/img/icon256.png)
29
30### Code Examples
31
32Inline code: \`const greeting = "Hello World!"\`
33
34#### Code Block
35
36\`\`\`javascript
37// Code block
38function sayHello() {
39 console.log("Hello!");
40}
41\`\`\`
42
43### Blockquotes
44
45> This is a blockquote
46> It can span multiple lines
47>> And can be nested
48
49### Tables
50
51| Header 1 | Header 2 | Header 3 |
52|----------|----------|----------|
53| Row 1 | Data | Data |
54| Row 2 | Data | Data |
55
56### Task Lists
57
58- [x] Completed task
59- [ ] Pending task
60- [ ] Another task
61
62### Horizontal Rule
63
64---
65
66### Ordered List
67
681. First item
692. Second item
703. Third item
71 1. Sub-item 1
72 2. Sub-item 2
73`,
74 );
75 return (
76 <div className="w-full max-h-[400px] overflow-y-auto">
77 <MarkdownContent content={content} />
78 </div>
79 );
80}

Files it writes

  • ./src/registry/examples/markdown-content-demo.tsx

Facts

Registry
simple-ai
Type
registry:example
Access
Free
Files written
1
Licence
the repository states none
First indexed
2026-08-02
Last confirmed
today

Go to the source

Docs on simple-ai simple-ai.dev Alwurts/simple-ai on GitHub Raw registry item This item as JSON

More from simple-ai

All 77 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
chat-input-demo-mentionschat-input-demo-mentionssimple-aiExamplesFreeno deps
chat-input-demo-simplechat-input-demo-simplesimple-aiExamplesFreeno deps
chat-input-with-addonschat-input-with-addonssimple-aiExamplesFreeno deps
chat-message-area-demochat-message-area-demosimple-aiExamplesFreeno deps
chat-message-area-demo-alignmentchat-message-area-demo-alignmentsimple-aiExamplesFreeno deps
chat-message-area-demo-streamingchat-message-area-demo-streamingsimple-aiExamplesFreeno deps
chat-message-demochat-message-demosimple-aiExamplesFreeno deps
chat-message-demo-avatar-imagechat-message-demo-avatar-imagesimple-aiExamplesFreeno deps
BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex