add InputGroup component

This commit is contained in:
Elijah Duffy
2025-07-03 14:48:26 -07:00
parent 02311a0e7b
commit 0bba927acb
3 changed files with 18 additions and 2 deletions

View File

@@ -4,6 +4,7 @@
import Combobox from '$lib/Combobox.svelte';
import Dateinput from '$lib/Dateinput.svelte';
import FramelessButton from '$lib/FramelessButton.svelte';
import InputGroup from '$lib/InputGroup.svelte';
import Link from '$lib/Link.svelte';
import PhoneInput from '$lib/PhoneInput.svelte';
import PinInput from '$lib/PinInput.svelte';
@@ -117,8 +118,10 @@
<div class="component">
<p class="title">Styled Raw Input, Text Input</p>
<StyledRawInput placeholder="Type here..." />
<TextInput label="Write something here" placeholder="Enter text..." />
<InputGroup>
<StyledRawInput placeholder="Type here..." class="basis-1/2" />
<TextInput label="Write something here" placeholder="Enter text..." class="basis-1/2" />
</InputGroup>
</div>
<div class="component">