A
Anonymous

Tax Rate Setting Form - Copy this React, Tailwind Component to your project

***Create a tax rate setting form ***Style: Rounded border with no shadow. ***Components/parts Title: tax rate setting Current tax rate (percentage 0 % to 100 %, number), increase/decrease button with step = 0.5. Allow user edit value. 0< tax rate, tax rate < 100. Not allow click while state submitting = True Button submit. Not allow click while state submitting = True ***useState: submitting(true/false): While waiting submit change tax rate, set this state to true. useEffect (first time): Load current tax rate and set it to taxRate state. taxRate ***Animation/Loading: use spin while submitting ***Message: Load current tax rate failed Update tax rate failed Update tax ratge success

Prompt
Component Preview

About

TaxRateSettingForm - Create and edit tax rates (0-100%) with buttons for adjustments, loading animations, and error messages. Built wi. Get instant access!

Share

Last updated 1 month ago