import Layout from '../../components/Layout' import { ComponentsSidebar } from '../../sidebars' import { Playground } from '../../components/Playground'; import { Code, Heading, Paragraph } from '@knkui/typography'; export default function Divider() { return ( Default Divider `} /> Divider with Text PageBreak `} /> Vertical Divider Vertical dividers give you more tools for unique layouts. Hello World `} /> Accessibility By default, Divider components are assigned the WAI-ARIA role of separator which denotes that the divider “separates and distinguishes sections of content or groups of menu items.” However, sometimes a divider is just a way to make an interface look nice. In those cases, the role of presentation should be used which denotes “an element whose implicit native role semantics will not be mapped to the accessibility API.” To override the default separator role in a Divider, simply add a presentation prop to your component. ) }