Theme
Sound
Jump to a component
AniCanonKit · Story
PanelSection
PanelSection is a labelled group of rows with its count on the right ("Changes 3").
Live, from @anicanon/sakuga 2.0.0
Sakuga for iOS and Android is coming
iOS
Web only
PanelSection is made for the web, and isn’t part of Sakuga for iOS yet.
Android
Web only
PanelSection is made for the web, and isn’t part of Sakuga for Android yet.
- Use it for
- A labelled group of rows inside a Story panel, with its count on the right ("Changes 3").
- Not for
- The head of the panel itselfPanelHeader
- A group outside Story, such as a faction in a listSectionHeader
- Studio's folded section with its current valuePanelRow
- Rows outside Story that open pagesList
Guidelines
- Rows are
EntityRows. A short line after the rows goes inslot="footer".
import { EntityRow, PanelSection } from '@anicanon/sakuga/anicanonkit';
export default function PanelSectionExample() {
return (
<PanelSection label="Places" count="2 changed">
<EntityRow
visual={{ kind: 'place' }}
name="Sé station"
after="Burning"
afterVariant="alert"
afterIcon="trait-fierce"
chip="Ep 3"
/>
</PanelSection>
);
}PropsPanelSectionProps
labelrequiredstringchildrenrequiredReactNodecountstring | numberfooterReactNodeThe line after the rows (as slot="footer").
classNamestringEach 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
panel-section-labelPanelSection: label and count.text-mutedneutral-600#5c5b67text-mutedneutral-400#a3a3a7Space and shape
panel-section-gapgap-2xs2px
panel-section-label-margin-bottomgap-sm6px
Aa
Type
panel-section-label-fonttext-micro700 12px/16px "Funnel Sans", system-ui, -apple-system, "Segoe UI", sans-serif
panel-section-label-span-font-weightweight-medium500
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 itself; the label and its count are a level-3 heading ("Changes 3"), then the rows and the footer read in 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.