Form

A complete form implementation with validation and submission handling.

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 { Form } from "coss-svelte";

Anatomy

Form exposes a single component export for the current implementation.

API Reference

Form

A complete form implementation with validation and submission handling.

children : Snippet<[]>

Inherits from Svelte <form> attributes.

Implementation Details

Status
Stable
Foundation
native
Category
Forms & Validation
Particles
2