# SectionDivider

Editorial section label + rule block for detail and form pages.

[All components](https://rickylabs.github.io/netscript/design-system/components/) · [Theme builder](https://rickylabs.github.io/netscript/create/) · [Implementation source](https://github.com/rickylabs/netscript/blob/main/packages/fresh-ui/registry/components/ui/section-divider.tsx)

## Live preview

[Open live section-divider preview](https://rickylabs.github.io/netscript/assets/fresh-ui/preview/?component=section-divider&theme=studio-utility)

## Install

```bash
netscript ui:add section-divider
```

## Usage and examples

The preview runs this JSX with the installed components. Import any composed primitives from your UI directory.

```tsx
import { useState } from 'preact/hooks';
import { SectionDivider } from '@app/components/ui/section-divider.tsx';

export function Example() {
  const [value, setValue] = useState('standard');
  const [open, setOpen] = useState(false);
  const [notice, report] = useState('');
  return (<><div><SectionDivider label="Fulfillment" /></div><p role="status">{notice}</p></>);
}
```

## Props

Generated from native `deno doc --json --private` over the shipped implementation. Compound component props retain their owning interface; native attributes pass through where declared.

| Owner | Prop | Type | Optional | Description |
| --- | --- | --- | --- | --- |
| `SectionDividerProps` | `label` | `Renderable` | No |  |
| `SectionDividerProps` | `class` | `string` | Yes |  |
| `SectionDividerProps` | `lineClass` | `string` | Yes |  |

```typescript
SectionDividerProps extends Omit<JSX.HTMLAttributes<HTMLDivElement>, "class" | "children">
```

## Keyboard

Presentation component; no component-specific keyboard interactions.

## Tokens

Semantic contract roles: `border/subtle`, `border/width`, `space/inline/gap`, `text/muted`.

CSS custom properties referenced directly: `--ns-border`, `--ns-border-subtle`, `--ns-border-width`, `--ns-font-eyebrow`, `--ns-font-mono`, `--ns-inline-gap`, `--ns-leading-label`, `--ns-muted-fg`, `--ns-space-4`, `--ns-text-3xs`, `--ns-text-label`, `--ns-tracking-wide`, `--ns-weight-eyebrow`.

## Contract and compatibility

Accessibility pattern: noninteractive presentation

- Native DOM attributes pass through where the implementation accepts them.

Design contract values marked planned are not implementation props. The props above describe what ships today.
