Coloured, titled boxes for Typst 0.15.x, in the spirit of LaTeX’s
tcolorbox. Version 0.1.0.
![]()
#import "@preview/faboxyst:0.1.0": *
#show: faboxyst.with(theme: themes.notebook)
#fabox(title: [Note])[A titled box.]
#sashbox(kind: "arch")[Welcome]
#ticket(stub: [12])[ADMIT ONE]
#show: faboxyst.with(…) is a theme show rule, not a document
class: it does not set the page.
What is in the box
fabox— the workhorse: titles, tabs (plaque,swoosh,fold,spine,ears,dots, …), shadows, zigzag / wave / caution borders.fabox-sign/fabox-note— octagonal sign, folded yellow note.- Semantic —
note,tip,warning,example,definition. - Paper —
torn-note,ruled-sheet,notepad,stamp-card,index-card,deckle-tag,lesson-card. - Textbook plates —
iconbox,crestbox,ribbonbox,helixbox,swooshbox,circuitbox,keybox,ringbox,punchbox,plannerbox,filebox,stubbox,stackbox,calloutbox,tapebox,chalkbox,markerbox,screwbox. sashbox/ruban— folded ribbon (flat/arch/hang),inclinefor the bow,roughfor a closed sloppy outline.ticket/ticketbox— torn stub; hole and half-disc flip in RTL; digits stay Western.- RTL — tabs, rings, stubs, titles, sashes and tickets follow the reading edge (or stay physical where that is the point).
Manual
The guide is manual.typ /
manual.pdf: outline, numbered sections, signatures,
parameter tables, and code | result on every function. A 30-second
smoke test lives in examples/quickstart.typ.
Licence
MIT — see LICENSE. Box families follow tcolorbox
(Thomas F. Sturm). The wobble is a Rough.js / TikZ sketch port.
jotter-polylux (Andreas Kröpelin, MIT) inspired the sloppy frame and
the post-it fasteners.
FERGOUS Abdelhak.