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
Blogs
All blogs| 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 | 100 | |
| container | HTMLElement | ||
| immediate | boolean | ||
| initialActive | boolean | ||
| initialImmediate | boolean | ||
| isolated | boolean | ||
| offset | [number, number] | [0, 1] | |
| onActiveChange | (active: boolean) => void | ||
| onImmediateChange | (immediate: boolean) => void | ||
| openDelay | number | 500 | |
| placement | "left" | "right" | "bottom" | "top" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | ||
| popperOptions | PopperPopperOptions | Options for floating.ui instance | |
| popperUpdateKey | string | ||
| renderChild | (child: any, handlers: any, ariaAttrs: any) => ReactNode | ||
| springConfig | Partial<AnimationConfig> | ||
| stayOpenOnHover | boolean | ||
| title | ReactNode | ||
| titleContainerProps | HTMLAttributes<HTMLDivElement> | ||
| variant | TooltipVariants |
| 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 | 200 | |
| container | HTMLElement | configs.getPortalContainer('Tooltip', 'container') | |
| immediate | boolean | ||
| initialActive | boolean | ||
| initialImmediate | boolean | ||
| isolated | boolean | ||
| offset | [number, number] | [0, 3] | |
| onActiveChange | (active: boolean) => void | ||
| onImmediateChange | (immediate: boolean) => void | ||
| openDelay | number | 100 | |
| 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 floating.ui 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 } | |
| stayOpenOnHover | boolean | true | |
| title | ReactNode | ||
| titleContainerProps | HTMLAttributes<HTMLDivElement> | ||
| variant | TooltipVariants | dark |
Copyright © 2018-2025 Sea Labs