Rad UI is under active development and looking for contributors to shape the future of the library. If you'd like to contribute to Rad UI, please check out Getting Started

Use these helpers to visually hide elements but keep them accessible to assistive technologies.

import VisuallyHidden from "@radui/ui/VisuallyHidden""

const VisualltHiddenExample = () => (
    <VisuallyHidden asChild style={{display: "none"}}>
            <span>This is a visually hidden text</span>
    </VisuallyHidden>
)
PropTypeDefaultDescription
asChildbooleanfalserenders the children in desired element