Used to provide a standard close button, allowing users to dismiss or remove elements such as modals, notifications, or other overlays.
Usage
Import
import { Close } from '@passfort/castle'content_copyCopy
Sizes
Use the size
prop to adjust the size of the Close button. Available sizes are sm
, default md
, and lg
.
content_copyCopy
live example