visually-hidden
Renders content that is hidden visually but remains available to assistive technology.
Renders content that is hidden visually but remains available to assistive technology.
import { VisuallyHidden } from '@fluixi/visually-hidden';
<button>
<Icon />
<VisuallyHidden>Close</VisuallyHidden>
</button>
Any style you pass is appended after the hiding styles. All other props are forwarded.
Part of the Fluixi UI component library. Made with ☕ by the Fluixi team.