UNPKG

@gfazioli/mantine-picker

Version:

Picker component is a wrapper for any component that can be flipped. It is used to create cards, flip boxes and more.

64 lines (42 loc) • 2.4 kB
# Mantine Picker Component https://github.com/user-attachments/assets/520e4838-9f2f-4714-9de2-8067c7630d1d --- <div align="center"> [![NPM version](https://img.shields.io/npm/v/%40gfazioli%2Fmantine-picker?style=for-the-badge)](https://www.npmjs.com/package/@gfazioli/mantine-picker) [![NPM Downloads](https://img.shields.io/npm/dm/%40gfazioli%2Fmantine-picker?style=for-the-badge)](https://www.npmjs.com/package/@gfazioli/mantine-picker) [![NPM Downloads](https://img.shields.io/npm/dy/%40gfazioli%2Fmantine-picker?style=for-the-badge&label=%20&color=f90)](https://www.npmjs.com/package/@gfazioli/mantine-picker) ![NPM License](https://img.shields.io/npm/l/%40gfazioli%2Fmantine-picker?style=for-the-badge) </div> ## Overview This component is created on top of the [Mantine](https://mantine.dev/) library. [![Mantine UI Library](https://img.shields.io/badge/-MANTINE_UI_LIBRARY-blue?style=for-the-badge&labelColor=black&logo=mantine )](https://mantine.dev/) It provides the capability to generate a dynamic picker effect, enabling the display of a wide variety of content in a visually engaging manner. This effect can enhance the overall user experience by drawing attention to important information, announcements, or promotions, allowing for a more interactive and captivating presentation. [![Mantine Extensions](https://img.shields.io/badge/-Watch_the_Video-blue?style=for-the-badge&labelColor=black&logo=youtube )](https://www.youtube.com/playlist?list=PL85tTROKkZrWyqCcmNCdWajpx05-cTal4) [![Demo and Documentation](https://img.shields.io/badge/-Demo_%26_Documentation-blue?style=for-the-badge&labelColor=black&logo=typescript )](https://gfazioli.github.io/mantine-picker/) [![Mantine Extensions HUB](https://img.shields.io/badge/-Mantine_Extensions_Hub-blue?style=for-the-badge&labelColor=blue )](https://mantine-extensions.vercel.app/) šŸ‘‰ You can find more components on the [Mantine Extensions Hub](https://mantine-extensions.vercel.app/) library. ## Installation ```sh npm install @gfazioli/mantine-picker ``` or ```sh yarn add @gfazioli/mantine-picker ``` After installation import package styles at the root of your application: ```tsx import '@gfazioli/mantine-picker/styles.css'; ``` ## Usage ```tsx import { Picker } from '@gfazioli/mantine-picker'; function Demo() { return ( <Picker data={['React', 'Angular', 'Vue', 'Svelte']} /> ); } ```