Elements and component types
Pibbl components are synchronous functions over a branded recursive element
protocol. Component pages describe each runtime value; this page owns their
type contracts and the pure create*Path option objects.
AbsoluteProps
Section titled “AbsoluteProps”AbsoluteProps accepts recursive PibblNode children for Absolute.
ArcPathOptions
Section titled “ArcPathOptions”ArcPathOptions supplies numeric radius, center, radian sweep, and optional
direction to createArcPath; invalid numeric structure throws RangeError.
ArcProps
Section titled “ArcProps”ArcProps is the public input for the open, stroke-only Arc component.
CirclePathOptions
Section titled “CirclePathOptions”CirclePathOptions supplies a nonnegative numeric radius and optional center
to createCirclePath.
CircleProps
Section titled “CircleProps”CircleProps is the public input for the Circle drawing component.
ClipProps
Section titled “ClipProps”ClipProps supplies a Path2D, fill rule, and recursive PibblNode children
to Clip.
EllipsePathOptions
Section titled “EllipsePathOptions”EllipsePathOptions supplies numeric nonnegative radii, optional center, and
finite radian rotation to createEllipsePath.
EllipseProps
Section titled “EllipseProps”EllipseProps is the public input for the rotated Ellipse component.
FocusManagementProps
Section titled “FocusManagementProps”FocusManagementProps wraps one recursive PibblNode subtree and enables
logical Canvas focus without generating semantic DOM.
GroupProps
Section titled “GroupProps”GroupProps accepts recursive PibblNode children for transformed composition.
HorizontalLineProps
Section titled “HorizontalLineProps”HorizontalLineProps is the public input for the allocation-aware horizontal
line helper.
ImageProps
Section titled “ImageProps”ImageProps is the public input for the browser-decoded Image component.
KeyboardNavigationProps
Section titled “KeyboardNavigationProps”KeyboardNavigationProps wraps recursive PibblNode children in a transparent
directional-navigation boundary inside focus management.
LayerProps
Section titled “LayerProps”LayerProps accepts recursive PibblNode children for a persistent offscreen
Pibbl instance; browser OffscreenCanvas support is required.
LinePathOptions
Section titled “LinePathOptions”LinePathOptions supplies finite numeric coordinates and optional closePath
to createLinePath.
LineProps
Section titled “LineProps”LineProps is the public input for the ordered polyline Line component.
OverlayProps
Section titled “OverlayProps”OverlayProps accepts recursive PibblNode children for shared-box placement.
PathProps
Section titled “PathProps”PathProps requires a caller-owned Path2D for the Path drawing component.
PibblComponent
Section titled “PibblComponent”PibblComponent<P> is a synchronous (props: P) => PibblNode | void function.
Components do not return promises and use normal function identity for runtime
state ownership.
PibblContainerChild
Section titled “PibblContainerChild”PibblContainerChild aliases the recursive node contract accepted by container
components such as Group, Layer, and the layout components.
PibblElement
Section titled “PibblElement”PibblElement<P> is Pibbl’s immutable branded descriptor with a component type,
readonly props, and an optional normalized key. Construct it with JSX or
createElement, not object literals.
PibblElementType
Section titled “PibblElementType”PibblElementType<P> is the supported vocabulary of synchronous Pibbl component
types accepted by element construction.
PibblEmptyNode
Section titled “PibblEmptyNode”PibblEmptyNode is false | true | null | undefined | "" | 0. These values
render no Pibbl output inside a recursive node structure.
PibblKey
Section titled “PibblKey”PibblKey is string | number; element construction normalizes it to a string
and never delivers it through component props.
PibblNode
Section titled “PibblNode”PibblNode is one element, an empty node, a recursive readonly array, or a
finite synchronous iterable. Infinite iterables are unsupported.
PibblNodeInput
Section titled “PibblNodeInput”PibblNodeInput is the component-owned authoring grammar for structural
children and component results. It accepts PibblNode, direct signals that
replace one complete resolved node structure, and recursive arrays or finite
iterables containing those inputs. Signal results are resolved one level only.
PibblPhysics2DPropExtension
Section titled “PibblPhysics2DPropExtension”PibblPhysics2DPropExtension is the empty declaration-merging base used by the
optional official 2D physics module to type supported Canvas component props.
PibblPrimitiveComponent
Section titled “PibblPrimitiveComponent”PibblPrimitiveComponent is the capability-bearing component type created by
definePrimitive for platform/component-library authors.
PibblRenderResult
Section titled “PibblRenderResult”PibblRenderResult is PibblNode | void, the output permitted from a synchronous
Pibbl component.
PibblTextChild
Section titled “PibblTextChild”PibblTextChild is recursive textual content for Text: strings, numbers,
booleans, nullish values, readonly arrays, and finite synchronous iterables.
PibblTextInput
Section titled “PibblTextInput”PibblTextInput is the Text authoring grammar. It accepts PibblTextChild,
direct signals that replace one complete resolved text structure, and recursive
arrays or finite iterables containing those inputs. It does not unwrap signals
inside a structure returned by another signal.
PolygonPathOptions
Section titled “PolygonPathOptions”PolygonPathOptions supplies finite numeric coordinates and optional numeric
corner radii to createPolygonPath.
PolygonProps
Section titled “PolygonProps”PolygonProps is the public input for the closed numeric-coordinate polygon.
RectanglePathOptions
Section titled “RectanglePathOptions”RectanglePathOptions supplies signed numeric dimensions, optional position,
and numeric corner radii to createRectanglePath.
RectangleProps
Section titled “RectangleProps”RectangleProps is the public input for the local rectangle component.
RegularPolygonNumericSize
Section titled “RegularPolygonNumericSize”RegularPolygonNumericSize is the exact-one numeric size union for generated
regular polygon paths: circumradius, inradius, or side length.
RegularPolygonPathOptions
Section titled “RegularPolygonPathOptions”RegularPolygonPathOptions combines integer sides, one numeric size mode,
optional position/rotation, and numeric corner options for the pure creator.
RegularPolygonPathPosition
Section titled “RegularPolygonPathPosition”RegularPolygonPathPosition supplies the optional numeric center and rotation
shared by regular-polygon path construction.
RegularPolygonProps
Section titled “RegularPolygonProps”RegularPolygonProps is the public input for the generated regular polygon.
RoundedCornerPathOptions
Section titled “RoundedCornerPathOptions”RoundedCornerPathOptions supplies numeric cornerRadius and cornerRadii
for the pure rectangle and polygon path constructors.
StarPathOptions
Section titled “StarPathOptions”StarPathOptions supplies integer points, ordered nonnegative radii, optional
position/rotation, and numeric corners to createStarPath.
StarProps
Section titled “StarProps”StarProps is the public input for the generated concave Star component.
SvgPathOptions
Section titled “SvgPathOptions”SvgPathOptions supplies SVG d text to the browser-parsed pure path creator.
SvgPathProps
Section titled “SvgPathProps”SvgPathProps is the public input for browser-parsed SvgPath geometry.
TextFit
Section titled “TextFit”TextFit describes the supported local text fitting behavior; text shaping,
rasterization, and measurement remain browser behavior.
TextProps
Section titled “TextProps”TextProps accepts recursive PibblTextChild content and the local text style.
VerticalLineProps
Section titled “VerticalLineProps”VerticalLineProps is the public input for the allocation-aware vertical line.
WedgePathOptions
Section titled “WedgePathOptions”WedgePathOptions supplies numeric circular-sweep values to the center-closed
createWedgePath function.
WedgeProps
Section titled “WedgeProps”WedgeProps is the public input for the center-closed Wedge component.
API details from source
Section titled “API details from source”
PibblPhysics2DPropExtension
Section titled “PibblPhysics2DPropExtension”Empty declaration-merging base for the optional official 2D physics package.
interface PibblPhysics2DPropExtensionRelated API: PibblPhysics2DPropExtension.
See also
Section titled “See also”View source — packages/core/src/lib/types.ts:89
Properties and methods
Section titled “Properties and methods”
physics (optional)
readonly physics?: PibblPhysicsAttachment2D | undefinedRelated API: PibblPhysicsAttachment2D.
View source — packages/core/src/features/physics/lib/2d/types.ts:321
ArcProps
Section titled “ArcProps”Authored inputs for Arc, including the declared data and presentation options.
interface ArcProps extends PibblEventHandlers, PibblEventFocusOptions, PibblEventParticipationOptions, PibblPhysics2DPropExtensionRelated API: ArcProps, PibblEventHandlers, PibblEventParticipationOptions, PibblPhysics2DPropExtension.
See also
Section titled “See also”PibblEventParticipationOptions
View source — packages/core/src/lib/components/arc.ts:42
Properties and methods
Section titled “Properties and methods”
pointerEvents (optional)
readonly pointerEvents?: PibblPointerEvents | undefinedRelated API: PibblPointerEvents.
Whether this content participates in pointer targeting. See PibblPointerEvents.
keyboardFocusable (optional)
readonly keyboardFocusable?: boolean | undefinedWhether the target may receive keyboard focus. See PibblEventFocusOptions.
keyboardNavigationBounds (optional)
readonly keyboardNavigationBounds?: Readonly<LayoutBox> | undefinedRelated API: LayoutBox.
Logical rectangle used for directional keyboard navigation. See LayoutBox.
physics (optional)
readonly physics?: PibblPhysicsAttachment2D | undefinedRelated API: PibblPhysicsAttachment2D.
View source — packages/core/src/features/physics/lib/2d/types.ts:321
CircleProps
Section titled “CircleProps”Authored inputs for Circle, including the declared data and presentation options.
interface CircleProps extends PibblEventHandlers, PibblEventFocusOptions, PibblEventParticipationOptions, PibblPhysics2DPropExtensionRelated API: CircleProps, PibblEventHandlers, PibblEventParticipationOptions, PibblPhysics2DPropExtension.
See also
Section titled “See also”PibblEventParticipationOptions
View source — packages/core/src/lib/components/circle.ts:37
Properties and methods
Section titled “Properties and methods”
pointerEvents (optional)
readonly pointerEvents?: PibblPointerEvents | undefinedRelated API: PibblPointerEvents.
Whether this content participates in pointer targeting. See PibblPointerEvents.
keyboardFocusable (optional)
readonly keyboardFocusable?: boolean | undefinedWhether the target may receive keyboard focus. See PibblEventFocusOptions.
keyboardNavigationBounds (optional)
readonly keyboardNavigationBounds?: Readonly<LayoutBox> | undefinedRelated API: LayoutBox.
Logical rectangle used for directional keyboard navigation. See LayoutBox.
physics (optional)
readonly physics?: PibblPhysicsAttachment2D | undefinedRelated API: PibblPhysicsAttachment2D.
View source — packages/core/src/features/physics/lib/2d/types.ts:321
ClipProps
Section titled “ClipProps”Authored inputs for Clip, including the declared data and presentation options.
interface ClipProps extends PibblStructuralEventPropsRelated API: ClipProps.
See also
Section titled “See also”View source — packages/core/src/lib/components/clip.ts:24
Properties and methods
Section titled “Properties and methods”
children
children: PibblNodeInputRelated API: PibblNodeInput.
Descendant content or the callback that supplies it. See PibblNodeInput.
EllipseProps
Section titled “EllipseProps”Authored inputs for Ellipse, including the declared data and presentation options.
interface EllipseProps extends PibblEventHandlers, PibblEventFocusOptions, PibblEventParticipationOptions, PibblPhysics2DPropExtensionRelated API: EllipseProps, PibblEventHandlers, PibblEventParticipationOptions, PibblPhysics2DPropExtension.
See also
Section titled “See also”PibblEventParticipationOptions
View source — packages/core/src/lib/components/ellipse.ts:37
Properties and methods
Section titled “Properties and methods”
pointerEvents (optional)
readonly pointerEvents?: PibblPointerEvents | undefinedRelated API: PibblPointerEvents.
Whether this content participates in pointer targeting. See PibblPointerEvents.
keyboardFocusable (optional)
readonly keyboardFocusable?: boolean | undefinedWhether the target may receive keyboard focus. See PibblEventFocusOptions.
keyboardNavigationBounds (optional)
readonly keyboardNavigationBounds?: Readonly<LayoutBox> | undefinedRelated API: LayoutBox.
Logical rectangle used for directional keyboard navigation. See LayoutBox.
physics (optional)
readonly physics?: PibblPhysicsAttachment2D | undefinedRelated API: PibblPhysicsAttachment2D.
View source — packages/core/src/features/physics/lib/2d/types.ts:321
GroupProps
Section titled “GroupProps”Authored inputs for Group, including the declared data and presentation options.
interface GroupProps extends PibblStructuralEventProps, PibblPhysics2DPropExtensionRelated API: GroupProps, PibblPhysics2DPropExtension.
See also
Section titled “See also”View source — packages/core/src/lib/components/g.ts:28
Properties and methods
Section titled “Properties and methods”
children
children: PibblNodeInputRelated API: PibblNodeInput.
Descendant content or the callback that supplies it. See PibblNodeInput.
physics (optional)
readonly physics?: PibblPhysicsAttachment2D | undefinedRelated API: PibblPhysicsAttachment2D.
View source — packages/core/src/features/physics/lib/2d/types.ts:321
HorizontalLineProps
Section titled “HorizontalLineProps”Authored inputs for HorizontalLine, including the declared data and presentation options.
interface HorizontalLineProps extends PibblEventHandlers, PibblEventFocusOptions, PibblEventParticipationOptions, PibblPhysics2DPropExtensionRelated API: HorizontalLineProps, PibblEventHandlers, PibblEventParticipationOptions, PibblPhysics2DPropExtension.
See also
Section titled “See also”PibblEventParticipationOptions
View source — packages/core/src/lib/components/horizontal-line.ts:36
Properties and methods
Section titled “Properties and methods”
pointerEvents (optional)
readonly pointerEvents?: PibblPointerEvents | undefinedRelated API: PibblPointerEvents.
Whether this content participates in pointer targeting. See PibblPointerEvents.
keyboardFocusable (optional)
readonly keyboardFocusable?: boolean | undefinedWhether the target may receive keyboard focus. See PibblEventFocusOptions.
keyboardNavigationBounds (optional)
readonly keyboardNavigationBounds?: Readonly<LayoutBox> | undefinedRelated API: LayoutBox.
Logical rectangle used for directional keyboard navigation. See LayoutBox.
physics (optional)
readonly physics?: PibblPhysicsAttachment2D | undefinedRelated API: PibblPhysicsAttachment2D.
View source — packages/core/src/features/physics/lib/2d/types.ts:321
ImageProps
Section titled “ImageProps”Authored inputs for Image, including the declared data and presentation options.
interface ImageProps extends PibblEventHandlers, PibblEventFocusOptions, PibblEventParticipationOptions, PibblPhysics2DPropExtensionRelated API: ImageProps, PibblEventHandlers, PibblEventParticipationOptions, PibblPhysics2DPropExtension.
See also
Section titled “See also”PibblEventParticipationOptions
View source — packages/core/src/lib/components/img.ts:36
Properties and methods
Section titled “Properties and methods”
pointerEvents (optional)
readonly pointerEvents?: PibblPointerEvents | undefinedRelated API: PibblPointerEvents.
Whether this content participates in pointer targeting. See PibblPointerEvents.
keyboardFocusable (optional)
readonly keyboardFocusable?: boolean | undefinedWhether the target may receive keyboard focus. See PibblEventFocusOptions.
keyboardNavigationBounds (optional)
readonly keyboardNavigationBounds?: Readonly<LayoutBox> | undefinedRelated API: LayoutBox.
Logical rectangle used for directional keyboard navigation. See LayoutBox.
physics (optional)
readonly physics?: PibblPhysicsAttachment2D | undefinedRelated API: PibblPhysicsAttachment2D.
View source — packages/core/src/features/physics/lib/2d/types.ts:321
LayerProps
Section titled “LayerProps”Authored inputs for Layer, including the declared data and presentation options.
interface LayerProps extends PibblStructuralEventPropsRelated API: LayerProps.
See also
Section titled “See also”View source — packages/core/src/lib/components/layer.ts:54
Properties and methods
Section titled “Properties and methods”
children
children: PibblNodeInputRelated API: PibblNodeInput.
Descendant content or the callback that supplies it. See PibblNodeInput.
LineProps
Section titled “LineProps”Authored inputs for Line, including the declared data and presentation options.
interface LineProps extends PibblEventHandlers, PibblEventFocusOptions, PibblEventParticipationOptions, PibblPhysics2DPropExtensionRelated API: LineProps, PibblEventHandlers, PibblEventParticipationOptions, PibblPhysics2DPropExtension.
See also
Section titled “See also”PibblEventParticipationOptions
View source — packages/core/src/lib/components/line.ts:37
Properties and methods
Section titled “Properties and methods”
pointerEvents (optional)
readonly pointerEvents?: PibblPointerEvents | undefinedRelated API: PibblPointerEvents.
Whether this content participates in pointer targeting. See PibblPointerEvents.
keyboardFocusable (optional)
readonly keyboardFocusable?: boolean | undefinedWhether the target may receive keyboard focus. See PibblEventFocusOptions.
keyboardNavigationBounds (optional)
readonly keyboardNavigationBounds?: Readonly<LayoutBox> | undefinedRelated API: LayoutBox.
Logical rectangle used for directional keyboard navigation. See LayoutBox.
physics (optional)
readonly physics?: PibblPhysicsAttachment2D | undefinedRelated API: PibblPhysicsAttachment2D.
View source — packages/core/src/features/physics/lib/2d/types.ts:321
PathProps
Section titled “PathProps”Authored inputs for Path, including the declared data and presentation options.
interface PathProps extends PibblEventHandlers, PibblEventFocusOptions, PibblEventParticipationOptions, PibblPhysics2DPropExtensionRelated API: PathProps, PibblEventHandlers, PibblEventParticipationOptions, PibblPhysics2DPropExtension.
See also
Section titled “See also”PibblEventParticipationOptions
View source — packages/core/src/lib/components/path.ts:29
Properties and methods
Section titled “Properties and methods”
pointerEvents (optional)
readonly pointerEvents?: PibblPointerEvents | undefinedRelated API: PibblPointerEvents.
Whether this content participates in pointer targeting. See PibblPointerEvents.
keyboardFocusable (optional)
readonly keyboardFocusable?: boolean | undefinedWhether the target may receive keyboard focus. See PibblEventFocusOptions.
keyboardNavigationBounds (optional)
readonly keyboardNavigationBounds?: Readonly<LayoutBox> | undefinedRelated API: LayoutBox.
Logical rectangle used for directional keyboard navigation. See LayoutBox.
physics (optional)
readonly physics?: PibblPhysicsAttachment2D | undefinedRelated API: PibblPhysicsAttachment2D.
View source — packages/core/src/features/physics/lib/2d/types.ts:321
PolygonProps
Section titled “PolygonProps”Authored inputs for Polygon, including the declared data and presentation options.
interface PolygonProps extends PibblEventHandlers, PibblEventFocusOptions, PibblEventParticipationOptions, PibblPhysics2DPropExtensionRelated API: PolygonProps, PibblEventHandlers, PibblEventParticipationOptions, PibblPhysics2DPropExtension.
See also
Section titled “See also”PibblEventParticipationOptions
View source — packages/core/src/lib/components/polygon.ts:36
Properties and methods
Section titled “Properties and methods”
pointerEvents (optional)
readonly pointerEvents?: PibblPointerEvents | undefinedRelated API: PibblPointerEvents.
Whether this content participates in pointer targeting. See PibblPointerEvents.
keyboardFocusable (optional)
readonly keyboardFocusable?: boolean | undefinedWhether the target may receive keyboard focus. See PibblEventFocusOptions.
keyboardNavigationBounds (optional)
readonly keyboardNavigationBounds?: Readonly<LayoutBox> | undefinedRelated API: LayoutBox.
Logical rectangle used for directional keyboard navigation. See LayoutBox.
physics (optional)
readonly physics?: PibblPhysicsAttachment2D | undefinedRelated API: PibblPhysicsAttachment2D.
View source — packages/core/src/features/physics/lib/2d/types.ts:321
RegularPolygonProps
Section titled “RegularPolygonProps”Authored inputs for RegularPolygon, including the declared data and presentation options.
interface RegularPolygonProps extends PibblEventHandlers, PibblEventFocusOptions, PibblEventParticipationOptions, PibblPhysics2DPropExtensionRelated API: RegularPolygonProps, PibblEventHandlers, PibblEventParticipationOptions, PibblPhysics2DPropExtension.
See also
Section titled “See also”PibblEventParticipationOptions
View source — packages/core/src/lib/components/regular-polygon.ts:47
Properties and methods
Section titled “Properties and methods”
pointerEvents (optional)
readonly pointerEvents?: PibblPointerEvents | undefinedRelated API: PibblPointerEvents.
Whether this content participates in pointer targeting. See PibblPointerEvents.
keyboardFocusable (optional)
readonly keyboardFocusable?: boolean | undefinedWhether the target may receive keyboard focus. See PibblEventFocusOptions.
keyboardNavigationBounds (optional)
readonly keyboardNavigationBounds?: Readonly<LayoutBox> | undefinedRelated API: LayoutBox.
Logical rectangle used for directional keyboard navigation. See LayoutBox.
physics (optional)
readonly physics?: PibblPhysicsAttachment2D | undefinedRelated API: PibblPhysicsAttachment2D.
View source — packages/core/src/features/physics/lib/2d/types.ts:321
RectangleProps
Section titled “RectangleProps”Authored inputs for Rectangle, including the declared data and presentation options.
interface RectangleProps extends PibblEventHandlers, PibblEventFocusOptions, PibblEventParticipationOptions, PibblPhysics2DPropExtensionRelated API: RectangleProps, PibblEventHandlers, PibblEventParticipationOptions, PibblPhysics2DPropExtension.
See also
Section titled “See also”PibblEventParticipationOptions
View source — packages/core/src/lib/components/rect.ts:28
Properties and methods
Section titled “Properties and methods”
pointerEvents (optional)
readonly pointerEvents?: PibblPointerEvents | undefinedRelated API: PibblPointerEvents.
Whether this content participates in pointer targeting. See PibblPointerEvents.
keyboardFocusable (optional)
readonly keyboardFocusable?: boolean | undefinedWhether the target may receive keyboard focus. See PibblEventFocusOptions.
keyboardNavigationBounds (optional)
readonly keyboardNavigationBounds?: Readonly<LayoutBox> | undefinedRelated API: LayoutBox.
Logical rectangle used for directional keyboard navigation. See LayoutBox.
physics (optional)
readonly physics?: PibblPhysicsAttachment2D | undefinedRelated API: PibblPhysicsAttachment2D.
View source — packages/core/src/features/physics/lib/2d/types.ts:321
StarProps
Section titled “StarProps”Authored inputs for Star, including the declared data and presentation options.
interface StarProps extends PibblEventHandlers, PibblEventFocusOptions, PibblEventParticipationOptions, PibblPhysics2DPropExtensionRelated API: StarProps, PibblEventHandlers, PibblEventParticipationOptions, PibblPhysics2DPropExtension.
See also
Section titled “See also”PibblEventParticipationOptions
View source — packages/core/src/lib/components/star.ts:47
Properties and methods
Section titled “Properties and methods”
pointerEvents (optional)
readonly pointerEvents?: PibblPointerEvents | undefinedRelated API: PibblPointerEvents.
Whether this content participates in pointer targeting. See PibblPointerEvents.
keyboardFocusable (optional)
readonly keyboardFocusable?: boolean | undefinedWhether the target may receive keyboard focus. See PibblEventFocusOptions.
keyboardNavigationBounds (optional)
readonly keyboardNavigationBounds?: Readonly<LayoutBox> | undefinedRelated API: LayoutBox.
Logical rectangle used for directional keyboard navigation. See LayoutBox.
physics (optional)
readonly physics?: PibblPhysicsAttachment2D | undefinedRelated API: PibblPhysicsAttachment2D.
View source — packages/core/src/features/physics/lib/2d/types.ts:321
SvgPathProps
Section titled “SvgPathProps”Authored inputs for SvgPath, including the declared data and presentation options.
interface SvgPathProps extends PathProps, PibblPhysics2DPropExtensionRelated API: SvgPathProps, PathProps, PibblPhysics2DPropExtension.
See also
Section titled “See also”View source — packages/core/src/lib/components/svg-path.ts:18
Properties and methods
Section titled “Properties and methods”
pointerEvents (optional)
readonly pointerEvents?: PibblPointerEvents | undefinedRelated API: PibblPointerEvents.
Whether this content participates in pointer targeting. See PibblPointerEvents.
keyboardFocusable (optional)
readonly keyboardFocusable?: boolean | undefinedWhether the target may receive keyboard focus. See PibblEventFocusOptions.
keyboardNavigationBounds (optional)
readonly keyboardNavigationBounds?: Readonly<LayoutBox> | undefinedRelated API: LayoutBox.
Logical rectangle used for directional keyboard navigation. See LayoutBox.
physics (optional)
readonly physics?: PibblPhysicsAttachment2D | undefinedRelated API: PibblPhysicsAttachment2D.
View source — packages/core/src/features/physics/lib/2d/types.ts:321
TextProps
Section titled “TextProps”Authored inputs for Text, including the declared data and presentation options.
interface TextProps extends PibblEventHandlers, PibblEventFocusOptions, PibblEventParticipationOptions, PibblPhysics2DPropExtensionRelated API: TextProps, PibblEventHandlers, PibblEventParticipationOptions, PibblPhysics2DPropExtension.
See also
Section titled “See also”PibblEventParticipationOptions
View source — packages/core/src/lib/components/text.ts:39
Properties and methods
Section titled “Properties and methods”
children (optional)
children?: PibblTextInputRelated API: PibblTextInput.
Descendant content or the callback that supplies it. See PibblTextInput.
pointerEvents (optional)
readonly pointerEvents?: PibblPointerEvents | undefinedRelated API: PibblPointerEvents.
Whether this content participates in pointer targeting. See PibblPointerEvents.
keyboardFocusable (optional)
readonly keyboardFocusable?: boolean | undefinedWhether the target may receive keyboard focus. See PibblEventFocusOptions.
keyboardNavigationBounds (optional)
readonly keyboardNavigationBounds?: Readonly<LayoutBox> | undefinedRelated API: LayoutBox.
Logical rectangle used for directional keyboard navigation. See LayoutBox.
physics (optional)
readonly physics?: PibblPhysicsAttachment2D | undefinedRelated API: PibblPhysicsAttachment2D.
View source — packages/core/src/features/physics/lib/2d/types.ts:321
VerticalLineProps
Section titled “VerticalLineProps”Authored inputs for VerticalLine, including the declared data and presentation options.
interface VerticalLineProps extends PibblEventHandlers, PibblEventFocusOptions, PibblEventParticipationOptions, PibblPhysics2DPropExtensionRelated API: VerticalLineProps, PibblEventHandlers, PibblEventParticipationOptions, PibblPhysics2DPropExtension.
See also
Section titled “See also”PibblEventParticipationOptions
View source — packages/core/src/lib/components/vertical-line.ts:36
Properties and methods
Section titled “Properties and methods”
pointerEvents (optional)
readonly pointerEvents?: PibblPointerEvents | undefinedRelated API: PibblPointerEvents.
Whether this content participates in pointer targeting. See PibblPointerEvents.
keyboardFocusable (optional)
readonly keyboardFocusable?: boolean | undefinedWhether the target may receive keyboard focus. See PibblEventFocusOptions.
keyboardNavigationBounds (optional)
readonly keyboardNavigationBounds?: Readonly<LayoutBox> | undefinedRelated API: LayoutBox.
Logical rectangle used for directional keyboard navigation. See LayoutBox.
physics (optional)
readonly physics?: PibblPhysicsAttachment2D | undefinedRelated API: PibblPhysicsAttachment2D.
View source — packages/core/src/features/physics/lib/2d/types.ts:321
WedgeProps
Section titled “WedgeProps”Authored inputs for Wedge, including the declared data and presentation options.
interface WedgeProps extends PibblEventHandlers, PibblEventFocusOptions, PibblEventParticipationOptions, PibblPhysics2DPropExtensionRelated API: WedgeProps, PibblEventHandlers, PibblEventParticipationOptions, PibblPhysics2DPropExtension.
See also
Section titled “See also”PibblEventParticipationOptions
View source — packages/core/src/lib/components/wedge.ts:42
Properties and methods
Section titled “Properties and methods”
pointerEvents (optional)
readonly pointerEvents?: PibblPointerEvents | undefinedRelated API: PibblPointerEvents.
Whether this content participates in pointer targeting. See PibblPointerEvents.
keyboardFocusable (optional)
readonly keyboardFocusable?: boolean | undefinedWhether the target may receive keyboard focus. See PibblEventFocusOptions.
keyboardNavigationBounds (optional)
readonly keyboardNavigationBounds?: Readonly<LayoutBox> | undefinedRelated API: LayoutBox.
Logical rectangle used for directional keyboard navigation. See LayoutBox.
physics (optional)
readonly physics?: PibblPhysicsAttachment2D | undefinedRelated API: PibblPhysicsAttachment2D.
View source — packages/core/src/features/physics/lib/2d/types.ts:321
ArcPathOptions
Section titled “ArcPathOptions”Geometry and construction options for a arc path.
interface ArcPathOptionsRelated API: ArcPathOptions.
See also
Section titled “See also”View source — packages/core/src/lib/geometry/circular-sweep.ts:19
Properties and methods
Section titled “Properties and methods”
cx (optional)
cx?: number | undefinedHorizontal coordinate of the center. See ArcPathOptions.
View source — packages/core/src/lib/geometry/circular-sweep.ts:21
cy (optional)
cy?: number | undefinedVertical coordinate of the center. See ArcPathOptions.
View source — packages/core/src/lib/geometry/circular-sweep.ts:23
radius
radius: numberRadius in the coordinate system of this geometry or effect. See ArcPathOptions.
View source — packages/core/src/lib/geometry/circular-sweep.ts:25
startAngle
startAngle: numberAngle at which the arc or slice begins. See ArcPathOptions.
View source — packages/core/src/lib/geometry/circular-sweep.ts:27
endAngle
endAngle: numberAngle at which the arc or slice ends. See ArcPathOptions.
View source — packages/core/src/lib/geometry/circular-sweep.ts:29
counterclockwise (optional)
counterclockwise?: boolean | undefinedWhether the arc follows the counterclockwise direction. See ArcPathOptions.
View source — packages/core/src/lib/geometry/circular-sweep.ts:31
WedgePathOptions
Section titled “WedgePathOptions”Geometry and construction options for a wedge path.
type WedgePathOptions = ArcPathOptionsRelated API: WedgePathOptions, ArcPathOptions.
See also
Section titled “See also”View source — packages/core/src/lib/geometry/circular-sweep.ts:40
Properties and methods
Section titled “Properties and methods”
cx (optional)
cx?: number | undefinedHorizontal coordinate of the center. See ArcPathOptions.
View source — packages/core/src/lib/geometry/circular-sweep.ts:21
cy (optional)
cy?: number | undefinedVertical coordinate of the center. See ArcPathOptions.
View source — packages/core/src/lib/geometry/circular-sweep.ts:23
radius
radius: numberRadius in the coordinate system of this geometry or effect. See ArcPathOptions.
View source — packages/core/src/lib/geometry/circular-sweep.ts:25
startAngle
startAngle: numberAngle at which the arc or slice begins. See ArcPathOptions.
View source — packages/core/src/lib/geometry/circular-sweep.ts:27
endAngle
endAngle: numberAngle at which the arc or slice ends. See ArcPathOptions.
View source — packages/core/src/lib/geometry/circular-sweep.ts:29
counterclockwise (optional)
counterclockwise?: boolean | undefinedWhether the arc follows the counterclockwise direction. See ArcPathOptions.
View source — packages/core/src/lib/geometry/circular-sweep.ts:31
CirclePathOptions
Section titled “CirclePathOptions”Geometry and construction options for a circle path.
interface CirclePathOptionsRelated API: CirclePathOptions.
See also
Section titled “See also”View source — packages/core/src/lib/geometry/circle.ts:8
Properties and methods
Section titled “Properties and methods”
cx (optional)
cx?: number | undefinedHorizontal coordinate of the center. See CirclePathOptions.
cy (optional)
cy?: number | undefinedVertical coordinate of the center. See CirclePathOptions.
radius
radius: numberRadius in the coordinate system of this geometry or effect. See CirclePathOptions.
EllipsePathOptions
Section titled “EllipsePathOptions”Geometry and construction options for a ellipse path.
interface EllipsePathOptionsRelated API: EllipsePathOptions.
See also
Section titled “See also”View source — packages/core/src/lib/geometry/ellipse.ts:8
Properties and methods
Section titled “Properties and methods”
cx (optional)
cx?: number | undefinedHorizontal coordinate of the center. See EllipsePathOptions.
cy (optional)
cy?: number | undefinedVertical coordinate of the center. See EllipsePathOptions.
radiusX
radiusX: numberHorizontal ellipse radius. See EllipsePathOptions.
radiusY
radiusY: numberVertical ellipse radius. See EllipsePathOptions.
rotation (optional)
rotation?: number | undefinedRotation applied to the containing geometry. See EllipsePathOptions.
LinePathOptions
Section titled “LinePathOptions”Geometry and construction options for a line path.
interface LinePathOptionsRelated API: LinePathOptions.
See also
Section titled “See also”View source — packages/core/src/lib/geometry/line.ts:8
Properties and methods
Section titled “Properties and methods”
coords
coords: readonly (readonly [number, number])[]Ordered coordinate pairs describing the path vertices. See LinePathOptions.
closePath (optional)
closePath?: boolean | undefinedWhether to connect the final vertex back to the first. See LinePathOptions.
PolygonPathOptions
Section titled “PolygonPathOptions”Geometry and construction options for a polygon path.
interface PolygonPathOptions extends RoundedCornerPathOptionsRelated API: PolygonPathOptions, RoundedCornerPathOptions.
See also
Section titled “See also”View source — packages/core/src/lib/geometry/polygon.ts:11
Properties and methods
Section titled “Properties and methods”
coords
coords: readonly (readonly [number, number])[]Ordered coordinate pairs describing the path vertices. See PolygonPathOptions.
cornerRadius (optional)
cornerRadius?: number | undefinedUniform corner radius used where no per-corner override is supplied. See RoundedCornerPathOptions.
View source — packages/core/src/lib/geometry/rounded-corners.ts:25
cornerRadii (optional)
cornerRadii?: readonly (number | null | undefined)[] | undefinedPer-corner radii; nullish entries use the uniform corner radius. See RoundedCornerPathOptions.
View source — packages/core/src/lib/geometry/rounded-corners.ts:30
RectanglePathOptions
Section titled “RectanglePathOptions”Geometry and construction options for a rectangle path.
interface RectanglePathOptions extends RoundedCornerPathOptionsRelated API: RectanglePathOptions, RoundedCornerPathOptions.
See also
Section titled “See also”View source — packages/core/src/lib/geometry/rectangle.ts:13
Properties and methods
Section titled “Properties and methods”
cornerRadius (optional)
cornerRadius?: number | undefinedUniform corner radius used where no per-corner override is supplied. See RoundedCornerPathOptions.
View source — packages/core/src/lib/geometry/rounded-corners.ts:25
x (optional)
x?: number | undefinedHorizontal coordinate or displacement in the containing coordinate system. See RectanglePathOptions.
View source — packages/core/src/lib/geometry/rectangle.ts:18
y (optional)
y?: number | undefinedVertical coordinate or displacement in the containing coordinate system. See RectanglePathOptions.
View source — packages/core/src/lib/geometry/rectangle.ts:23
width
width: numberHorizontal extent in the units of the containing geometry or surface. See RectanglePathOptions.
View source — packages/core/src/lib/geometry/rectangle.ts:28
height
height: numberVertical extent in the units of the containing geometry or surface. See RectanglePathOptions.
View source — packages/core/src/lib/geometry/rectangle.ts:33
cornerRadii (optional)
cornerRadii?: readonly (number | null | undefined)[] | undefinedPer-corner radii; nullish entries use the uniform corner radius. See RoundedCornerPathOptions.
View source — packages/core/src/lib/geometry/rounded-corners.ts:30
RegularPolygonNumericSize
Section titled “RegularPolygonNumericSize”Exactly one size measure for a regular polygon: circumradius, inradius, or side length.
Full type declaration
type RegularPolygonNumericSize = | { /** Distance from the polygon center to a vertex. See {@link RegularPolygonNumericSize}. */ circumradius: number; /** * Not accepted in this variant; use the alternative fields instead. See * {@link RegularPolygonNumericSize}. */ inradius?: never; /** * Not accepted in this variant; use the alternative fields instead. See * {@link RegularPolygonNumericSize}. */ sideLength?: never; } | { /** * Not accepted in this variant; use the alternative fields instead. See * {@link RegularPolygonNumericSize}. */ circumradius?: never; /** Distance from the polygon center to an edge. See {@link RegularPolygonNumericSize}. */ inradius: number; /** * Not accepted in this variant; use the alternative fields instead. See * {@link RegularPolygonNumericSize}. */ sideLength?: never; } | { /** * Not accepted in this variant; use the alternative fields instead. See * {@link RegularPolygonNumericSize}. */ circumradius?: never; /** * Not accepted in this variant; use the alternative fields instead. See * {@link RegularPolygonNumericSize}. */ inradius?: never; /** Length of one polygon edge. See {@link RegularPolygonNumericSize}. */ sideLength: number; }Related API: RegularPolygonNumericSize, Length.
See also
Section titled “See also”View source — packages/core/src/lib/geometry/regular-polygon.ts:36
Properties and methods
Section titled “Properties and methods”
circumradius (optional)
circumradius?: number | undefinedDistance from the polygon center to a vertex. See RegularPolygonNumericSize. Not accepted in this variant; use the alternative fields instead. See RegularPolygonNumericSize.
View source — packages/core/src/lib/geometry/regular-polygon.ts:39
inradius (optional)
inradius?: number | undefinedNot accepted in this variant; use the alternative fields instead. See RegularPolygonNumericSize. Distance from the polygon center to an edge. See RegularPolygonNumericSize.
View source — packages/core/src/lib/geometry/regular-polygon.ts:44
sideLength (optional)
sideLength?: number | undefinedNot accepted in this variant; use the alternative fields instead. See RegularPolygonNumericSize. Length of one polygon edge. See RegularPolygonNumericSize.
View source — packages/core/src/lib/geometry/regular-polygon.ts:49
RegularPolygonPathOptions
Section titled “RegularPolygonPathOptions”Geometry and construction options for a regular polygon path.
type RegularPolygonPathOptions = RegularPolygonPathPosition & RegularPolygonNumericSize & RoundedCornerPathOptionsRelated API: RegularPolygonPathOptions, RegularPolygonPathPosition, RegularPolygonNumericSize, RoundedCornerPathOptions.
See also
Section titled “See also”View source — packages/core/src/lib/geometry/regular-polygon.ts:88
Properties and methods
Section titled “Properties and methods”
sides
sides: numberNumber of sides of the regular polygon. See RegularPolygonPathPosition.
View source — packages/core/src/lib/geometry/regular-polygon.ts:22
cx (optional)
cx?: number | undefinedHorizontal coordinate of the center. See RegularPolygonPathPosition.
View source — packages/core/src/lib/geometry/regular-polygon.ts:24
cy (optional)
cy?: number | undefinedVertical coordinate of the center. See RegularPolygonPathPosition.
View source — packages/core/src/lib/geometry/regular-polygon.ts:26
rotation (optional)
rotation?: number | undefinedRotation applied to the containing geometry. See RegularPolygonPathPosition.
View source — packages/core/src/lib/geometry/regular-polygon.ts:28
circumradius (optional)
circumradius?: number | undefinedDistance from the polygon center to a vertex. See RegularPolygonNumericSize. Not accepted in this variant; use the alternative fields instead. See RegularPolygonNumericSize.
View source — packages/core/src/lib/geometry/regular-polygon.ts:39
inradius (optional)
inradius?: number | undefinedNot accepted in this variant; use the alternative fields instead. See RegularPolygonNumericSize. Distance from the polygon center to an edge. See RegularPolygonNumericSize.
View source — packages/core/src/lib/geometry/regular-polygon.ts:44
sideLength (optional)
sideLength?: number | undefinedNot accepted in this variant; use the alternative fields instead. See RegularPolygonNumericSize. Length of one polygon edge. See RegularPolygonNumericSize.
View source — packages/core/src/lib/geometry/regular-polygon.ts:49
cornerRadius (optional)
cornerRadius?: number | undefinedUniform corner radius used where no per-corner override is supplied. See RoundedCornerPathOptions.
View source — packages/core/src/lib/geometry/rounded-corners.ts:25
cornerRadii (optional)
cornerRadii?: readonly (number | null | undefined)[] | undefinedPer-corner radii; nullish entries use the uniform corner radius. See RoundedCornerPathOptions.
View source — packages/core/src/lib/geometry/rounded-corners.ts:30
RegularPolygonPathPosition
Section titled “RegularPolygonPathPosition”Center, side count, and rotation for a regular polygon path.
interface RegularPolygonPathPositionRelated API: RegularPolygonPathPosition.
See also
Section titled “See also”View source — packages/core/src/lib/geometry/regular-polygon.ts:20
Properties and methods
Section titled “Properties and methods”
sides
sides: numberNumber of sides of the regular polygon. See RegularPolygonPathPosition.
View source — packages/core/src/lib/geometry/regular-polygon.ts:22
cx (optional)
cx?: number | undefinedHorizontal coordinate of the center. See RegularPolygonPathPosition.
View source — packages/core/src/lib/geometry/regular-polygon.ts:24
cy (optional)
cy?: number | undefinedVertical coordinate of the center. See RegularPolygonPathPosition.
View source — packages/core/src/lib/geometry/regular-polygon.ts:26
rotation (optional)
rotation?: number | undefinedRotation applied to the containing geometry. See RegularPolygonPathPosition.
View source — packages/core/src/lib/geometry/regular-polygon.ts:28
StarPathOptions
Section titled “StarPathOptions”Geometry and construction options for a star path.
interface StarPathOptions extends RoundedCornerPathOptionsRelated API: StarPathOptions, RoundedCornerPathOptions.
See also
Section titled “See also”View source — packages/core/src/lib/geometry/star.ts:21
Properties and methods
Section titled “Properties and methods”
points
points: numberPoints defining the geometry or reported by the contact query. See StarPathOptions.
cx (optional)
cx?: number | undefinedHorizontal coordinate of the center. See StarPathOptions.
cy (optional)
cy?: number | undefinedVertical coordinate of the center. See StarPathOptions.
outerRadius
outerRadius: numberRadius of the outer boundary. See StarPathOptions.
innerRadius
innerRadius: numberRadius of the inner boundary. See StarPathOptions.
rotation (optional)
rotation?: number | undefinedRotation applied to the containing geometry. See StarPathOptions.
cornerRadius (optional)
cornerRadius?: number | undefinedUniform corner radius used where no per-corner override is supplied. See RoundedCornerPathOptions.
View source — packages/core/src/lib/geometry/rounded-corners.ts:25
cornerRadii (optional)
cornerRadii?: readonly (number | null | undefined)[] | undefinedPer-corner radii; nullish entries use the uniform corner radius. See RoundedCornerPathOptions.
View source — packages/core/src/lib/geometry/rounded-corners.ts:30
SvgPathOptions
Section titled “SvgPathOptions”Geometry and construction options for a svg path.
interface SvgPathOptionsRelated API: SvgPathOptions.
See also
Section titled “See also”View source — packages/core/src/lib/geometry/svg-path.ts:6
Properties and methods
Section titled “Properties and methods”
d
d: stringGeometry to draw or clip, supplied in the declared path representation. See SvgPathOptions.
RoundedCornerPathOptions
Section titled “RoundedCornerPathOptions”Uniform or per-corner radii for rounding supported path vertices.
interface RoundedCornerPathOptionsRelated API: RoundedCornerPathOptions.
See also
Section titled “See also”View source — packages/core/src/lib/geometry/rounded-corners.ts:20
Properties and methods
Section titled “Properties and methods”
cornerRadius (optional)
cornerRadius?: number | undefinedUniform corner radius used where no per-corner override is supplied. See RoundedCornerPathOptions.
View source — packages/core/src/lib/geometry/rounded-corners.ts:25
cornerRadii (optional)
cornerRadii?: readonly (number | null | undefined)[] | undefinedPer-corner radii; nullish entries use the uniform corner radius. See RoundedCornerPathOptions.
View source — packages/core/src/lib/geometry/rounded-corners.ts:30
AbsoluteProps
Section titled “AbsoluteProps”Authored inputs for Absolute, including the declared data and presentation options.
interface AbsoluteProps extends PibblStructuralEventPropsRelated API: AbsoluteProps.
See also
Section titled “See also”View source — packages/core/src/lib/layout/absolute.ts:63
Properties and methods
Section titled “Properties and methods”
children
children: PibblNodeInputRelated API: PibblNodeInput.
Descendant content or the callback that supplies it. See PibblNodeInput.
OverlayProps
Section titled “OverlayProps”Authored inputs for Overlay, including the declared data and presentation options.
interface OverlayProps extends PibblStructuralEventPropsRelated API: OverlayProps.
See also
Section titled “See also”View source — packages/core/src/lib/layout/overlay.ts:51
Properties and methods
Section titled “Properties and methods”
children
children: PibblNodeInputRelated API: PibblNodeInput.
Descendant content or the callback that supplies it. See PibblNodeInput.
FocusManagementProps
Section titled “FocusManagementProps”Authored inputs for FocusManagement, including the declared data and presentation options.
interface FocusManagementPropsRelated API: FocusManagementProps.
See also
Section titled “See also”View source — packages/core/src/lib/focus/policy-components.ts:74
Properties and methods
Section titled “Properties and methods”
children
readonly children: PibblPolicyChildThe single child receiving a logical focus manager. See PibblPolicyChild.
View source — packages/core/src/lib/focus/policy-components.ts:76
KeyboardNavigationProps
Section titled “KeyboardNavigationProps”Authored inputs for KeyboardNavigation, including the declared data and presentation options.
interface KeyboardNavigationProps extends PibblKeyboardNavigationOptionsRelated API: KeyboardNavigationProps, PibblKeyboardNavigationOptions.
See also
Section titled “See also”PibblKeyboardNavigationOptions
View source — packages/core/src/lib/focus/policy-components.ts:85
Properties and methods
Section titled “Properties and methods”
children
readonly children: PibblPolicyChildThe single child receiving a directional keyboard-navigation boundary. See PibblPolicyChild.
View source — packages/core/src/lib/focus/policy-components.ts:87
mode
readonly mode: "directional"Selects the supported mapping, placement, or result policy. See PibblKeyboardNavigationOptions.
TextFit
Section titled “TextFit”How text that exceeds its box remains visible, compresses, truncates, or clips.
type TextFit = 'visible' | 'squish' | 'ellipsis' | 'clip'Related API: TextFit.
See also
Section titled “See also”View source — packages/core/src/lib/style/types.ts:303
PibblComponent
Section titled “PibblComponent”A synchronous function that receives props and returns Pibbl nodes.
type PibblComponent<P = Record<string, never>> = ( props: P,) => PibblRenderResultRelated API: PibblComponent, PibblRenderResult.
Parameters
Section titled “Parameters”props— Authored component properties supplied by Pibbl.
Returns
Section titled “Returns”Synchronous Pibbl render output. See PibblRenderResult.
See also
Section titled “See also”View source — packages/core/src/lib/element/types.ts:117
PibblContainerChild
Section titled “PibblContainerChild”A recursive child value accepted by a Pibbl container.
type PibblContainerChild = PibblNodeInputRelated API: PibblContainerChild, PibblNodeInput.
See also
Section titled “See also”View source — packages/core/src/lib/element/types.ts:98
PibblElement
Section titled “PibblElement”A branded element descriptor containing component identity, props, and an optional reconciliation key.
interface PibblElement<P = unknown>Related API: PibblElement.
See also
Section titled “See also”View source — packages/core/src/lib/element/types.ts:47
Properties and methods
Section titled “Properties and methods”
type
readonly type: PibblElementType<P>Related API: PibblElementType.
Component identity evaluated when this element is rendered. See PibblElementType.
props
readonly props: Readonly<P>Component props supplied to evaluation or measurement. See PibblElement.
key (optional)
readonly key?: string | undefinedStable identity used by the containing protocol. See PibblElement.
PibblElementType
Section titled “PibblElementType”A component or fragment identity that can be used to construct a Pibbl element.
type PibblElementType<P = any> = PibblComponent<P>Related API: PibblElementType, PibblComponent.
See also
Section titled “See also”View source — packages/core/src/lib/element/types.ts:150
PibblEmptyNode
Section titled “PibblEmptyNode”A child value that intentionally contributes no rendered output.
type PibblEmptyNode = false | true | null | undefined | '' | 0Related API: PibblEmptyNode.
See also
Section titled “See also”View source — packages/core/src/lib/element/types.ts:23
PibblKey
Section titled “PibblKey”A stable sibling identity used when reconciling keyed elements.
type PibblKey = string | numberRelated API: PibblKey.
See also
Section titled “See also”View source — packages/core/src/lib/element/types.ts:17
PibblNode
Section titled “PibblNode”Recursive synchronous render output, including elements and empty child values.
type PibblNode = | PibblElement<any> | PibblEmptyNode | readonly PibblNode[] | Iterable<PibblNode>Related API: PibblNode, PibblElement, PibblEmptyNode.
See also
Section titled “See also”View source — packages/core/src/lib/element/types.ts:64
PibblNodeInput
Section titled “PibblNodeInput”An authored node input that may be supplied by a signal.
type PibblNodeInput = | SignalValue<PibblNode> | readonly PibblNodeInput[] | Iterable<PibblNodeInput>Related API: PibblNodeInput, SignalValue, PibblNode.
See also
Section titled “See also”View source — packages/core/src/lib/element/types.ts:78
PibblPrimitiveComponent
Section titled “PibblPrimitiveComponent”A branded primitive component with separate authored-input and resolved-prop types.
type PibblPrimitiveComponent<P = Record<string, never>, I = P> = PibblComponent<I> & { readonly [pibblPrimitiveComponentBrand]: { readonly input: I; readonly programProps: P; };}Related API: PibblPrimitiveComponent, PibblComponent.
See also
Section titled “See also”View source — packages/core/src/lib/element/types.ts:127
PibblTextChild
Section titled “PibblTextChild”A textual child accepted by the Text primitive.
type PibblTextChild = | string | number | boolean | null | undefined | readonly PibblTextChild[] | Iterable<PibblTextChild>Related API: PibblTextChild.
See also
Section titled “See also”View source — packages/core/src/lib/element/types.ts:29
PibblTextInput
Section titled “PibblTextInput”Literal or signal-supplied text content for the Text primitive.
type PibblTextInput = | SignalValue<PibblTextChild> | readonly PibblTextInput[] | Iterable<PibblTextInput>Related API: PibblTextInput, SignalValue, PibblTextChild.
See also
Section titled “See also”View source — packages/core/src/lib/element/types.ts:89
PibblRenderResult
Section titled “PibblRenderResult”The supported synchronous return value of a Pibbl component.
type PibblRenderResult = PibblNodeInput | voidRelated API: PibblRenderResult, PibblNodeInput.
See also
Section titled “See also”View source — packages/core/src/lib/element/types.ts:105
Implementation guidance for agents
Section titled “Implementation guidance for agents”Read the Authoring, signals, and lifecycle companion for ownership, adaptation, failure modes, and verification. Agent start provides the version-selection workflow.
Complete minimal examples
Section titled “Complete minimal examples”- Absolute and overlay layout: Position a block absolutely and center content within an overlay. Plain source
- Circular path factories: Create circle, ellipse, arc, and wedge Path2D shapes. Plain source
- Rounded and circular marks: Draw a circle, ellipse, rounded rectangle, arc, and wedge with typed props and styles. Plain source
- Drawing composition: Group, cache, and clip a drawing, then add text and an embedded thumbnail. Plain source
- Focus and arrow navigation: Two logical targets participate in Tab focus and directional keyboard navigation. Plain source
- Lines and authored paths: Combine polyline, axis-aligned strokes, mutable geometry, and SVG path data. Plain source
- Line and SVG paths: Construct a polyline and an SVG path from authored coordinates. Plain source
- Typed components and recursive children: Build a component with createElement, group its children in a Fragment, and render textual children. Plain source
- Physics drawing components: Draw four physics shapes and move a custom kinematic collider. Plain source
- Define a Canvas primitive: Supply synchronous drawing, style normalization, resolution, and opt-in measurement. Plain source
- Polygon path factories: Create rounded rectangles and polygons alongside regular and star shapes. Plain source
- Polygon marks: Draw a rounded triangle, regular hexagon, and five-point star. Plain source
Documentation version
Section titled “Documentation version”Documentation built with @pibbl/core 0.0.2, revision 380919b. ALPHA — NOT FOR PRODUCTION USE.