--- title: Prose description: "`Prose` is a component that styles HTML content." links: - style: https://github.com/yamada-ui/yamada-ui/tree/main/packages/react/src/components/prose/prose.style.ts - source: https://github.com/yamada-ui/yamada-ui/tree/main/packages/react/src/components/prose - storybook: https://yamada-ui.github.io/yamada-ui?path=/story/components-prose--basic --- # Prose `Prose` is a component that styles HTML content. ```tsx

俺だけレベルアップな件

人類最弱兵器と呼ばれるE級ハンター、水篠旬。二重ダンジョンから生還した彼にだけ、 新たな物語 の幕が開く。

あらすじ

死の淵で謎のシステムに選ばれた旬は、唯一のプレイヤー として成長する力を手に入れる。クエストと戦いを重ねながら、 ゲートに 隠された秘密へと近づいていく。

登場人物

セリフ

起きろ。

水篠旬 - 俺だけレベルアップな件

兄貴!

諸菱賢太 - 俺だけレベルアップな件

影の軍団

名前 役割
イグリット 先陣を切る騎士
ベル 圧倒的な力で敵を制圧する兵士
アイアン 仲間を守る重装兵

ステータス

プレイヤー情報を確認するには、 Enterを押してください。

    
      {
        'const player = {\n  name: "水篠旬",\n  role: "影の君主",\n  skills: ["影の抽出", "影の保存"],\n}'
      }
    
  
``` ## Usage ```tsx import { Prose } from "@yamada-ui/react" ``` ```tsx import { Prose } from "@/components/ui" ``` ```tsx import { Prose } from "@workspaces/ui" ``` ```tsx ``` ### Change Variant #### Code ```tsx {(code, index) => (

プレイヤー情報を確認するには、 Enterを押してください。

)}
``` #### Keyboard ```tsx {(kbd, index) => (

プレイヤー情報を確認するには、 Enterを押してください。

)}
``` #### Blockquote ```tsx {(blockquote, index) => (

起きろ。

水篠旬 - 俺だけレベルアップな件

兄貴!

諸菱賢太 - 俺だけレベルアップな件
)}
``` #### Table ```tsx {(table, index) => (
名前 役割
イグリット 先陣を切る騎士
ベル 圧倒的な力で敵を制圧する兵士
アイアン 仲間を守る重装兵
)}
``` #### Link ```tsx {(link, index) => (

人類最弱兵器と呼ばれるE級ハンター、水篠旬。二重ダンジョンから生還した彼にだけ、 新たな物語 の幕が開く。

)}
``` #### Separator ```tsx {(hr, index) => (

起きろ。

水篠旬 - 俺だけレベルアップな件

兄貴!

諸菱賢太 - 俺だけレベルアップな件
)}
``` ### Change Size ```tsx {(size, index) => (

俺だけレベルアップな件

人類最弱兵器と呼ばれるE級ハンター、水篠旬。二重ダンジョンから生還した彼にだけ、 新たな物語 の幕が開く。

あらすじ

死の淵で謎のシステムに選ばれた旬は、唯一のプレイヤー として成長する力を手に入れる。クエストと戦いを重ねながら、 ゲートに 隠された秘密へと近づいていく。

)}
``` ### Change Color Scheme ```tsx {(colorScheme, index) => (

プレイヤー情報を確認するには、 Enterを押してください。

)}
``` ### React Markdown ```ts import Markdown from "react-markdown" import remarkGfm from "remark-gfm" ``` ```tsx preview {`### 影の軍団 | 名前 | 役割 | | --- | --- | | イグリット | 先陣を切る騎士 | | ベル | 圧倒的な力で敵を制圧する兵士 | | アイアン | 仲間を守る重装兵 | `} ``` ### Render HTML ```tsx 影の軍団

影の君主のもとに、新たな仲間が集う。

", }} /> ``` ### Exclude ```tsx

ダンジョン攻略記録

任務を終えた水篠旬は、ハンター協会に報告へ向かう。

ハンター協会の掲示板

本日の任務はE級ダンジョンの調査です。

報告を終えた旬は、次のゲートへと向かった。

``` ## Props | Prop | Default | Type | Description | | ------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------ | | `as` | - | `As` | The HTML element to render. | | `asChild` | - | `boolean` | Merges its props onto its immediate child. | | `css` | - | `CSSObject \| CSSObject[]` | The CSS object. | | `colorScheme` | - | `"amber" \| "black" \| "blackAlpha" \| "blue" \| "cyan" \| "danger" \| "emerald" \| "error" \| "flashy" \| "fuchsia" ...` | Set color scheme variables. | | `size` | `"md"` | `"lg" \| "md" \| "sm"` | The size of the component. | | `blockquote` | `"subtle"` | `"solid" \| "subtle" \| "plain"` | The variant of blockquotes. | | `code` | `"subtle"` | `"outline" \| "solid" \| "subtle" \| "surface"` | The variant of inline code. | | `hr` | - | `"dashed" \| "dotted" \| "solid"` | The variant of separators. | | `kbd` | `"outline"` | `"outline" \| "solid" \| "subtle" \| "surface"` | The variant of keyboard keys. | | `link` | `"plain"` | `"plain" \| "underline"` | The variant of links. | | `table` | `"line"` | `"line" \| "outline"` | The variant of tables. | ## Similar Components - [Blockquote](https://yamada-ui.com/docs/components/blockquote.md): `Blockquote` is a component that represents a quotation. By default, it renders a `blockquote` element. - [Code](https://yamada-ui.com/docs/components/code.md): `Code` is a component that represents a code block. By default, it renders a `code` element. - [Em](https://yamada-ui.com/docs/components/em.md): `Em` is a component that represents emphasized text. By default, it renders a `em` element. - [Heading](https://yamada-ui.com/docs/components/heading.md): `Heading` is a component that represents section headings. By default, it renders an `h1` element. - [Highlight](https://yamada-ui.com/docs/components/highlight.md): `Highlight` is a component that highlights specified strings within text. By default, it renders a `p` element. - [Kbd](https://yamada-ui.com/docs/components/kbd.md): `Kbd` is a component that represents keyboard input. - [Mark](https://yamada-ui.com/docs/components/mark.md): `Mark` is a component that emphasizes a specific part of the text. - [Text](https://yamada-ui.com/docs/components/text.md): `Text` is a component that represents a paragraph of text. By default, it renders a `p` element. ## Uses Components & Hooks - [Blockquote](https://yamada-ui.com/docs/components/blockquote.md): `Blockquote` is a component that represents a quotation. By default, it renders a `blockquote` element. - [Code](https://yamada-ui.com/docs/components/code.md): `Code` is a component that represents a code block. By default, it renders a `code` element. - [Heading](https://yamada-ui.com/docs/components/heading.md): `Heading` is a component that represents section headings. By default, it renders an `h1` element. - [Link](https://yamada-ui.com/docs/components/link.md): `Link` is a component for creating hyperlinks to different web pages, locations within the same page, or other URLs. - [List](https://yamada-ui.com/docs/components/list.md): `List` is a component for displaying lists. By default, it renders a `ul` element. - [NativeTable](https://yamada-ui.com/docs/components/native-table.md): `NativeTable` is a component for efficiently organizing and displaying data. - [Separator](https://yamada-ui.com/docs/components/separator.md): `Separator` is a component that represents a division between elements.