<.select
name="with_inner_prefix"
label="Inner Prefix"
placeholder="Search streaming services..."
options={[
{"Netflix", "netflix"},
{"Disney+", "disney"},
{"HBO Max", "hbo"}
]}
>
<:inner_prefix>
<.icon name="hero-magnifying-glass" class="icon" />
</:inner_prefix>
</.select>
<.select
name="with_outer_prefix"
label="Outer Prefix (Text)"
placeholder="Search streaming services..."
options={[
{"Netflix", "netflix"},
{"Disney+", "disney"},
{"HBO Max", "hbo"}
]}
>
<:outer_prefix class="px-2 font-semibold text-foreground bg-accent/50">
Service
</:outer_prefix>
</.select>
<.select
name="with_inner_suffix"
label="Inner Suffix"
placeholder="Choose streaming service..."
options={[
{"Netflix", "netflix"},
{"Disney+", "disney"},
{"HBO Max", "hbo"}
]}
>
<:inner_suffix>
<.icon name="hero-tv" class="icon" />
</:inner_suffix>
</.select>
<.select
name="with_outer_suffix"
label="Outer Suffix (Button)"
placeholder="Choose streaming service..."
options={[
{"Netflix", "netflix"},
{"Disney+", "disney"},
{"HBO Max", "hbo"}
]}
>
<:outer_suffix>
<.button>
<.icon name="hero-plus" class="icon" /> Add
</.button>
</:outer_suffix>
</.select>
<.select
name="with_both_inner_affixes"
label="Both Inner Affixes"
placeholder="Search movie platforms..."
options={[
{"Netflix", "netflix"},
{"Disney+", "disney"},
{"HBO Max", "hbo"}
]}
>
<:inner_prefix>
<.icon name="hero-magnifying-glass" class="icon" />
</:inner_prefix>
<:inner_suffix>
<.icon name="hero-play" class="icon" />
</:inner_suffix>
</.select>