monday-ui-react-core
Version:
Official monday.com UI resources for application development in React.js
35 lines (26 loc) • 1.34 kB
text/mdx
import { Meta } from "@storybook/blocks";
import { ComponentNameDecorator } from "../../components";
import CornersSettings from "./corners-settings/corner-settings";
import RoundedCorner from "./rounded-corner/rounded-corner";
import { COLORS, SPACING, TYPOGRAPHY } from "../../components/related-components/component-description-map";
import styles from "./round-corners.stories.module.scss";
<Meta title="Foundations/Round Corners" />
<ComponentNameDecorator withFoundationBackground>RoundCorners</ComponentNameDecorator>
- [Overview](
- [Up next](
- [Feedback](
Our design system contains various fixed units for radius of elements corners.
<div className={styles["rounded-corners-container"]}>
<CornersSettings title="Small" bullets={["Forms", "Buttons", "Check boxes", "Selected mark", "Tooltips etc..."]}>
<RoundedCorner roundedCornerSize="small" number="4" />
</CornersSettings>
<CornersSettings title="Medium" bullets={["Dropdown", "Popovers", "Attention box", "Updates"]}>
<RoundedCorner roundedCornerSize="medium" number="8" />
</CornersSettings>
<CornersSettings title="Large" bullets={["Popups"]}>
<RoundedCorner roundedCornerSize="big" number="16" />
</CornersSettings>
</div>
<RelatedComponents componentsNames={[TYPOGRAPHY, SPACING, COLORS]} />