Field

A wrapper that pairs labels, descriptions, and validation around controls.

The Field Component

Use a clear internal title so reviewers can find the right brief.

Visible across the workspace.

Basic Usage

Code Snippet

<script lang="ts">		import { Field, Input } from '$lib/components'; 		let value = $state('');	</script> 	<Field label="Project name" name="project-name" helper="Visible across your workspace.">		<Input bind:value={value} placeholder="Spring launch" />	</Field>

Examples

Horizontal Layout

Switch to a horizontal field for compact preference rows.

Turn this on to push the release live after approval.