Atom Lab logo

Alert

React Native alert component built with Tailwind CSS

Usage

CLI Installation

npx elements-cli@latest add alert

Please note the CLI is still an early stage project so you may encounter the odd bug - we recommend committing or stashing any changes before using it so you can easily revert if there are any snags. If you do encounter an problem, please raise an issue on Github and we'll take a look.

The CLI will install any external dependencies required by the component using the Expo CLI if it's in Expo project, or your package manager if it's a standard React Native Project.

It will also create a config file in the root of your project (if you don't have one already) with your desired component folder - any other elements components you install will then be created in that folder.

Variants

Custom Layout

Default

Error

Success

Warning

Copyright 2024 - Atom Lab | Privacy Policy | Terms and Conditions