import { html, css, cssManager } from '@design.estate/dees-element'; export const demoFunc = () => html`

Basic Label

A simple text label with no additional indicators.

label="Username"
label="Email Address"

Required Indicator

When required is set, a red asterisk appears after the label text.

required=${'{true}'}
required=${'{false}'} (default)

Description (Info Icon)

When description is set, an info icon appears next to the label. Hover over it to see the tooltip.

description="..."
short description

Required + Description

Both indicators can be combined. The asterisk appears first, then the info icon.

required + description
required + description

Empty Label

When label is empty or not set, nothing is rendered. The element below has no label text:

label="" (empty)
`;