# Manner Temp URL: /lynx/components/manner-temp Source: https://github.com/daangn/seed-design/blob/dev/docs/content/lynx/components/manner-temp.mdx A component that expresses the user's manner temperature with temperature and expression images. Lynx Engine 최소 버전: 3.6 사용 가능 버전: @seed-design/lynx-react@0.6.0, @seed-design/lynx-css@0.10.0 ## Preview ```tsx import "./styles"; import "./preview.css"; import { MannerTemp, MannerTempEmote, useSeedClassName, VStack } from "@seed-design/lynx-react"; const mannerTemps = [ ["l1", "12.5°C"], ["l2", "30°C"], ["l3", "36°C"], ["l4", "36.5°C"], ["l5", "37°C"], ["l6", "40°C"], ["l7", "45°C"], ["l8", "55°C"], ["l9", "65°C"], ["l10", "80°C"], ] as const; export default function Example() { const seedClassName = useSeedClassName({ colorMode: "system" }); return ( {mannerTemps.map(([level, label]) => ( {label} ))} ); } ``` ## 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 Lynx `MannerTemp` is provided directly from the `@seed-design/lynx-react` package without a separate `ui:manner-temp` snippet. ## Properties ### `MannerTemp` ### `MannerTempEmote` ## Usage Specify the manner temperature range in `level`. If you add `MannerTempEmote` as a child, it displays the expression image for the same `level`. ```tsx import { MannerTemp, MannerTempEmote } from "@seed-design/lynx-react"; export function App() { return ( 36.5°C ); } ``` ## Differences from Web Version - **Rendering elements.** Renders native ``, ``, `` instead of HTML `` and ``. - **Public path.** Unlike the `ui:manner-temp` snippet in React documentation, Lynx uses the package API directly. - **Temperature conversion.** The Lynx package does not convert `temperature` to `level`. Calculate and pass the `level` according to your product's manner temperature criteria. - **Polymorphic rendering.** Does not provide the web's `asChild` and HTML attribute surface.