Hover the icon or press Play. Suggested motion: pop. Pick another to preview it and update the animated code:
Border Top icon
A free border top icon from css.gg, 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
- github.com
npx shadcn@latest add https://ui.cuelark.com/r/icons/css-gg/border-top.jsonimport * as React from "react";
/**
* Border Top from css.gg (https://github.com/astrit/css.gg), MIT.
* Via Cuelark UI: ui.cuelark.com/icons/css-gg/border-top. Sized in em, colored by currentColor.
*/
export function CgBorderTopIcon(props: React.SVGProps<SVGSVGElement>) {
return (
<svg
aria-hidden="true"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
fill="currentColor"
strokeWidth="0"
width="1em"
height="1em"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<path d="M8 16H16V9L19 9L19 19L5 19L5 9L8 9V16Z" fill="currentColor" fillOpacity="0.3" />
<path d="M5 7L19 7V4L5 4L5 7Z" fill="currentColor" />
</svg>
);
}import { CgBorderTop } from "react-icons/cg";
export function Example() {
return <CgBorderTop className="size-5" />;
}<svg
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
fill="currentColor"
stroke-width="0"
width="1em"
height="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path d="M8 16H16V9L19 9L19 19L5 19L5 9L8 9V16Z" fill="currentColor" fill-opacity="0.3" />
<path d="M5 7L19 7V4L5 4L5 7Z" fill="currentColor" />
</svg>"Border Top" icon from css.gg (https://github.com/astrit/css.gg), licensed under MIT license.