The Lucide x line top icon depicts a horizontal line with a vertical line crossing it at the top, commonly used to represent actions like closing, deleting, or indicating a mathematical variable.
Common uses
- Close modal or dialog
- Delete item
- Indicate a variable (e.g., x̄)
Use it in React
Install
npm i lucide-reactImport & render
import { XLineTop } from 'lucide-react';
<XLineTop size={24} />Details
- Library
- Lucide (1,713 icons)
- License
- ISC
- viewBox
0 0 24 24- Keywords
- linetoparrownavigationuppointerdirectionvectorsymbolcancelclosedeleteremovetimesclearmath
FAQ
- What is the primary use of the x-line-top icon?
- It's often used for closing elements like modals or for delete actions. It can also represent the mathematical concept of 'x-bar'.
- How do I use the x-line-top icon in React?
- You can import it directly from the 'lucide-react' library using: import { XLineTop } from 'lucide-react'
- What is the license for this icon?
- The Lucide icon library, including the x-line-top icon, is available under the ISC license.
Related icons
The same idea in other libraries, and near matches in Lucide.
Looking for something else? Search Lucide and 4 more libraries by description →
The search behind these pages runs as a Claude Code skill. What skills are and how I ship them →