fframes-components 0.1.0

Isolated, mix-and-match animated video components for fframes, ported from the remocn Remotion library
docs.rs failed to build fframes-components-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

fframes-components

A curated library of reusable animated components for fframes. Every component is behind its own Cargo feature, so consumers compile only what they select.

The crate is configured for publication on crates.io.

Add one component

Add only logo-assemble from crates.io:

[dependencies]
fframes-components = {
    version = "0.1.0",
    default-features = false,
    features = ["logo-assemble"]
}

Or use Cargo:

cargo add fframes-components@0.1.0 --no-default-features --features logo-assemble

Use the selected component directly:

use fframes_components::{ComponentsVideo, Horizontal};
use fframes_components::components::showcase::logo_assemble::{
    LogoAssemble,
    LogoAssembleConfig,
};

let logo = LogoAssemble::new(LogoAssembleConfig {
    brand_name: "my-brand".to_owned(),
    ..LogoAssembleConfig::default()
});

let video: Horizontal = ComponentsVideo::from_components(vec![Box::new(logo)]);

Unused component modules are excluded at compile time. The default feature set is empty.

Components

  • answer-highlight
  • bottom-up-letters
  • carousel-3d
  • channel-thread
  • check-cycle
  • cinematic-text-swap
  • confetti
  • cursor-flyover
  • echo-stack
  • glitch-cycle
  • inflating-text
  • lines-to-text
  • logo-assemble
  • multi-text-typewriter
  • per-character-rise
  • period-drop
  • prompt-zoom
  • reel-collage
  • short-slide-right
  • slide-in-text
  • soft-blur-in
  • spring-scale-in
  • squeeze-in
  • staggered-fade-up
  • text-build
  • text-highlight
  • text-messages
  • text-reveal
  • text-rewrite
  • text-swap
  • text-swell
  • top-down-letters
  • tracking-in
  • type-writer
  • typing-code-block
  • word-by-word
  • word-flip
  • word-gather

cinematic-text-swap is the preset-driven cinematic transition. text-swap is the original lightweight text-swap component. The distinct IDs avoid a feature and catalog collision.

Enable every curated component with the full feature.

Optional CLI

The cli feature adds the standalone renderer and preview binary:

cargo run --release \
  --no-default-features \
  --features cli,logo-assemble \
  -- --components logo-assemble render -o logo.mp4

Library consumers do not need the CLI, Vulkan renderer, or native player dependencies.

Credits

The Rust implementation is MIT licensed. Components were ported from remocn and snapcn, with the upstream namespaces removed from the public component IDs. Font and embedded demo-image details are listed in CREDITS.md.