Axerity

Type Table

TypeTable documents the shape of an object, component props, config options, API parameters, from a single object. The Default column hides itself when no property defines one.

Example

Prop Type

The heading shown at the top.

Type string

A Lucide icon name shown beside the title.

Type string

Whether the panel starts expanded.

Type boolean
Default false
Type Controls the container width.
Default 'flat'

No longer used.

Type boolean

Usage

<script>	import { TypeTable } from '$lib';</script><TypeTable	type={{		title: { type: 'string', description: 'The heading.', required: true },		open: { type: 'boolean', default: 'false' }	}}/>

Per-property fields

Prop Type

Shown as a code chip.

Type string

Short prose under the name.

Type string

Longer note shown muted under the type.

Type string

Shown as a code chip in the Default column.

Type string

Adds a "required" badge.

Type boolean

Strikes the name and adds a badge.

Type boolean