API reference
components/visually-hidden
Import
Section titled “Import”import * as api from "@fungi.computer/caps/components/visually-hidden";Exports
Section titled “Exports”| 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”type VisuallyHiddenProps = object & HTMLAttributes<HTMLElement>;Props accepted by VisuallyHidden.
Type Declaration
Section titled “Type Declaration”| Name | Type |
|---|---|
asChild? |
boolean |
VisuallyHiddenconstant
Section titled “VisuallyHidden”const VisuallyHidden: ForwardRefExoticComponent< object & HTMLAttributes<HTMLElement> & RefAttributes<HTMLElement>>;Content visually hidden while remaining available to assistive technology.