#

#

Visual

Frame Accent

SVG

SC Corner Lines

SC Corner Lines

SC Corner Lines

Aug 26, 2025

0 views

SC Corner Lines adds crisp, pixel-snapped corner accents to any frame using lightweight SVG lines. Each corner renders a horizontal and vertical stroke that hug the container edges, with configurable color, line width, and corner size.

Lilac Flower
Lilac Flower
Lilac Flower
Lilac Flower
#
Built With
React, SVG, Framer Code Component API
#
Layout Support
Responsive (prefers fixed min 16×16)
#
Orientation
Corner accent overlay
#
Ideal Use Case
Card frames, hero modules, gallery captions, product shots, editorial panels
#
Built With
React, SVG, Framer Code Component API
#
Layout Support
Responsive (prefers fixed min 16×16)
#
Orientation
Corner accent overlay
#
Ideal Use Case
Card frames, hero modules, gallery captions, product shots, editorial panels
#
Built With
React, SVG, Framer Code Component API
#
Layout Support
Responsive (prefers fixed min 16×16)
#
Orientation
Corner accent overlay
#
Ideal Use Case
Card frames, hero modules, gallery captions, product shots, editorial panels

//

Tags

lines
frame
corner
accent
outline
svg
pixel-snapped
overlay
//
Technologies
None (pure SVG)
//
Notes
No runtime libraries; ships with Framer’s standard runtime.
//
Technologies
None (pure SVG)
//
Notes
No runtime libraries; ships with Framer’s standard runtime.
//
Technologies
None (pure SVG)
//
Notes
No runtime libraries; ships with Framer’s standard runtime.
#
Logic Level
Low (deterministic geometry)
#
Runtime Cost
Very Low (tiny SVG paints)
#
Component Size
~1–2 KB (raw TSX)
#
Notes
Sub-pixel correction prevents blurry lines on odd stroke widths.
#
Logic Level
Low (deterministic geometry)
#
Runtime Cost
Very Low (tiny SVG paints)
#
Component Size
~1–2 KB (raw TSX)
#
Notes
Sub-pixel correction prevents blurry lines on odd stroke widths.
#
Logic Level
Low (deterministic geometry)
#
Runtime Cost
Very Low (tiny SVG paints)
#
Component Size
~1–2 KB (raw TSX)
#
Notes
Sub-pixel correction prevents blurry lines on odd stroke widths.
  1. Add SCCornerLines to your Framer project.

  2. Adjust Line Color to match your brand/foreground.

  3. Set Line Width for vibe (1–3px recommended).

  4. Tune Corner Size to extend strokes along edges.

  5. Layering: place on top and disable pointer events on the parent if needed.

  • Editorial Thin: color=#FFFFFF · width=1 · size=22 (on dark imagery).

  • Neon UI: color=#00FF99 · width=2 · size=28.

  • Subtle Card: color=rgba(0,0,0,.35) · width=1 · size=16.

  • Geometry: For a given size (box) and width (stroke), the component computes:

    • half = stroke/2 and edge = box - half to align strokes to pixel centers.

  • Per Corner: Each corner renders two path segments: one along the x-axis and one along the y-axis.

  • Positioning: Four tiny SVGs are absolutely positioned at each corner, so they hug the container edges regardless of parent size.

  • Crispness: Using stroke-linecap "square" and drawing at half offsets avoids fuzzy anti-aliasing on odd/even pixel widths.

  • SVG paths are minimal; cost is effectively zero.

  • Prefer 1–2px stroke for crisp UI; 3–4px for bold editorial frames.

  • Very large Corner Size values can overlap content—test at your target layout sizes.

  • Works across evergreen browsers.

  • No scripts, no events; purely visual overlay.

  • Honors parent transforms; make sure parent doesn’t apply unwanted overflow: hidden that clips the corners prematurely.

  • Decorative only. If the corners do not convey meaning, consider aria-hidden="true" on the wrapper or use as a background decoration.

  • No network calls, storage, or permissions.

  • No global listeners; no user data processed.

Name

Type

Default

Description

color

string

#00FF99

Stroke color for the corner lines

width

number

2

Line (stroke) width in pixels

size

number

24

Length of each corner “arm” in pixels (per side SVG box)

name:color
type:string
default:#00FF99
desc:Stroke color for the corner lines
name:width
type:number
default:2
desc:Line (stroke) width in pixels
name:size
type:number
default:24
desc:Length of each corner “arm” in pixels (per side SVG box)

Name

Type

Default

Description

name:color
type:string
default:#00FF99
desc:Stroke color for the corner lines
name:width
type:number
default:2
desc:Line (stroke) width in pixels
name:size
type:number
default:24
desc:Length of each corner “arm” in pixels (per side SVG box)
  • Decorative only. If the corners do not convey meaning, consider aria-hidden="true" on the wrapper or use as a background decoration.

  • No network calls, storage, or permissions.

  • No global listeners; no user data processed.

Minimal corner-mark patterns inspired by editorial print and wireframe guides.
Implementation and Framer adaptation by SecretoCho Design.

SecretoCho Design 2025

Provided “as is” for visual framing accents. Validate contrast and interaction hit areas in your final layouts.

Stay ahead of the curve with insights into emerging visualization trends and technologies.