Menu

Let your coding agent start from a real component instead of writing one from scratch
📰

Let your coding agent start from a real component instead of writing one from scratch

DEV Community: react·Behavio·3 days ago
#ePWgVlZj
#devtoreact#devto#dev#picker#search
Reading 0:00
15s threshold

Ask Claude Code, Codex or Cursor for "a hotel date picker with a price under each night" and you will get a calendar written from zero. It renders. It usually misses the details a mature component already handles: check-out on a night that is booked by the next guest, a minimum stay, the total under the selected range, keyboard navigation.

We built Clay UI so the agent looks in established component libraries first, then adapts real code to your project.

Demo videos and the site: https://clayui.behavio.one

What the agent does with it

Install the skill in a project:

npx @behavio1/clayui init

Enter fullscreen mode

Exit fullscreen mode

Then ask in plain words, in any language. The skill tells the agent to translate the request into a concrete English search and run the CLI:

clayui search "date range picker booking nightly price" --available-only --json

Enter fullscreen mode

Exit fullscreen mode

For that request the top three results are:

kokonut/stay-picker A date range picker for booking stays.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.