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 |
|---|---|---|---|
| as | any | Tag or component, but a simple tag (i.e. built-in components, e.g. div, span) is recommended. | |
| direction | LayoutDirections | Default direction depends on the parent. On the top level, default direction is column. This is normally when you have an app with navigation bar on top.The next Layout within a Layout will change direction, e.g. if parent has column as its direction, the child Layout's is row, vice versa. | |
| skipNav | ReactElement<any, any> | Top Layout adds SkipNav component by default. |
| 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. | |
| dividerProps | HTMLAttributes<HTMLDivElement> & { as?: any; ref?: HTMLDivElement; } | ||
| imgProps | AvatarProps | ||
| src | string | ||
| variant | NavbarVariants |
| Prop name | Type | Default | Description |
|---|---|---|---|
| as | any | main | Tag or component, but a simple tag (i.e. built-in components, e.g. div, span) is recommended. |
| skipNavable | boolean | true | Whether the region is added to SkipNav component. |
| Prop name | Type | Default | Description |
|---|---|---|---|
| as | any | header | Tag or component, but a simple tag (i.e. built-in components, e.g. div, span) is recommended. |
| elevationLevel | number | 2 | |
| skipNavable | boolean | Whether the region is added to SkipNav component. | |
| variant | NavbarVariants | dark |
| Prop name | Type | Default | Description |
|---|---|---|---|
| as | any | aside | Tag or component, but a simple tag (i.e. built-in components, e.g. div, span) is recommended. |
| collapsed | boolean | ||
| initialCollapsed | boolean | ||
| onCollapsedChange | (collapsed: boolean) => void | ||
| skipNavable | boolean | true | Whether the region is added to SkipNav component. |
| variant | SidebarVariants | white |
| 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. | |
| disabled | boolean | Equivalent to button's disabled property. | |
| 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 | ||
| size | IconButtonSizes | small | |
| tooltip | ReactNode | ||
| tooltipProps | Omit<TooltipProps, "title" | "children"> | ||
| uncollapsedVariant | SidebarVariants | white | |
| variant | IconButtonVariants | outlined | |
| wrapperProps | HTMLAttributes<HTMLDivElement> & { as?: any; ref?: Ref<HTMLDivElement>; } |
| Prop name | Type | Default | Description |
|---|---|---|---|
| as | void | WebTarget | Tag or component, but a simple tag (i.e. built-in components, e.g. div, span) is recommended. | |
| forwardedAs | void | WebTarget | ||
| theme | DefaultTheme |
Copyright © 2018-2025 Sea Labs