# Divider URL: /lynx/components/divider Source: https://github.com/daangn/seed-design/blob/dev/docs/content/lynx/components/divider.mdx A component that serves as a visual separator and is used to clearly divide sections between content. Lynx Engine 최소 버전: 3.6 사용 가능 버전: @seed-design/lynx-react@0.5.0, @seed-design/lynx-css@0.8.1 ## Preview ```tsx import "./styles"; import { Divider, useSeedClassName } from "@seed-design/lynx-react"; export default function Example() { const seedClassName = useSeedClassName({ colorMode: "system" }); return ( Nisi elit pariatur incididunt quis fugiat mollit ipsum fugiat duis culpa esse incididunt cupidatat. Consectetur voluptate quis do culpa et culpa. ); } ``` ## 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 `Divider` is provided directly from the `@seed-design/lynx-react` package without a separate `ui:divider` snippet. ## Props ## Usage ```tsx import { Divider } from "@seed-design/lynx-react"; ``` ```tsx ``` ## Screen Reader Behavior Divider is included in the accessibility tree by default and passes `accessibility-role-description="separator"`. Screen readers read the element as a separator. If Divider is a decorative element without semantic meaning, specify `accessibility-element={false}` to prevent screen readers from reading it. ## Examples ### Orientation When using `orientation="vertical"`, the parent must define the height of the divider. ```tsx import "./styles"; import { Divider, useSeedClassName } from "@seed-design/lynx-react"; export default function Example() { const seedClassName = useSeedClassName({ colorMode: "system" }); return ( ); } ``` ### Inset `inset` adds 16px spacing at both ends of the divider. ```tsx import "./styles"; import { Divider, useSeedClassName } from "@seed-design/lynx-react"; export default function Example() { const seedClassName = useSeedClassName({ colorMode: "system" }); return ( ); } ``` ## Web Version Differences - Renders Lynx native `` instead of HTML `
`. - Supports `color`, `thickness`, `orientation`, `inset` same as web. - Lynx accessibility attributes use `accessibility-*` format instead of Web's ARIA attributes. - Like React version, it is provided via package export and does not provide Registry snippet. ## Unsupported Lynx Features - Lynx does not have polymorphic rendering for `
`, `
`, `
  • `, so the Web Divider's `as` prop is not provided. - It lacks implicit separator semantics of `
    `. Adjust accessibility exposure by using `accessibility-role-description` and `accessibility-element` that the component passes by default.