Alert messages with custom styles.
TntAlert
is just a wrapper around Nuxt UI's UAlert
and accepts all of the same props.
<TntAlert
title="Title"
description="This is an alert."
variant="subtle"
/>
As well as this, TntAlert
defines some custom properties for quickly and easily creating some commonly used alert types.
<TntAlert title="Work Saved" success />
<TntAlert title="Coming Soon" info />
<TntAlert title="Oops!" warning />
<TntAlert title="Action Denied" error />
<TntAlert title="Bigger Text and Icon" info large />
Copyright © All rights reserved
Hero Patterns by Steve Schoger (CC By 4.0)