-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1e116fc
commit dd10736
Showing
8 changed files
with
98 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<markdown> | ||
# Shine effect | ||
|
||
The button have a shining effect. | ||
</markdown> | ||
|
||
<template> | ||
<div> | ||
<n-button type="primary" size="large" shine> | ||
Did I get your attention? | ||
</n-button> | ||
<p> | ||
This effect is essential for | ||
<n-text code> | ||
CTA | ||
</n-text> (call-to-action) elements that aim to drive | ||
user engagement. | ||
</p> | ||
<n-h4>More examples</n-h4> | ||
<n-space> | ||
<n-button type="success" shine block> | ||
Success | ||
</n-button> | ||
<n-button type="info" shine block> | ||
Info | ||
</n-button> | ||
<n-button type="warning" block shine> | ||
Warning | ||
</n-button> | ||
<n-button type="error" block shine> | ||
Error | ||
</n-button> | ||
</n-space> | ||
</div> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters