Hover the icon or press Play. Suggested motion: pop. Pick another to preview it and update the animated code:
Horizontal Rule icon
A free horizontal rule icon from Material Design 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
- Apache License Version 2.0
- Project
- google.github.io
npx shadcn@latest add https://ui.cuelark.com/r/icons/material-design/horizontal-rule.jsonimport * as React from "react";
/**
* Horizontal Rule from Material Design icons (http://google.github.io/material-design-icons/), Apache License Version 2.0.
* Via Cuelark UI: ui.cuelark.com/icons/material-design/horizontal-rule. Sized in em, colored by currentColor.
*/
export function MdHorizontalRuleIcon(props: React.SVGProps<SVGSVGElement>) {
return (
<svg
aria-hidden="true"
viewBox="0 0 24 24"
stroke="currentColor"
fill="currentColor"
strokeWidth="0"
width="1em"
height="1em"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<path fill="none" d="M0 0h24v24H0z" />
<path fillRule="evenodd" d="M4 11h16v2H4z" />
</svg>
);
}import { MdHorizontalRule } from "react-icons/md";
export function Example() {
return <MdHorizontalRule className="size-5" />;
}<svg
viewBox="0 0 24 24"
stroke="currentColor"
fill="currentColor"
stroke-width="0"
width="1em"
height="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path fill="none" d="M0 0h24v24H0z" />
<path fill-rule="evenodd" d="M4 11h16v2H4z" />
</svg>"Horizontal Rule" icon from Material Design icons (http://google.github.io/material-design-icons/), licensed under Apache License Version 2.0.Related icons:
- align horizontal center
- align horizontal left
- align horizontal right
- border horizontal
- horizontal distribute
- horizontal split
- outline align horizontal center
- outline align horizontal left
- outline align horizontal right
- outline border horizontal
- outline horizontal distribute
- outline horizontal rule
- outline horizontal split
- outline panorama horizontal
- outline panorama horizontal select
- outline rule
- outline rule folder
- outline swap horizontal circle
- panorama horizontal
- panorama horizontal select
- rule
- rule folder
- swap horizontal circle