arrow-turn-up-right
heroicons-animated-angular/arrow-turn-up-rightFreeComponent
Animated arrow-turn-up-right 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-up-right.jsonSource
1import {2 ChangeDetectionStrategy,3 Component,4 computed,5 input,6 signal,7} from "@angular/core";89@Component({10 selector: "hi-arrow-turn-up-right",11 standalone: true,12 changeDetection: ChangeDetectionStrategy.OnPush,13 host: {14 "[attr.aria-label]": "'arrow-turn-up-right'",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.arrowturnupright-animate]="shouldAnimate()"31 >32 <path d="m16.49 12 3.75-3.751m0 0-3.75-3.75m3.75 3.75H3.74V19.5" />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 transition: transform 0.45s ease-in-out;44 }4546 .icon-svg.arrowturnupright-animate {47 animation: arrowturnupright-animate 0.45s ease-in-out forwards;48 }4950 @keyframes arrowturnupright-animate {51 0% {52 transform: scaleX(1) translateX(0);53 }54 50% {55 transform: scaleX(1.15) translateX(2px);56 }57 100% {58 transform: scaleX(1) translateX(0);59 }60 }61 `,62 ],63})64export class ArrowTurnUpRightIcon {65 readonly color = input("currentColor");66 readonly size = input(28);67 readonly strokeWidth = input(1.5);68 readonly animate = input(false);6970 protected isHovered = signal(false);71 protected shouldAnimate = computed(() => this.animate() || this.isHovered());7273 onMouseEnter() {74 this.isHovered.set(true);75 }7677 onMouseLeave() {78 this.isHovered.set(false);79 }80}
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 |
