arrow-turn-left-up
heroicons-animated-angular/arrow-turn-left-upFreeComponent
Animated arrow-turn-left-up icon for Angular
Live preview
live · rendered by the registry
Rendered by heroicons-animated-angular on their own page — this is the component running, not a screenshot of it.Install it
npx shadcn@latest add https://angular.heroicons-animated.com/r/arrow-turn-left-up.jsonSource
1import {2 ChangeDetectionStrategy,3 Component,4 computed,5 input,6 signal,7} from "@angular/core";89@Component({10 selector: "hi-arrow-turn-left-up",11 standalone: true,12 changeDetection: ChangeDetectionStrategy.OnPush,13 host: {14 "[attr.aria-label]": "'arrow-turn-left-up'",15 role: "img",16 "(mouseenter)": "onMouseEnter()",17 "(mouseleave)": "onMouseLeave()",18 },19 template: `<svg20 xmlns="http://www.w3.org/2000/svg"21 [attr.width]="size()"22 [attr.height]="size()"23 viewBox="0 0 24 24"24 fill="none"25 [attr.stroke]="color()"26 [attr.stroke-width]="strokeWidth()"27 stroke-linecap="round"28 stroke-linejoin="round"29 class="icon-svg"30 [class.arrowturnleftup-animate]="shouldAnimate()"31 >32 <path d="M11.99 7.5 8.24 3.75m0 0L4.49 7.5m3.75-3.75v16.499h11.25" />33 </svg>`,34 styles: [35 `36 :host {37 display: inline-block;38 }3940 .icon-svg {41 transform-box: fill-box;42 transform-origin: center;43 }4445 .icon-svg.arrowturnleftup-animate {46 animation: arrowturnleftup-animate 0.45s ease-in-out forwards;47 }4849 @keyframes arrowturnleftup-animate {50 0% {51 transform: scaleY(1) translateY(0);52 }53 50% {54 transform: scaleY(1.15) translateY(-2px);55 }56 100% {57 transform: scaleY(1) translateY(0);58 }59 }60 `,61 ],62})63export class ArrowTurnLeftUpIcon {64 readonly color = input("currentColor");65 readonly size = input(28);66 readonly strokeWidth = input(1.5);67 readonly animate = input(false);6869 protected isHovered = signal(false);70 protected shouldAnimate = computed(() => this.animate() || this.isHovered());7172 onMouseEnter() {73 this.isHovered.set(true);74 }7576 onMouseLeave() {77 this.isHovered.set(false);78 }79}
Files it writes
More from heroicons-animated-angular
All 316 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| academic-capacademic-cap | heroicons-animated-angular | Components | Free | no deps | |
| adjustments-horizontaladjustments-horizontal | heroicons-animated-angular | Components | Free | no deps | |
| adjustments-verticaladjustments-vertical | heroicons-animated-angular | Components | Free | no deps | |
| archive-boxarchive-box | heroicons-animated-angular | Components | Free | no deps | |
| archive-box-arrow-downarchive-box-arrow-down | heroicons-animated-angular | Components | Free | no deps | |
| archive-box-x-markarchive-box-x-mark | heroicons-animated-angular | Components | Free | no deps | |
| arrow-downarrow-down | heroicons-animated-angular | Components | Free | no deps | |
| arrow-down-circlearrow-down-circle | heroicons-animated-angular | Components | Free | no deps |
