Button

Package name:
gsalunke.github.io/fastn-button

Using as btn alias inside FASTN.ftd

If you’re using fastn buttons on all ftd files of a fastn project, then don’t import it inside every ftd file. Rather add fastn alias to fastn button dependency and auto import it inside FASTN.ftd file.

To create a fastn btn alias inside FASTN.ftd add its dependency inside FASTN.ftd file and auto-import it:
-- fastn.dependency: gsalunke.github.io/fastn-button as btn

-- fastn.auto-import: btn
Lang:
ftd

Using btn alias

See below example to learn how to use btn alias of fastn button package.
-- btn.button: TEXT
variant: text
link: index.html
size: large

-- btn.button: Contained
variant: contained
link: index.html
size: large

-- btn.button: Outlined
variant: outlined
link: index.html
size: large
Lang:
ftd
Copyright © 2023 - Ganesh S Salunke