Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/reach/reach-ui
/ functions
Functions
922 in github.com/reach/reach-ui
⨍
Functions
922
◇
Types & classes
130
↓ 1 callers
Function
getRandomId
()
playground/stories/accordion/with-index-prop.example.tsx:102
↓ 1 callers
Function
getRandomInt
(min = 1, max = 100)
packages/alert/__tests__/alert-axe.test.tsx:150
↓ 1 callers
Function
getRandomInt
(min = 1, max = 100)
playground/stories/alert/basic.example.tsx:125
↓ 1 callers
Function
getServiceState
( service: StateMachine.Service<TContext, TEvent, TState> )
packages/machine/src/reach-machine.ts:18
↓ 1 callers
Function
getStyles
( position: Position, triggerRect: PRect, tooltipRect: PRect )
packages/tooltip/src/reach-tooltip.tsx:580
↓ 1 callers
Function
getStyles
( position: Position, targetRect: PRect | null, popoverRect: PRect | null, ...unstable_observableRefs: Rea
packages/popover/src/reach-popover.tsx:104
↓ 1 callers
Function
h
(o,l,i,u)
website/static/router/static/js/vendors~app~vendor.4982872f.chunk.js:14
↓ 1 callers
Function
handleChange
()
packages/checkbox/src/mixed.tsx:351
↓ 1 callers
Function
handleError
(error)
website/src/components/MdxPre.js:103
↓ 1 callers
Function
handleSelect
(value: string)
playground/stories/combobox/token-input.example.tsx:27
↓ 1 callers
Function
handleSubmit
(event: React.FormEvent)
playground/stories/listbox/with-nested-tabbables.example.tsx:17
↓ 1 callers
Function
i
(t)
website/static/router/static/js/app.f4d1301c.js:1
↓ 1 callers
Function
ie
(e)
website/static/router/static/js/vendors~app.6755dc85.chunk.js:1
↓ 1 callers
Function
isListboxExpanded
(state: string)
packages/listbox/src/reach-listbox.tsx:1226
↓ 1 callers
Function
leaveTooltip
(element: HTMLElement)
packages/tooltip/__tests__/tooltip-axe.test.tsx:52
↓ 1 callers
Function
main
()
scripts/prepublish.js:11
↓ 1 callers
Function
main
()
scripts/postbuild.js:10
↓ 1 callers
Method
mount
(element: JSX.Element)
packages/alert/src/reach-alert.tsx:190
↓ 1 callers
Function
msToTime
(ms: number)
playground/stories/slider/utils.ts:3
↓ 1 callers
Function
mutateMediaState
(key, val)
website/src/components/createMediaListener.js:31
↓ 1 callers
Function
notify
()
packages/tooltip/src/reach-tooltip.tsx:182
↓ 1 callers
Function
notify
()
website/src/components/createMediaListener.js:26
↓ 1 callers
Function
oe
(e)
website/static/router/static/js/vendors~app.6755dc85.chunk.js:1
↓ 1 callers
Method
onClick
(event: React.MouseEvent<HTMLInputElement>)
packages/checkbox/src/mixed.tsx:273
↓ 1 callers
Function
optionIsActive
(data: ListboxStateData, event: any)
packages/listbox/src/machine.ts:151
↓ 1 callers
Function
p
(r)
website/static/router/static/js/vendor.f4d1301c.js:1
↓ 1 callers
Function
p
(e,t)
website/static/router/static/js/app.f4d1301c.js:1
↓ 1 callers
Method
pause
()
playground/stories/slider/utils.ts:247
↓ 1 callers
Function
percentToValue
(percent: number, min: number, max: number)
packages/slider/src/reach-slider.tsx:1068
↓ 1 callers
Function
popoverContainsEventTarget
( popover: HTMLElement | null, target: HTMLElement | EventTarget | null )
packages/dropdown/src/reach-dropdown.tsx:916
↓ 1 callers
Function
popoverIsExpanded
(state: State)
packages/combobox/src/reach-combobox.tsx:223
↓ 1 callers
Function
positionTooltip
( triggerRect, tooltipRect, offset = OFFSET_DEFAULT )
packages/tooltip/src/reach-tooltip.tsx:597
↓ 1 callers
Function
qe
(e,t,n)
website/static/router/static/js/vendors~app~vendor.4982872f.chunk.js:14
↓ 1 callers
Function
r
(r)
website/static/router/static/js/vendor.f4d1301c.js:1
↓ 1 callers
Function
renderTestMenu
()
packages/menu-button/__tests__/menu-button-axe.test.tsx:88
↓ 1 callers
Function
renderTestMenuWithLinks
()
packages/menu-button/__tests__/menu-button-axe.test.tsx:120
↓ 1 callers
Function
renderTestMenuWithLinksAndItems
()
packages/menu-button/__tests__/menu-button-axe.test.tsx:156
↓ 1 callers
Method
seek
(time: number)
playground/stories/slider/utils.ts:248
↓ 1 callers
Function
shiftTabbedFromElementAfterTrigger
(event: KeyboardEvent)
packages/popover/src/reach-popover.tsx:295
↓ 1 callers
Function
shiftTabbedOutOfPopover
(event: KeyboardEvent)
packages/popover/src/reach-popover.tsx:310
↓ 1 callers
Function
shiftTabbedToBrowserChrome
(event: KeyboardEvent)
packages/popover/src/reach-popover.tsx:332
↓ 1 callers
Function
showOpts
( results: R[], render: (props: { result: R; index: number }) => React.ReactNode )
packages/combobox/__tests__/combobox.test.tsx:354
↓ 1 callers
Function
showOpts
( results: R[], render: (props: { result: R; index: number }) => React.ReactNode )
playground/stories/combobox/in-form.example.tsx:15
↓ 1 callers
Function
simulateEnterKeyClick
( element: HTMLElement, opts?: { fireClick?: boolean } )
test/utils.tsx:117
↓ 1 callers
Function
stateValueToChecked
(state: string)
packages/checkbox/src/mixed.tsx:469
↓ 1 callers
Function
stringify
( obj, { EOL = "\n", finalEOL = true, replacer = null, spaces } = {} )
scripts/utils.js:31
↓ 1 callers
Function
stripBom
(content)
scripts/utils.js:40
↓ 1 callers
Function
subscribe
(fn: Function)
packages/tooltip/src/reach-tooltip.tsx:175
↓ 1 callers
Function
syncDomNodeWithState
()
packages/checkbox/src/mixed.tsx:376
↓ 1 callers
Function
tabbedFromTriggerToPopover
()
packages/popover/src/reach-popover.tsx:259
↓ 1 callers
Function
tabbedOutOfPopover
()
packages/popover/src/reach-popover.tsx:273
↓ 1 callers
Function
tabbedToBrowserChrome
(event: KeyboardEvent)
packages/popover/src/reach-popover.tsx:323
↓ 1 callers
Function
te
(e,t,n,r)
website/static/router/static/js/vendors~app~vendor.4982872f.chunk.js:14
↓ 1 callers
Function
toggleItem
(index: number)
playground/stories/accordion/controlled.example.tsx:14
↓ 1 callers
Function
transition
( currentState: StateObject, event: MachineEvent )
packages/tooltip/src/reach-tooltip.tsx:708
↓ 1 callers
Method
unmount
()
packages/alert/src/reach-alert.tsx:192
↓ 1 callers
Function
unwrapRefs
(refs: MachineToReactRefMap<TE>)
packages/machine/src/reach-machine.ts:152
↓ 1 callers
Function
updateIndices
( items: DescendantType[] )
packages/descendants/src/reach-descendants.tsx:387
↓ 1 callers
Function
useAccordionContext
* A hook that exposes data for a given `Accordion` component to its * descendants. * * @see Docs https://reach.tech/accordion#useaccordioncontext
packages/accordion/src/reach-accordion.tsx:525
↓ 1 callers
Function
useAudio
( elementOrProps: AudioDOMElement | AudioProps )
playground/stories/slider/utils.ts:20
↓ 1 callers
Function
useCityMatch
(term: string)
packages/combobox/__tests__/combobox-axe.test.tsx:76
↓ 1 callers
Function
useControlledStateSync
( controlPropValue: T | undefined, internalValue: T, send: any )
packages/listbox/src/reach-listbox.tsx:1389
↓ 1 callers
Function
useControlledSwitchWarning
( controlledValue: any, controlledPropName: string, componentName: string )
packages/utils/src/dev-utils.ts:17
↓ 1 callers
Function
useDimensions
(ref: React.RefObject<HTMLElement | null>)
packages/slider/src/reach-slider.tsx:1132
↓ 1 callers
Function
useDisabledTriggerOnSafari
* This is a workaround for using tooltips with disabled controls in Safari. * Safari fires `pointerenter` but does not fire `pointerleave`, and * `o
packages/tooltip/src/reach-tooltip.tsx:644
↓ 1 callers
Function
useDivHeight
()
playground/stories/accordion/animated.example.tsx:15
↓ 1 callers
Function
useFocusManagement
* Move focus back to the input if we start navigating w/ the * keyboard after focus has moved to any focusable content in * the popup. * * @param
packages/combobox/src/reach-combobox.tsx:1009
↓ 1 callers
Function
useMenuButtonContext
* A hook that exposes data for a given `Menu` component to its descendants. * * @see Docs https://reach.tech/menu-button#usemenubuttoncontext
packages/menu-button/src/reach-menu-button.tsx:446
↓ 1 callers
Function
useMessageTimeout
(messages: string[], callback: Function)
packages/alert/__tests__/alert-axe.test.tsx:133
↓ 1 callers
Function
useMessageTimeout
(messages: string[], callback: Function)
playground/stories/alert/basic.example.tsx:108
↓ 1 callers
Function
useMirrorEffects
( ref: React.RefObject<Element>, { type: regionType = "polite", ...props }: React.ComponentPropsWithout
packages/alert/src/reach-alert.tsx:166
↓ 1 callers
Function
useOptionDataFactory
* Uses a ref object which stores the index as a key and custom data as value * for each ComboboxOption. Hides the ref so that we can only mutate it t
playground/stories/combobox/with-custom-select-data.example.tsx:160
↓ 1 callers
Function
useReducerMachine
* This manages transitions between states with a built in reducer to manage * the data that goes with those transitions. * * @param chart * @param
packages/combobox/src/reach-combobox.tsx:1234
↓ 1 callers
Function
useSimulateTabNavigationForReactTree
(triggerRef: React.RefObject<T>, popoverRef: React.RefObject<P>)
packages/popover/src/reach-popover.tsx:204
↓ 1 callers
Function
useStableCallback
( callback: T | null | undefined )
packages/utils/src/use-stable-callback.ts:37
↓ 1 callers
Function
useTabsContext
* A hook that exposes data for a given `Tabs` component to its descendants. * * @see Docs https://reach.tech/tabs#usetabscontext
packages/tabs/src/reach-tabs.tsx:630
↓ 1 callers
Function
useThrottle
(value: any, limit: number)
playground/stories/combobox/utils.ts:20
↓ 1 callers
Function
useUpdateEffect
( effect: React.EffectCallback, deps?: React.DependencyList )
packages/utils/src/use-update-effect.ts:10
↓ 1 callers
Function
withMarkup
(query: Query)
test/utils.tsx:30
↓ 1 callers
Function
z
(e,t,n,r)
website/static/router/static/js/vendors~app~vendor.4982872f.chunk.js:14
↓ 1 callers
Function
zr
(e,t,n,r)
website/static/router/static/js/vendors~app~vendor.4982872f.chunk.js:14
Function
$
()
website/static/router/static/js/vendors~app.6755dc85.chunk.js:1
Function
$t
(e)
website/static/router/static/js/vendors~app~vendor.4982872f.chunk.js:14
Function
AlertApp
()
packages/alert/__tests__/alert-axe.test.tsx:35
Function
ArrowButton
({ children, active, ...props }: ArrowButtonProps)
playground/stories/accordion/with-arrows.example.tsx:51
Function
ArrowIcon
({ active, ...props }: ArrowIconProps)
playground/stories/accordion/with-arrows.example.tsx:72
Function
AsPropWarning
()
website/src/components/AsPropWarning.js:4
Function
At
(e)
website/static/router/static/js/vendors~app~vendor.4982872f.chunk.js:14
Function
B
(e)
website/static/router/static/js/vendors~app.6755dc85.chunk.js:1
Function
BasicAlertDialog
()
packages/alert-dialog/__tests__/alert-dialog-axe.test.tsx:38
Function
BasicAlertDialog
()
packages/alert-dialog/__tests__/alert-dialog.test.tsx:42
Function
BasicCombobox
()
packages/combobox/__tests__/combobox-axe.test.tsx:36
Function
BasicCombobox
()
packages/combobox/__tests__/combobox.test.tsx:257
Function
BasicCustomCheckbox
()
packages/checkbox/__tests__/checkbox-axe.test.tsx:99
Function
BasicMixedCheckbox
()
packages/checkbox/__tests__/checkbox-axe.test.tsx:79
Function
BasicOpenDialog
()
packages/dialog/__tests__/dialog.test.tsx:105
Function
BasicOpenDialog
()
packages/dialog/__tests__/dialog-axe.test.tsx:25
Function
Bt
(e,t)
website/static/router/static/js/vendors~app~vendor.4982872f.chunk.js:14
Function
Combobox
({ onSelect: onSelectProp, ...props }: ComboboxProps)
playground/stories/combobox/with-custom-select-data.example.tsx:75
Function
ComboboxExample
()
packages/combobox/__tests__/combobox.test.tsx:123
← previous
next →
401–500 of 922, ranked by callers