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:
[]
= {
version = "0.1.0",
= false,
= ["logo-assemble"]
}
Or use Cargo:
Use the selected component directly:
use ;
use ;
let logo = new;
let video: Horizontal = from_components;
Unused component modules are excluded at compile time. The default feature set is empty.
Components
answer-highlightbottom-up-letterscarousel-3dchannel-threadcheck-cyclecinematic-text-swapcircle-markerconfetticrossed-offcursor-flyoverecho-stackglitch-cycleinflating-textlines-to-textlogo-assemblemap-flyovermulti-text-typewriterper-character-riseperiod-dropprompt-zoomreel-collageshort-slide-rightslide-in-textsoft-blur-inspinning-text-wheelspring-scale-insqueeze-instaggered-fade-upstrike-throughtext-buildtext-highlighttext-markertext-messagestext-revealtext-rewritetext-swaptext-swelltop-down-letterstracking-intype-writertyping-code-blockword-by-wordword-flipword-gatheryoutube-comment-highlightyoutube-end-cardyoutube-subscribe-nudge
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:
Library consumers do not need the CLI, Vulkan renderer, or native player dependencies.
Demo site
The static component gallery lives in docs/ and uses only repository-relative paths.
To preview it locally:
Then open http://localhost:8000.
To deploy it with GitHub Pages:
- Commit and push the
docs/directory to the repository's default branch. - Open the GitHub repository and go to Settings → Pages.
- Under Build and deployment, choose Deploy from a branch.
- Select the default branch, choose the
/docsfolder, and click Save. - Wait for the Pages deployment to finish. The site will be available at
https://bilaal0x.github.io/fframes-components/.
Future changes to docs/ deploy automatically whenever that branch is pushed.
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.