mockups
Tailwind CSS Code
Code mockup is used to show a block of code in a box that looks like a code editor.
The mockup-code
class is tailored to enhance the presentation of your code with a stylish layout. Use data-prefix
to incorporate additional prefixes before text, such as $
, >
, or numeric indicators.
npm i -D flyonui@latest
Code spanning multiple lines.
npm i -D flyonui@latest
installing...
Done!
Code example that highlights syntax.
npm i -D flyonui@latest
installing...
Warning!
Example of a scrollable code container.
Magnam dolore beatae necessitatibus nemopsum itaque sit. Et porro quae qui et et dolore ratione.
Example of code without a prefix.
without prefix
You can modify both the background and text colors.
can be any color!