Components

Component

Article

Readable content region with selection and language policy.

ReactReact Native3 props
PreviewReact

문서 콘텐츠 영역

Article은 긴 본문, 릴리즈 노트, 한국어 문서처럼 읽기 정책이 필요한 콘텐츠를 안정적으로 감쌉니다.

Imports

import { Article } from "@hozorica/hods-react";
import { Article } from "@hozorica/hods-react-native";

Props

PropTypeDescription
langstringLanguage hint. Web uses it for line-breaking policy.
selectablebooleanRN Article context controls nested Text selectable default.
Box propsBoxPropsArticle accepts layout tokens from Box.

Platform Support

React

Applies language-aware line break and selection policy.

React Native

Provides selectable Text context for content regions.

Usage

<Article lang="ko-KR"><Text textStyle="articleBody">본문</Text></Article>

Notes

  • Use for prose, documentation, release notes, and generated copy.
  • Web Korean content uses keep-all word breaking with overflow wrapping.