Match your design
Set these on thediv:
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Two lines draw your free times and your booking form right on your page.
<div data-frictionless-booking="YOUR_WORKSPACE_ID"></div>
<script async src="https://usefrictionless.com/widget/book.js"></script>
div:
| Setting | What it changes |
|---|---|
--fric-accent | The Book button and the picked day and time. Text on it turns white or dark, whichever reads better. |
--fric-radius | Corner rounding of boxes and buttons. Default 12px. |
--fric-field | Background of boxes and time buttons. Default white. |
--fric-line | Border colour. |
--fric-text, --fric-muted | Main and secondary text colour. |
data-heading | "off" drops our “Book an appointment” heading, when your page has its own. |
<div
data-frictionless-booking="YOUR_WORKSPACE_ID"
data-heading="off"
style="--fric-accent:#8A1420; --fric-radius:16px; --fric-field:#FBF5F4; --fric-line:#F0DADA"
></div>
import Script from "next/script";
<Script src="https://usefrictionless.com/widget/book.js" strategy="afterInteractive" />
export default function BookPage() {
return <div data-frictionless-booking={process.env.NEXT_PUBLIC_FRICTIONLESS_WORKSPACE_ID} />;
}
