Dev Design Library

Suggestion

A suggestion component that displays a horizontal row of clickable suggestions for user interaction.

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

Categories

More from AI Elements