Hover the icon or press Play. Suggested motion: nudge-right. Pick another to preview it and update the animated code:
Text Align Center icon
A free text align center icon from Grommet-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
- github.com
npx shadcn@latest add https://ui.cuelark.com/r/icons/grommet/text-align-center.jsonimport * as React from "react";
/**
* Text Align Center from Grommet-Icons (https://github.com/grommet/grommet-icons), Apache License Version 2.0.
* Via Cuelark UI: ui.cuelark.com/icons/grommet/text-align-center. Sized in em, colored by currentColor.
*/
export function GrTextAlignCenterIcon(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}
>
<rect x="0.46" y="3.06" width="23.08" height="2.18" />
<rect x="4.1" y="8.29" width="15.81" height="2.18" />
<rect x="0.46" y="13.53" width="23.08" height="2.18" />
<rect x="4.1" y="18.76" width="15.81" height="2.18" />
</svg>
);
}import { GrTextAlignCenter } from "react-icons/gr";
export function Example() {
return <GrTextAlignCenter 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"
>
<rect x="0.46" y="3.06" width="23.08" height="2.18" />
<rect x="4.1" y="8.29" width="15.81" height="2.18" />
<rect x="0.46" y="13.53" width="23.08" height="2.18" />
<rect x="4.1" y="18.76" width="15.81" height="2.18" />
</svg>"Text Align Center" icon from Grommet-Icons (https://github.com/grommet/grommet-icons), licensed under Apache License Version 2.0.