BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/framecn/image-expand-to-fullscreen

Image Expand To Fullscreen

framecn/image-expand-to-fullscreen
FreeComponent

An image lifts out of a feed post and morphs into a fullscreen editor with toolbars sliding in.

Install it

npx shadcn@latest add https://framecn.dev/r/image-expand-to-fullscreen.json

Source

registry/bases/editframe/components/image-expand-to-fullscreen/index.tsxframecn.dev/r/image-expand-to-fullscreen.json · first 6 KB
1"use client";
2
3import { Timegroup } from "@editframe/react";
4import type { CSSProperties } from "react";
5
6const FONT_FAMILY =
7 "var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif";
8
9export interface ImageExpandRect {
10 top: number;
11 left: number;
12 width: number;
13 height: number;
14}
15
16export interface ImageExpandToFullscreenProps {
17 from?: ImageExpandRect;
18 to?: ImageExpandRect;
19 borderRadiusFrom?: number;
20 borderRadiusTo?: number;
21 morphAt?: number;
22 imageColorA?: string;
23 imageColorB?: string;
24 imageColorC?: string;
25 feedBackground?: string;
26 editorBackground?: string;
27 accent?: string;
28 postAuthor?: string;
29 postBody?: string;
30 speed?: number;
31 fps?: number;
32 durationInFrames?: number;
33 width?: number;
34 height?: number;
35 className?: string;
36}
37
38const DEFAULT_FROM: ImageExpandRect = {
39 height: 200,
40 left: 460,
41 top: 280,
42 width: 360,
43};
44
45const DEFAULT_TO: ImageExpandRect = {
46 height: 480,
47 left: 200,
48 top: 120,
49 width: 880,
50};
51
52export const ImageExpandToFullscreen = ({
53 from = DEFAULT_FROM,
54 to = DEFAULT_TO,
55 borderRadiusFrom = 12,
56 borderRadiusTo = 16,
57 morphAt = 30,
58 imageColorA = "#ff6b6b",
59 imageColorB = "#845ec2",
60 imageColorC = "#4d8dff",
61 feedBackground = "#f4f4f5",
62 editorBackground = "#0a0a0a",
63 accent = "#fafafa",
64 postAuthor = "Maya Larsson",
65 postBody = "Sunset over the old harbor — color graded straight out of camera.",
66 speed = 1,
67 fps = 30,
68 durationInFrames = 150,
69 width = 1280,
70 height = 720,
71 className,
72}: ImageExpandToFullscreenProps) => {
73 const safeSpeed = Math.max(0.01, speed);
74 const durationMs = (durationInFrames / fps) * 1000;
75 const frameMs = 1000 / fps;
76 const morphMs = ((durationInFrames / fps) * 1000) / safeSpeed;
77
78 const containerStyle: CSSProperties = {
79 fontFamily: FONT_FAMILY,
80 height,
81 overflow: "hidden",
82 position: "relative",
83 width,
84 };
85
86 const imageGradient = `linear-gradient(135deg, ${imageColorA}, ${imageColorB}, ${imageColorC})`;
87
88 return (
89 <Timegroup
90 className={className}
91 duration={`${durationMs}ms`}
92 mode="fixed"
93 style={containerStyle}
94 >
95 <>
96 <style>{`
97 @keyframes framecn-img-expand-feed {
98 from { opacity: 1; }
99 to { opacity: 0; }
100 }
101 @keyframes framecn-img-expand-editor {
102 from { opacity: 0; }
103 to { opacity: 1; }
104 }
105 @keyframes framecn-img-expand-img {
106// … truncated

What it pulls in

npm packages

  • remotion

Files it writes

  • registry/bases/editframe/components/image-expand-to-fullscreen/index.tsx

Facts

Registry
framecn
Type
registry:component
Access
Free
Files written
1
Licence
MIT
In the index
at or before 2026-08-10
Last confirmed
today

Go to the source

framecn.dev shadcn-labs/framecn on GitHub Raw registry item This item as JSON

More from framecn

All 101 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
AI Generate Overlayai-generate-overlayframecnComponentsFree1 dep
AI Generation Canvasai-generation-canvasframecnComponentsFree1 dep
Animated Bar Chartanimated-bar-chartframecnComponentsFree1 dep
Animated Line Chartanimated-line-chartframecnComponentsFree1 dep
BackdropbackdropframecnComponentsFree1 dep
Blur Out Upblur-out-upframecnComponentsFree1 dep
Blur Revealblur-revealframecnComponentsFree1 dep
Bounding Box Selectorbounding-box-selectorframecnComponentsFree1 dep

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

ToolDrift

What the AI coding tools changed last night

tooldrift.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex