Frame

A container component for displaying content in a frame.

Installation

Install the component package, shared coss-svelte theme, and Bits UI peer.

npm install coss-svelte @coss-svelte/theme bits-ui

Usage

Import the Svelte component exports directly from the package.

import { Frame, FrameDescription, FrameFooter, FrameHeader, FramePanel, FrameTitle } from "coss-svelte";

Anatomy

  • Frame
  • FrameDescription
  • FrameFooter
  • FrameHeader
  • FramePanel
  • FrameTitle

API Reference

Frame

A container component for displaying content in a frame.

children : Snippet<[]>

Inherits from Svelte component attributes.

FrameDescription

Provides supporting copy for the parent component.

children : Snippet<[]>

Inherits from Svelte component attributes.

FrameFooter

Groups footer content and actions for the parent component.

children : Snippet<[]>

Inherits from Svelte component attributes.

FrameHeader

Groups heading content for the parent component.

children : Snippet<[]>

Inherits from Svelte component attributes.

FramePanel

Renders the main panel surface for the parent component.

children : Snippet<[]>

Inherits from Svelte component attributes.

FrameTitle

Names the parent surface or section.

children : Snippet<[]>

Inherits from Svelte component attributes.

Implementation Details

Status
Stable
Foundation
native
Category
Content & Display
Particles
4