airflib Docs
How a block gets into your app through your AI agent, how to make it yours, and each block's main settings.
Get started
How it worksIn pictures, from zero: what you copy, where it goes and whose it is.Getting startedFrom a block you like to a block in your app, through your AI agent.ThemingShared tokens blocks follow, and each block's own.For agentsThe installer, the registry and what a prompt carries.FAQWho it is for, and what happens to the code once it is yours.LicenseMIT: use the blocks as you like.
Flows
Whole scenarios, built from components. How flows work
Components
Each one works on its own. How components work
Card browseToo many offers for too little room? A deck shows one at a time and makes choosing quick. Open a card for details or a choice inside it. Loop or knock-out, flat or 3D isometric, switched on the fly. Works on mobile and desktop.Word reelOne big word on a drum: tap it and it spins, each tap turns it faster, then it slows down and lands on a word.Mobile searchA mobile search of one line, or of two that fold into a compact pill as the page scrolls, giving the content its space back. For search, booking and filter headers.Liquid materialA material for any element: glass, frosted or solid. Glass bends the live content behind it and splits it into a thin rainbow, frosted blurs it; panes brought close flow together like drops, and stretch and settle as they move.Code inputOne box per character for a one-time code, digits or letters, shown or hidden: an autofill taken by a tap rises in as a wave, a wrong code is shaken out of its boxes, and a countdown runs to “send again”.Locate buttonA “use my location” row: its arrow rocks like a balance while your app looks, swings down and turns into a pin once found.Hold to confirmA button that acts only once it is held: it sinks under the finger while a ring runs round its edge, and letting go early runs it back.Likes counterA like with a count that rolls place by place: 999 carries into 1,000, and a second tap rolls it back.