# LSK – Tag > React component Tag and TagGroup [![LSK logo](https://badgen.net/badge/icon/MADE%20BY%20LSK?icon=zeit&label&color=red&labelColor=red)](https://github.com/lskjs) [![NPM version](https://badgen.net/npm/v/@lskjs/tag)](https://www.npmjs.com/package/@lskjs/tag) [![Package size](https://badgen.net/bundlephobia/minzip/@lskjs/tag)](https://bundlephobia.com/result?p=@lskjs/tag) [![License LSK](https://badgen.net/npm/license/@lskjs/tag)](https://github.com/lskjs/lskjs/blob/master/LICENSE) [![Chat on Telegram](https://img.shields.io/badge/Chat%20on-Telegram-brightblue.svg)](https://t.me/lskjs) ## about ![](/blog/images/tag.png) ## Installation and usage The easiest way to use is to install it from npm and build it into your app with Webpack. ```bash npm install @lskjs/tag ``` Then use it in your app: ```jsx import Tag from '@lskjs/tag'; const App = ( Primary button ); ``` _For more examples and usage, please refer_ - [Tutorial](https://github.com/lskjs/ux/blob/master/blog/tutorial.md#2-%D0%BA%D0%B0%D0%BA-%D0%B4%D0%BE%D0%B1%D0%B0%D0%B2%D0%B8%D1%82%D1%8C-%D0%BA%D0%BD%D0%BE%D0%BF%D0%BA%D1%83-lskjsbutton-%D0%BD%D0%B0-cra-%D0%BB%D0%B5%D0%BD%D0%B4%D0%B8%D0%BD%D0%B3) - [Storybook](https://lskjs.github.io/ux/?path=/story/tag) ## Examples ```jsx import Tag from '@lskjs/Tag/Tag'; import TagGroup from '@lskjs/Tag/TagGroup'; )) .add('', () => ( export default () => ( <> Primary Tag Secondary Tag Large Tag Block Tag Active Tag Disabled Tag } /> ({ value, title: value }))} values={[1, 2]} nullValue="Не выбраны теги" closable onClose={item => console.log('onClose', item)} onClick={item => console.log('onClick', item)} /> ) ``` See the [more examples](https://lskjs.github.io/ux/?path=/story/tag) in Storybook. # More info ## Links - [Docs](https://lskjs.github.io/ux/styleguide/tag) - [Storybook](https://lskjs.github.io/ux/?path=/story/tag) - [Changelog](./CHANGELOG.md) - Please read [CONTRIBUTING.md](https://gist.github.com/PurpleBooth/b24679402957c63ec426) for details on our code of conduct, and the process for submitting pull requests to us. ## Contact - [Email](mailto:hi@isuvorov.com) - [Telegram chat](https://t.me/lskjs) ## Contributors ✨

Igor Suvorov

💻 🎨 🤔
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)): ## License This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details ## Inspired by - https://ant.design/components/tag/ ## Contributing 1. Fork it () 2. Create your feature branch (`git checkout -b feature/fooBar`) 3. Commit your changes (`git commit -am 'Add some fooBar'`) 4. Push to the branch (`git push origin feature/fooBar`) 5. Create a new Pull Request