---
title: "HL Line Examples — Framer component · Best of Framer"
description: "$5.00 · Framer component · by RAMDIN SINGH · Backgrounds. Description: This code defines a set of Higher-Order Components (HOCs) in Framer that add interactive animations and stateful…"
canonical: "https://framer.elliotli.dev/component/hl-line-examples"
---

[Home](/)/[Components](/components)/[Backgrounds](/components/category/backgrounds)/HL Line Examples

# HL Line Examples

[View on Framer](https://framer.com/marketplace/components/hl-line-examples/?via=elliot-li)

![HL Line Examples preview image 1](https://framer.elliotli.dev/og/component/hl-line-examples/4d52c200ae82304f/1600x1200.jpg)

## Summary

Description: This code defines a set of Higher-Order Components (HOCs) in Framer that add interactive animations and stateful behavior to any component.

## Description

**Description:**This code defines a set of **Higher-Order Components (HOCs)** in Framer that add interactive animations and stateful behavior to any component.

-   withRotate → Rotates the component 90° with a smooth 2-second animation.
    
-   withHover → Adds a subtle hover effect that slightly scales the component.
    
-   withRandomColor → Uses Framer’s store to manage background color and changes it randomly when the component is clicked.
    

These HOCs make it easy to enhance UI elements with **motion, interactivity, and dynamic styling** while keeping components clean and reusable.

## Rank history [How rankings work →](/terms#rankings)

-   All · #10292

## Details

- **Author**: RAMDIN SINGH
- **Price**: $5.00
- **Published**: 2025-10-06
- **Updated**: 2026-01-03
- **Added**: 2025-09-30
- **Categories**: Backgrounds

## More like this

-   [Pixel Flicker](/component/pixel-flicker) — Design Foundry · $10 — premium animated pixel background
-   [Fractal Glass Wave](/component/fractal-glass-wave) — Hienn Ng · $3 — Dynamic Fractal Glass Background
-   [Particle Flow Pro](/component/particle-flow-pro) — Interface Studio · $10 — Bring Your Background to Life
-   [Silk Gradient](/component/silk-gradient) — Kaisa A · Free — Silk Gradient Background
