mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 02:41:05 +00:00
19 lines
No EOL
426 B
Text
19 lines
No EOL
426 B
Text
<script>
|
|
import { FluidForm, FormGroup, TextInput, PasswordInput, Button,} from "carbon-components-svelte";
|
|
import Preview from "../../components/Preview.svelte";
|
|
</script>
|
|
|
|
### Fluid form
|
|
|
|
<FluidForm>
|
|
<TextInput
|
|
labelText="User name"
|
|
placeholder="Enter user name..."
|
|
required />
|
|
<PasswordInput
|
|
required
|
|
type="password"
|
|
labelText="Password"
|
|
placeholder="Enter password..."
|
|
/>
|
|
</FluidForm> |