Syed Hasnain

Reasoning Effort

AI chats 11

About

A compact dropdown for choosing how much reasoning power a response should use.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Reasoning Effort to your project and fits it to your theme.

Code

How Reasoning Effort is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { useEffect, useState } from 'react'
import ReasoningEffort from '@/components/ui/reasoning-effort'

export default function Demo() {
  const [value, setValue] = useState(1)

  return <ReasoningEffort onChange={setValue} value={value} />
}

Dependencies

More by Syed Hasnain

View all
  • Color Picker

    Color Picker

    91
  • Cost Meter

    Cost Meter

    31
  • Message Scroller

    Message Scroller

    26
  • Quota Banner

    Quota Banner

    21
  • Background Inbox

    Background Inbox

    20
  • Commit

    Commit

    18
  • Image Generation Loader

    Image Generation Loader

    17
  • Attachments

    Attachments

    17

More in AI chats

View all
  • AI Actions

    AI Actions

    321
  • Message Thread

    Message Thread

    40
  • Agent Chat

    Agent Chat

    17
  • AI Task List

    AI Task List

    161
  • Code Block

    Code Block

    11
  • System Message

    System Message

    56
  • Chat Bubble

    Chat Bubble

    185
  • Inline Citation

    Inline Citation

    7

Explore more

Part of Pasta UI — browse the full library on 21st.dev.