v2.0.0
$
USD

Styled quick start

Copy this entrypoint first. It includes the imports required to get the component on screen.

svelte
<script lang="ts">
  import '@dryui/ui/themes/default.css';
  import '@dryui/ui/themes/dark.css';
  import { InputGroup } from '@dryui/ui';
</script>

<InputGroup.Root>
  <InputGroup.Prefix>...</InputGroup.Prefix>
  <InputGroup.Input>...</InputGroup.Input>
  <InputGroup.Suffix>...</InputGroup.Suffix>
  <InputGroup.Separator>...</InputGroup.Separator>
  <InputGroup.Action>...</InputGroup.Action>
  <InputGroup.Select>...</InputGroup.Select>
</InputGroup.Root>

Import options

Root package

ts
import { InputGroup } from '@dryui/ui'

Per-component subpath

ts
import { InputGroup } from '@dryui/ui/input-group'

API

Props, CSS variables, and the public data attributes you can target when styling.

Prop Type Description Default Required Bindable

InputGroup.Root

InputGroup.Prefix

InputGroup.Input

value
string
Current controlled or bindable value. ''

InputGroup.Suffix

InputGroup.Separator

InputGroup.Action

InputGroup.Select

value
string
Current controlled or bindable value. ''
children
Snippet
Content rendered inside the component.