Account Logout Solid Icon for React
<CIcon icon={cisAccountLogout} />About
The account logout solid icon is essential for user authentication and session management in React applications. Use this icon to indicate logout functionality, session termination, or sign-out actions. Perfect for admin panels, user dashboards, and any application requiring secure authentication flows built with React.
The solid style provides clear visual communication while maintaining professional appearance across all screen sizes, making it ideal for both desktop and mobile React applications. This icon integrates seamlessly with CoreUI’s React component library.
Common Use Cases
Logout Button
Add logout functionality to navigation bars in your React application
Session Timeout Indicator
Show when user session expires in React dashboards
Account Switcher
Enable account switching or sign-out in multi-user React apps
Best Practices
- Place logout icon in consistent location across your app for better UX
- Confirm logout action with dialog to prevent accidental sign-outs
- Provide clear aria-label like 'Sign out' for accessibility
Installation
To start using CoreUI React Icons in your project, you need to install it as a dependency. Follow the instructions below based on your package manager of choice:
Using npm
npm install @coreui/icons-pro @coreui/icons-reactUsing yarn
yarn add @coreui/icons-pro @coreui/icons-reactUsage
Once you have the package installed, you can import and use the icons in your React project. Here's a basic example:
import { CIcon } from '@coreui/icons-react';
import { cisAccountLogout } from '@coreui/icons-pro';
<CIcon icon={cisAccountLogout} />Read the full CoreUI React Icon component documentation to see the complete API and integration guide.