Skip to content
Cuelark UI

Hover the icon or press Play. Suggested motion: pop. Pick another to preview it and update the animated code:

Radix Icons · RxTextAlignTop

Text Align Top icon

A free text align top 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
Install with shadcn
npx shadcn@latest add https://ui.cuelark.com/r/icons/radix/text-align-top.json
components/icons/radix-text-align-top.tsx
import * as React from "react";

/**
 * Text Align Top from Radix Icons (https://icons.radix-ui.com), MIT.
 * Via Cuelark UI: ui.cuelark.com/icons/radix/text-align-top. Sized in em, colored by currentColor.
 */
export function RxTextAlignTopIcon(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="M3.49993 1.10001C3.60588 1.10011 3.70821 1.14227 3.78313 1.21719L5.78313 3.21719C5.93895 3.37344 5.93921 3.62752 5.78313 3.7836C5.62705 3.93968 5.37297 3.93942 5.21673 3.7836L3.90032 2.46719V9.5004C3.90011 9.721 3.72053 9.90058 3.49993 9.90079C3.27915 9.90079 3.09975 9.72113 3.09954 9.5004V2.46719L1.78313 3.7836L1.71966 3.83438C1.56456 3.93665 1.35336 3.91986 1.21673 3.7836C1.08013 3.647 1.06365 3.4359 1.16595 3.28067L1.21673 3.21719L3.21673 1.21719C3.29174 1.14218 3.39384 1.10001 3.49993 1.10001ZM14.4999 8.0004C14.7761 8.0004 14.9999 8.22425 14.9999 8.5004C14.9997 8.77636 14.7759 9.0004 14.4999 9.0004H8.49993C8.22396 9.00034 8.00014 8.77633 7.99993 8.5004C7.99993 8.22429 8.22383 8.00045 8.49993 8.0004H14.4999ZM14.4999 5.0004C14.7761 5.0004 14.9999 5.22425 14.9999 5.5004C14.9997 5.77636 14.7759 6.0004 14.4999 6.0004H8.49993C8.22396 6.00034 8.00014 5.77633 7.99993 5.5004C7.99993 5.22429 8.22383 5.00045 8.49993 5.0004H14.4999ZM14.4999 2.0004C14.7761 2.0004 14.9999 2.22425 14.9999 2.5004C14.9997 2.77636 14.7759 3.0004 14.4999 3.0004H8.49993C8.22396 3.00034 8.00014 2.77633 7.99993 2.5004C7.99993 2.22429 8.22383 2.00045 8.49993 2.0004H14.4999Z"
        fill="currentColor"
      />
    </svg>
  );
}
With react-icons
import { RxTextAlignTop } from "react-icons/rx";

export function Example() {
  return <RxTextAlignTop className="size-5" />;
}
text-align-top.svg
<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="M3.49993 1.10001C3.60588 1.10011 3.70821 1.14227 3.78313 1.21719L5.78313 3.21719C5.93895 3.37344 5.93921 3.62752 5.78313 3.7836C5.62705 3.93968 5.37297 3.93942 5.21673 3.7836L3.90032 2.46719V9.5004C3.90011 9.721 3.72053 9.90058 3.49993 9.90079C3.27915 9.90079 3.09975 9.72113 3.09954 9.5004V2.46719L1.78313 3.7836L1.71966 3.83438C1.56456 3.93665 1.35336 3.91986 1.21673 3.7836C1.08013 3.647 1.06365 3.4359 1.16595 3.28067L1.21673 3.21719L3.21673 1.21719C3.29174 1.14218 3.39384 1.10001 3.49993 1.10001ZM14.4999 8.0004C14.7761 8.0004 14.9999 8.22425 14.9999 8.5004C14.9997 8.77636 14.7759 9.0004 14.4999 9.0004H8.49993C8.22396 9.00034 8.00014 8.77633 7.99993 8.5004C7.99993 8.22429 8.22383 8.00045 8.49993 8.0004H14.4999ZM14.4999 5.0004C14.7761 5.0004 14.9999 5.22425 14.9999 5.5004C14.9997 5.77636 14.7759 6.0004 14.4999 6.0004H8.49993C8.22396 6.00034 8.00014 5.77633 7.99993 5.5004C7.99993 5.22429 8.22383 5.00045 8.49993 5.0004H14.4999ZM14.4999 2.0004C14.7761 2.0004 14.9999 2.22425 14.9999 2.5004C14.9997 2.77636 14.7759 3.0004 14.4999 3.0004H8.49993C8.22396 3.00034 8.00014 2.77633 7.99993 2.5004C7.99993 2.22429 8.22383 2.00045 8.49993 2.0004H14.4999Z"
    fill="currentColor"
  />
</svg>
Attribution
"Text Align Top" icon from Radix Icons (https://icons.radix-ui.com), licensed under MIT license.

Related icons: