# Text URL: /lynx/foundation/typography/text Source: https://github.com/daangn/seed-design/blob/dev/docs/content/lynx/foundation/typography/text.mdx Text component is a component that renders text by applying Crispy typography tokens in Lynx. ## Installation - npm: npm install @seed-design/lynx-react @seed-design/lynx-css - pnpm: pnpm add @seed-design/lynx-react @seed-design/lynx-css - yarn: yarn add @seed-design/lynx-react @seed-design/lynx-css - bun: bun add @seed-design/lynx-react @seed-design/lynx-css ## Usage ```tsx import { Text } from "@seed-design/lynx-react"; export function App() { return ( Default text ); } ``` `Text` renders Lynx native ``. `textStyle` applies the Crispy typography token corresponding to Figma Text Style at once. In Lynx, text must always be inside a `` element. `Text` does not hide this constraint and renders the native text element directly suited for Lynx. ## Props ## Text Styles ```tsx screenTitle t5Bold ``` If more specific adjustment is needed, you can use `fontSize`, `lineHeight`, `fontWeight`, and `align`. ```tsx Directly specified typography values ``` If you specify only `fontSize` and omit `lineHeight`, the line-height token of the same level is also used. ## Differences from Web Version Lynx `Text` has the following differences from React `Text`: - Does not support `as` or `asChild`. Always renders Lynx native ``. - `maxLines`, `whiteSpace`, `userSelect`, and `textDecorationLine` are not yet provided. - Does not use the web `.seed-text` pattern that relies on CSS `inherit`. Instead, applies `color`, `fontSize`, `lineHeight`, `fontWeight`, and `textAlign` directly as object styles.