Hover the icon or press Play. Suggested motion: pop. Pick another to preview it and update the animated code:
Divider Horizontal icon
A free divider horizontal icon from Radix Icons, ready for React. Use it static or animated: both versions are below, copy-paste or one shadcn command away. Sized in em and colored by currentColor.
- License
- MIT license
- Project
- icons.radix-ui.com
npx shadcn@latest add https://ui.cuelark.com/r/icons/radix/divider-horizontal.jsonimport * as React from "react";
/**
* Divider Horizontal from Radix Icons (https://icons.radix-ui.com), MIT.
* Via Cuelark UI: ui.cuelark.com/icons/radix/divider-horizontal. Sized in em, colored by currentColor.
*/
export function RxDividerHorizontalIcon(props: React.SVGProps<SVGSVGElement>) {
return (
<svg
aria-hidden="true"
fill="none"
viewBox="0 0 15 15"
stroke="currentColor"
fill="currentColor"
strokeWidth="0"
width="1em"
height="1em"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<path
d="M12.5 7C12.7761 7 13 7.22386 13 7.5C13 7.77614 12.7761 8 12.5 8H2.5C2.22386 8 2 7.77614 2 7.5C2 7.22386 2.22386 7 2.5 7H12.5Z"
fill="currentColor"
/>
</svg>
);
}import { RxDividerHorizontal } from "react-icons/rx";
export function Example() {
return <RxDividerHorizontal className="size-5" />;
}<svg
fill="none"
viewBox="0 0 15 15"
stroke="currentColor"
fill="currentColor"
stroke-width="0"
width="1em"
height="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M12.5 7C12.7761 7 13 7.22386 13 7.5C13 7.77614 12.7761 8 12.5 8H2.5C2.22386 8 2 7.77614 2 7.5C2 7.22386 2.22386 7 2.5 7H12.5Z"
fill="currentColor"
/>
</svg>"Divider Horizontal" icon from Radix Icons (https://icons.radix-ui.com), licensed under MIT license.