Kernel Components

ftd comes with a few “kernel” components, these components are the building blocks for building all other components.
ftd supports importing one document from another, and the imported documents act as a namespace.
All ftd components are defined in a “virtual document”, named ftd, and every ftd file implicitly imports ftd:
ftd hello world using ftd.text
-- import: ftd

-- ftd.text: hello world

The import line is not needed as it’s automatically imported. This line defines namespace ftd, so all ftd kernels components are referred as ftd.text and so on.

We are then using a component named ftd.text to render the text “hello world” in the UI.

Support fastn!

Enjoying fastn? Please consider giving us a star ⭐️ on GitHub to show your support!

Getting Help

Have a question or need help?

Visit our GitHub Q&A discussion to get answers and subscribe to it to stay tuned.

Join our Discord channel and share your thoughts, suggestion, question etc.

Connect with our community!

Found an issue?

If you find some issue, please visit our GitHub issues to tell us about it.

Join us

We welcome you to join our Discord community today.

We are trying to create the language for human beings and we do not believe it would be possible without your support. We would love to hear from you.
Copyright © 2023 -