Prerequisites
Before you start, ensure you have the following:
Install the Required Dependencies in your project:
- lucid react for icons
- framer motion
npm motion/react lucid-reactCreate a new Project on Unsplash and obtain your API keys. For reference, check Unsplash Documentation. Watch the video tutorial below:
Get Your API keys Access Key from Unsplash.
NEXT_PUBLIC_UNSPLASH_ACCESS_KEY=REPLACE_WITH_YOUR_ACCESS_KEYYou're almost done, just a few steps left.
Installation
After the installation of Framer Motion.
Copy and Past the component ImageSearch.tsx Code from the Preview Examples.
Done!
props
| Prop name | Type | Default | Description |
|---|---|---|---|
| type | 'visible' | 'invisible' | 'visible' | Determines the initial visibility of the search bar. |
Here are Few other ui Examples
Credits
| Name | Credit For | Link |
|---|---|---|
| Yakkshit | Component Developer | yakkshit |
| Cedz Labs | Video Tutorial | Cedz Labs |
| Magic ui | Marquee | Magic ui |