
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 |
---|---|---|---|
as | any | Tag or component, but a simple tag (i.e. built-in components, e.g. div, span) is recommended. | |
frontCount | number | 1 | |
gap | number | 0 | |
listProps | ListProps | ||
overflowMenuProps | Omit<BreadcrumbMenuProps, "button"> | ||
rearCount | number | 2 | |
separator | ReactNode | <ChevronRightIcon colorType="neuFore3rd" size={16} /> | |
variant | BreadcrumbVariants | BreadcrumbVariants.Plain |
Prop name | Type | Default | Description |
---|---|---|---|
as | any | Tag or component, but a simple tag (i.e. built-in components, e.g. div, span) is recommended. | |
clickable | boolean | true | |
colorType | ColorTypes | Set color based on theme. If color is specified, that prop is used instead of this. | |
containerProps | LiHTMLAttributes<HTMLLIElement> & { as?: any; ref?: Ref<HTMLLIElement>; } | ||
disabled | boolean | Equivalent to button's disabled property. | |
ellipsis | boolean | ||
ellipsisTooltipProps | EllipsisTooltipProps | ||
index | number | ||
keyboardClickKeys | string[] | ||
leftIcon | ReactNode | Element before the label. Equivalent to element on the label with some margin. | |
loading | boolean | ||
onBlur | FocusEventHandler<HTMLDivElement> | ||
onClick | MouseEventHandler<HTMLDivElement> | ||
onKeyDown | KeyboardEventHandler<HTMLDivElement> | ||
onKeyUp | KeyboardEventHandler<HTMLDivElement> | ||
onMouseDown | MouseEventHandler<HTMLDivElement> | ||
onMouseLeave | MouseEventHandler<HTMLDivElement> | ||
onMouseUp | MouseEventHandler<HTMLDivElement> | ||
onRelease | EventHandler<SyntheticEvent<HTMLDivElement, Event>> | Callback that's triggered after click i.e. mouseup and keyup of enter or space. | |
onTouchEnd | TouchEventHandler<HTMLDivElement> | ||
onTouchStart | TouchEventHandler<HTMLDivElement> | ||
radius | number | ||
rightIcon | ReactNode | Element after the label. Equivalent to element on the label with some margin. | |
separator | ReactNode | ||
size | ButtonSizes | small | |
variant | ButtonVariants | text | Prefers naming it as variant because type is a known button html property. |
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. | |
button | ReactElement<BaseButtonProps & UseBreadcrumbItemOptions, any> | ||
container | HTMLElement | ||
immediate | boolean | ||
index | number | ||
initialActive | boolean | ||
offset | [number, number] | ||
onActiveChange | (active: boolean) => void | ||
placement | "left" | "right" | "bottom" | "top" | "top-start" | "top-end" | "left-start" | "left-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | bottom-start | |
popperOptions | PopperPopperOptions | Options for Popper.js instance | |
popperUpdateKey | string | ||
springConfig | Partial<AnimationConfig> |
Prop name | Type | Default | Description |
---|---|---|---|
as | any | Tag or component, but a simple tag (i.e. built-in components, e.g. div, span) is recommended. | |
colorType | ColorTypes | Set color based on theme. If color is specified, that prop is used instead of this. | |
containerProps | LiHTMLAttributes<HTMLLIElement> & { as?: any; ref?: Ref<HTMLLIElement>; } | ||
disabled | boolean | Equivalent to button's disabled property. | |
index | number | ||
keyboardClickKeys | string[] | ||
loading | boolean | ||
onBlur | FocusEventHandler<HTMLDivElement> | ||
onClick | MouseEventHandler<HTMLDivElement> | ||
onKeyDown | KeyboardEventHandler<HTMLDivElement> | ||
onKeyUp | KeyboardEventHandler<HTMLDivElement> | ||
onMouseDown | MouseEventHandler<HTMLDivElement> | ||
onMouseLeave | MouseEventHandler<HTMLDivElement> | ||
onMouseUp | MouseEventHandler<HTMLDivElement> | ||
onRelease | EventHandler<SyntheticEvent<HTMLDivElement, Event>> | Callback that's triggered after click i.e. mouseup and keyup of enter or space. | |
onTouchEnd | TouchEventHandler<HTMLDivElement> | ||
onTouchStart | TouchEventHandler<HTMLDivElement> | ||
radius | string | ||
separator | ReactNode | ||
size | IconButtonSizes | small | |
tooltip | ReactNode | ||
tooltipProps | Omit<TooltipProps, "title" | "children"> | ||
variant | IconButtonVariants | flat |
Prop name | Type | Default | Description |
---|---|---|---|
containerProps | LiHTMLAttributes<HTMLLIElement> & { as?: any; ref?: Ref<HTMLLIElement>; } | ||
index | number | ||
separator | ReactNode |
Copyright © 2018-2025 Sea Labs