Sand AISand AI MAGI-2MAGI-2 ist jetzt auf SandBase: 1080p-Video mit nativem AudioJetzt testen

Card Ribbon Gallery: Project Cards on a 3D Ribbon That Sort Into a Grid

Build a portfolio hero where project cards ride a bent 3D ribbon across the screen between two giant words, drifting on their own and following the pointer, then fly into a tidy grid as the page scrolls; in the grid a card lifts under the pointer and shows its title. SandBase draws nine covers as one contact sheet that the Skill cuts apart, or you bring your own folder. CSS 3D only. The hero is followed by a full landing page: chapter titles, an intro, a product console drawn in HTML, feature cards, specs, stats, a quote, a call to action and a footer, with a moving glow and a floating section pill.

Beispiele · 2

Design studio portfolio where project cards ride a ribbon and sort into a grid
In neuem Tab öffnen

Läuft in einem sandboxed Frame ohne Zugriff auf diese Seite.

Online ausführen

In einer SandBase-Sandbox ausführen und Ihre Ergebnisse in Lab ansehen.

In Lab öffnen ↗

Was Sie erhalten

Bring what the cards show (or your own folder of pictures), your brand, the two giant words, card titles, links, palette and language. The Skill returns a full landing page (index.html), a section to paste into an existing site, the runtime script and stylesheet, the cut-apart cards and the bundled open fonts.

So funktioniert es

  1. 01

    Write site.json and preview free

    Card Ribbon Gallery asks for what the cards show, the brand, exactly two giant words, a line of copy, links, a title per card, palette and language, then writes site.json with copy.cards and the page sections. ribbon.cols sets 2 to 5 grid columns, drift sets speed and wave the bend. node scripts/sample.mjs vale-studio --site site.json --out preview builds a free preview.

  2. 02

    Generate a contact sheet or use photos

    node scripts/generate.mjs --theme with the nine subjects asks SandBase gpt-image-2 for one 3 by 3 contact sheet, and runs only once you accept the estimate and pass --confirm-real. The cutter finds white gutters and makes 16:9 JPEG cards. With your own pictures, build-web.mjs --photos takes a folder of 4 to 15. Node 18 and ffmpeg are required, with no npm dependencies.

  3. 03

    Serve and test the page

    node scripts/serve.mjs run/site opens a local preview. Move the pointer over the ribbon to shift the wave, scroll until every card sorts into the grid without overlap, and hover a card to see it lift with an accent outline and its title. The output holds index.html, section.html, card-ribbon.js, card-ribbon.css, landing.js, fonts and cards; --embed writes one self-contained file.

FAQ

What does Card Ribbon Gallery build?

Card Ribbon Gallery builds a portfolio hero where project cards ride a bent 3D ribbon between two giant words, drift on their own and follow the pointer. Scrolling flies every card into a tidy grid in one continuous move. A full landing page follows, with chapter titles, an intro, a product console drawn in HTML, feature cards, stats, a quote, a call to action and a footer.

Does Card Ribbon Gallery charge for generating covers?

Only the generate step is paid. Card Ribbon Gallery's generate.mjs calls the SandBase gpt-image-2 model for each contact sheet and bills it to your SandBase account, using the logged-in sandbase CLI or SANDBASE_API_KEY. The agent shows an estimate first, nothing runs without --confirm-real, and --budget-usd caps a run. Sample sets, photo builds and previews are free. Current rates are at https://www.sandbase.ai/pricing.

Can I use my own pictures in Card Ribbon Gallery?

Yes. Card Ribbon Gallery's build-web.mjs takes --photos with a folder of 4 to 15 pictures and makes no model call. Cards are 16:9, so other shapes are cropped to fit, and --width sets the JPEG width, 960 px by default. It also accepts finished contact sheets through --grid when they have white gutters.

Does Card Ribbon Gallery use WebGL?

No. Card Ribbon Gallery draws the ribbon and the grid with CSS 3D transforms only. card-ribbon.js has no dependencies, and CardRibbon.mount(el, options) returns inspect and destroy, so the section embeds in another page. Its CSS classes are prefixed cr- to avoid clashes.

What ready-made sets come with Card Ribbon Gallery?

Card Ribbon Gallery ships two sets: vale-studio, a design studio on a black page with nine project covers, and lantern-fest, a harbour film festival on a warm dark page with nine film stills. sample.mjs downloads either one, checks its SHA-256 and builds the page, each with its own full page in English and Chinese.

What are the limits of Card Ribbon Gallery?

Card Ribbon Gallery needs contact sheets whose gutter rows and columns are at least 96 percent near-white, or the cutter cannot split them. It is not for video, 3D models or photos of real people. With prefers-reduced-motion the ribbon stops drifting, but the cards still sort into the grid as you scroll.