Usage
import { Divider } from "lambda-ui-components";
export default function App() {
return (
<>
<p>Content above</p>
<Divider />
<p>Content below</p>
</>
);
}Divider component separates content with a line.
Experiment with all the properties of the Divider component in real time.
Spacing of the divider in pixels.
Color of the divider.
Variant of the divider.
Orientation of the divider.
Size of the divider.
Content position of the divider.
import { Divider } from "lambda-ui-components";
export default function App() {
return (
<>
<p>Content above</p>
<Divider />
<p>Content below</p>
</>
);
}Prop | Default | Type |
|---|---|---|
variant | "solid" | "solid" | "dashed" | "dotted" |
orientation | "horizontal" | "horizontal" | "vertical" |
color | "neutral" | "neutral" | "primary" | "secondary" | "danger" | "success" | "warning" | "info" | "white" | "black" |
size | "tiny" | "tiny" | "small" | "medium" | "large" |
spacing | 5 | number |
contentPosition | "center" | "center" | "start" | "end" |