Skip to content

Arao documentation ​

Arao (the araojs package) is a slide library for technical talks on Vue 3 + Vite: a deck is a Vue file, slides are components, and every slide is drawn on one fixed canvas, the same on every screen and in the PDF.

New here? Getting started takes you from an empty folder to a deck on the screen and in a PDF.

Guides ​

How to do things, with examples.

PageWhat it covers
Conceptsthe canvas, decks and slides, zones, steps, themes, Pug or HTML
The projectthe folders, the scripts, createDeckApp, the list of decks
Slides and layoutslayouts (and writing your own), the header, body and footer zones, placing the body, lists and tables
Stepsrevealing a slide bit by bit, reusable steps
Compositiona layout for the slide's structure, utility classes inside a block (.cols, .row, .stack…)
CodeSnippet: the code window and its highlights per step
Images and backgroundsImg, Background, a slide's colour
IconsIcon: sets, how they get into the build, licences
Presentingkeys, controls, the interface language, speaker notes, the presenter view and its timer
Themeswriting a theme, where themes are found, how tokens apply
Built-in themesthe six themes the library ships: their character, fonts, colours and contrast
Export to PDFarao export, export mode, printing
Hostingserving a built project, under any path
Extendingyour own components and addons, useDeck, useSlide

Reference ​

Every prop, slot, token, option and URL, exactly.

PageWhat it lists
ComponentsDeck, Slide and its layouts, Background, the utility classes, Img, Icon, Snippet, Notes, Agenda, the addons
Directivesv-step, v-step-from
ComposablesuseDeck(), useSlide()
Theme tokensevery --ar-* token and its default, the layouts' included
Vite pluginarao() and its options
CLIarao export, arao layouts and their options
URLspaths, query parameters and the hash

Elsewhere ​

  • The Arao skill: the skill for coding agents writing decks (rules, gotchas, recipes, how to verify a deck). It ships with the package too, at node_modules/araojs/skills/arao/.
  • Architecture: how the engine is built, for whoever works on Arao itself.
  • CONTRIBUTING.md: developing, testing and releasing Arao.
  • examples/: the small decks behind the pictures in these pages.
  • playground/: a tiny slides project on the library's source.