Skip to content
API reference

components/visually-hidden

Import
import * as api from "@fungi.computer/caps/components/visually-hidden";
Kind Export Description
type alias VisuallyHiddenProps Props accepted by VisuallyHidden.
constant VisuallyHidden Content visually hidden while remaining available to assistive technology.

VisuallyHiddenPropstype alias

Section titled “VisuallyHiddenProps”
Signature
type VisuallyHiddenProps = object & HTMLAttributes<HTMLElement>;

Props accepted by VisuallyHidden.

Name Type
asChild? boolean

VisuallyHiddenconstant

Section titled “VisuallyHidden”
Signature
const VisuallyHidden: ForwardRefExoticComponent<
object & HTMLAttributes<HTMLElement> & RefAttributes<HTMLElement>
>;

Content visually hidden while remaining available to assistive technology.