Sakuga Back to Sakuga
Theme
Sound
Jump to a component

AniCanonKit · Writing

ManuscriptSection

ManuscriptSection is one numbered section of a scene note or an imported script: #number, title (or a slugline with slug), the prose, the word count.

@anicanon/sakuga/anicanonkitv1.0Used onWebFrom AniCanon™

Live, from @anicanon/sakuga 2.0.0

Sakuga for iOS and Android is coming

iOS

Web only

ManuscriptSection is made for the web, and isn’t part of Sakuga for iOS yet.

Android

Web only

ManuscriptSection is made for the web, and isn’t part of Sakuga for Android yet.

Use it for
One numbered section of a scene note or an imported script: its number, title or slugline, the prose and the word count, with what was found in it in the margin.
Not for

Guidelines

  • What was found in it sits beside it in slot="margin" as ProposalCards, so every proposal stays next to the words it came from.
  • A hover card or selection toolbar goes in slot="overlay".
  • current raises the section being written.
ManuscriptSectionExample.jsxReact
import { ManuscriptSection } from '@anicanon/sakuga/anicanonkit';

export default function ManuscriptSectionExample() {
  return (
    <ManuscriptSection number={1} title="The roof" words={34}>
      After the fire, Toddy wires a second watch for Lisa.
    </ManuscriptSection>
  );
}

PropsManuscriptSectionProps

numberrequired
number
childrenrequired
ReactNode
title
string
slug
boolean
words
number
current
boolean
The section being written.
margin
ReactNode
What sits beside the section (as slot="margin").
overlay
ReactNode
A hover card or toolbar (as slot="overlay").
className
string
ManuscriptSectionExample.swiftiOS · coming soon
ManuscriptSectionExample.ktAndroid · coming soon

Each token reads a role, and the role lands on a value in each theme. Change the role and every component that reads it follows.

Colour

manuscript-numberManuscriptSection: the #number.
text-accentcamellia-700#b42354
text-accentcamellia-400#f4779f
manuscript-textManuscriptSection: title and prose.
text-primaryneutral-925#0b0a10
text-primaryneutral-0#ffffff
manuscript-metaManuscriptSection: word count.
text-mutedneutral-600#5c5b67
text-mutedneutral-400#a3a3a7
msec-current-bgManuscriptSection: the section being written.
bg-surface-raisedneutral-100#ececf0
bg-surface-raisedneutral-875#1a1a21

Space and shape

manuscript-section-gap
gap-2xl
24px
manuscript-section-words-max-width
its own value
620px
manuscript-section-words-gap
gap-lg
12px
manuscript-section-no-width
its own value
28px
manuscript-section-body-padding-left
inset-md
12px
manuscript-section-body-border-left-width
line-strong
2px
manuscript-section-body-h3-margin-bottom
gap-sm
6px
manuscript-section-words-margin-top
gap-sm
6px
manuscript-section-margin-width
its own value
248px
manuscript-section-margin-gap
gap-md
8px
manuscript-section-current-margin-y
its own value
calc(-1 * 12px)
manuscript-section-current-margin-x
its own value
calc(-1 * 12px)
manuscript-section-current-padding-y
inset-md
12px
manuscript-section-current-padding-x
inset-md
12px
manuscript-section-current-radius
radius-md
12px
msec-forced-current-width
line-strong
2px

Type

manuscript-section-no-font
text-title-2
700 24px/30px "Funnel Display", "Funnel Sans", system-ui, -apple-system, "Segoe UI", sans-serif
manuscript-section-body-h3-font
text-title-4
700 17px/22px "Funnel Display", "Funnel Sans", system-ui, -apple-system, "Segoe UI", sans-serif
manuscript-section-body-h3-slug-font
text-caption-strong
600 13px/18px "Funnel Sans", system-ui, -apple-system, "Segoe UI", sans-serif
manuscript-section-body-h3-slug-letter-spacing
tracking-caps
.06em
manuscript-section-prose-font
text-body-lg
400 15px/24px "Funnel Sans", system-ui, -apple-system, "Segoe UI", sans-serif
manuscript-section-words-font
text-small
500 12px/16px "Funnel Sans", system-ui, -apple-system, "Segoe UI", sans-serif

Checked automatically with axe-core 4.11.4 against WCAG 2.2 A and AA, on the live preview above, in light and dark, on 26 October 2026.

Result
No issues found, in light or in dark.
By design
Not focusable; read as "#" and its number, the title as a level-3 heading, the prose and its word count ("240 words"), and the section being written (current) is marked "current". The margin's proposals follow in reading order.
Not tested
The automated check doesn't test keyboard use, focus order or what a screen reader says. The lines above are the design system's own account of them.