diff --git a/packages/documentation/src/stories/components/forms/input/input.docs.mdx b/packages/documentation/src/stories/components/forms/input/input.docs.mdx index c6f6eff844..179360edc8 100644 --- a/packages/documentation/src/stories/components/forms/input/input.docs.mdx +++ b/packages/documentation/src/stories/components/forms/input/input.docs.mdx @@ -13,7 +13,7 @@ import StylesPackageImport from '@/shared/styles-package-import.mdx';
- Customize the native `` with CSS that changes the element’s initial appearance. + Customize the native `input` with CSS that changes the element’s initial appearance.
Custom input elements need only the class `.form-control` to trigger the custom styles. @@ -25,43 +25,18 @@ Custom input elements need only the class `.form-control` to trigger the custom -## Concrete Examples of Application +## Examples -The following examples show the different characteristics of the component. These can differ in the type of visualization, the HTML structure, as well as when, how and why they are displayed. +### Standard Label Positioning -### Floating Label +If you prefer to use standard label positioning instead of floating labels, there is no need to wrap the `input` and `label` elements in a `.form-floating` container. +This will keep the label in its standard position above the input field. -Wrap a pair of `` and `