
Coral is a thoroughly developed design system widely adopted by developers and designers for creating beautiful and user-friendly Sea internal products.
Copyright © 2018-2025 Sea Labs
Prop name | Type | Default | Description |
---|---|---|---|
active | boolean | ||
arrow | ArrowProps | ||
as | any | Tag or component, but a simple tag (i.e. built-in components, e.g. div, span) is recommended. | |
closeDelay | number | ||
container | HTMLElement | configs.getPortalContainer('Tooltip', 'container') | |
immediate | boolean | ||
initialActive | boolean | ||
initialImmediate | boolean | ||
offset | [number, number] | [0, 3] | |
onActiveChange | (active: boolean) => void | ||
onImmediateChange | (immediate: boolean) => void | ||
openDelay | number | ||
placement | "left" | "right" | "bottom" | "top" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | top | |
popperOptions | PopperPopperOptions | Options for Popper.js instance | |
popperUpdateKey | string | ||
renderChild | (child: any, handlers: any, ariaAttrs: any) => ReactNode | (child, handlers, ariaAttrs) => cloneElement(child, { ...handlers, ...ariaAttrs }) | |
springConfig | Partial<AnimationConfig> | { tension: 720, mass: 0.5 } | |
title | ReactNode | ||
titleContainerProps | HTMLAttributes<HTMLDivElement> | ||
variant | TooltipVariants | dark |
Copyright © 2018-2025 Sea Labs