This project was created as part of the front-end internship assignment. It includes two custom-built React components: an InputField and a DataTable, documented with Storybook.
You can view and interact with the live components here:
➡️ Live Storybook Preview Link
I built both components from scratch using React, TypeScript, and Tailwind CSS as required.
- InputField: I focused on creating a flexible component by managing its different states (disabled, invalid, loading), variants, and sizes through props and conditional styling.
- DataTable: I used React hooks like
useStateanduseMemoto efficiently handle client-side sorting and row selection, ensuring the component is performant.
- Clone the repository:
git clone https://YOUR_GITHUB_REPO_LINK_HERE.git
- Navigate to the project directory:
cd react-ui-assignment - Install dependencies:
npm install
- Run the Storybook:
This will open the component library at
npm run storybook
http://localhost:6006.