textarea
bejamas-ui/textareaFreeComponent
bejamas/ui publishes no description for this item.
Live preview
live · rendered by the registry
Rendered by bejamas/ui on their own page — this is the component running, not a screenshot of it.Install it
npx shadcn@latest add https://ui.bejamas.com/r/textarea.jsonSource
1---2// Generated from bejamas-juno style registry. Do not edit packages/ui/src/components/textarea/Textarea.astro directly.3/**4 * @component Textarea5 * @title Textarea6 * @description A multi-line input field for longer user content.7 * @figmaUrl https://www.figma.com/design/koxai7zw5vIuBzuVxe5T2l/bejamas-ui?node-id=2508-2555&t=YFStJ3V8fXEO8QD8-48 * @status stable9 * @since 0.1.010 *11 * @preview12 *13 * <Textarea placeholder="Type your message here..." />14 *15 * @usage16 *17 * ```astro nocollapse18 * ---19 * import { Textarea } from '@bejamas/ui/components/textarea';20 * ---21 *22 * <Textarea placeholder="Type your message here..." />23 * ```24 */2526const { class: className = "", ...props } = Astro.props;2728const baseClass =29 "flex field-sizing-content min-h-16 w-full outline-none disabled:cursor-not-allowed disabled:opacity-50";3031import { cn } from "@/lib/utils";32---3334<textarea35 data-slot={props["data-slot"] ?? "textarea"}36 class={cn("border-input dark:bg-input/30 focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 rounded-md border bg-transparent px-2.5 py-2 text-base shadow-xs transition-[color,box-shadow] focus-visible:ring-3 aria-invalid:ring-3 md:text-sm px-3", baseClass, className)}37 {...props}></textarea>
Files it writes
More from bejamas/ui
All 41 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| accordionaccordion | bejamas/ui | Components | Free | 1 dep · 5 files | |
| alertalert | bejamas/ui | Components | Free | no deps · 4 files | |
| avataravatar | bejamas/ui | Components | Free | no deps · 7 files | |
| badgebadge | bejamas/ui | Components | Free | no deps · 2 files | |
| breadcrumbbreadcrumb | bejamas/ui | Components | Free | no deps · 5 files | |
| buttonbutton | bejamas/ui | Components | Free | no deps · 2 files | |
| button-groupbutton-group | bejamas/ui | Components | Free | no deps · 4 files | |
| cardcard | bejamas/ui | Components | Free | no deps · 10 files |
