Input
This source is documented by the existing examples linked below.
src/components/ui/input.tsxUsage contract
- Use Input for native text/search fields. Always connect a visible label; errors use aria-invalid and aria-describedby.
Examples
- input
<label for="search">Search work</label> <Input id="search" type="search" size="md" />
API
Extracted from the source with the TypeScript parser. Inherited and imported types remain references; implementation is authoritative.
Input({className,size,...props}:Omit<React.ComponentProps<'input'>,'size'>&VariantProps<typeof inputVariants>)inputVariants (see source initializer)Source usage
Website reference
This is static source evidence. A reachable module may contain conditional or unused branches. External consumers and staged static pages are outside this scan. No status authorizes deletion.
Website
- src/pages/en/work/index.astro
- src/components/site/work/WorkCityPage.astro
- src/components/ui/input.tsx
Documentation
- src/pages/design-system/storybook-themes.astro
- src/components/ui/input.tsx
Preview
- src/pages/en/vorschlag/work-case-cards.astro
- src/components/site/work/WorkCityPage.astro
- src/components/ui/input.tsx
Consumers in source
Direct static, dynamic and type imports. Imports do not prove that a branch renders or that a proposal is published.
src/components/ds/control-recipes.ts:3import- src/components/ds/PrimitiveDemos.astro:5 import
- src/components/ds/TcgPreview.tsx:8 import
- src/components/ds/WorkbenchTools.astro:3 import
- src/components/site/work/WorkCityPage.astro:14 import
src/pages/design-system/storybook-themes.astro:6import
Dependencies
reactclass-variance-authority@/lib/utils·src/lib/utils.ts