Dev Design Library

Question

A composable prompt for collecting choices, freeform text, or both from a user.

Question preview
Library
AI Elements
Framework
React
Type
component
License
Apache-2.0
Install
npx ai-elements@latest add question
Files
  • packages/elements/src/question.tsx
  • packages/shadcn-ui/components/ui/button.tsx
  • packages/shadcn-ui/components/ui/textarea.tsx
  • packages/shadcn-ui/lib/utils.ts
Source
https://github.com/vercel/ai-elements

Categories

More from AI Elements