This project was started so that I can better understand typst, and so I can have custom components for my own open-source documents which are not reliant on any other dependencies and easy to import.
I made these for my own typst documents using my own design preferences, not as a long-term maintainable project for others. That being said, I made these components with the awareness that others may use them, so they are designed to be simple to use and customize.
If you do use my components, it's very simple to add to existing documentation:
- Clone the repo:
git clone https://github.com/kylecurtis/typst-components.git
- Copy the
.typ
component file from thelib/
directory you wish to add to your documentation. - Paste the file in your own documentation directory.
- Import the components by adding this line at the top of your document files:
#import "file-name.typ": *
- Example:
#import "admonitions.typ": *
- Look at the
usage/
directory to see how each screenshot below is made.