# LI.FI Composer portal > Templates for onchain flows built with LI.FI Composer, which compiles a flow of swaps, bridges and protocol calls into one transaction and simulates it before the user signs. Each template links to a Markdown page with its steps; a live one also holds a working `@lifi/composer-sdk` module and the `POST /compose` body. Install `@lifi/composer-sdk@0.16.0` and `@lifi/compose-spec@0.16.0` exactly: npm's `latest` tag lags production. A flow built from a template is named `tpl: