Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

Calendar from HTML on React Code


I know that Metronic doesnt have inbuilt calendar theme in React. How to use the theme from HTML on React code?

Currently my code looks like this.

const CalendarPage = () => {
// Define your docket details or fetch them from an API

return (
<div>
<div className="header">
<Sidebar className="sidebar" />
<Header />
<div className="additional-components">
<SearchBox placeholder="Search" />
<DropdownMenu />
</div>

</div>
<div className="main">
{/* Placeholder for the main content */}
<EventCalendar />

</div>

</div>
);
};

export default CalendarPage;


I want to add the calendar theme on EventCalendar Component in react. Can you please help with syntax.


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (1)


Hi,

Thank you for reaching out to us.

In our HTML version, we are using Fullcalendar plugin for the calendar app.
You can find code examples and demos in our documentation.
https://preview.keenthemes.com/html/metronic/docs/general/fullcalendar/basic

Fullcalendar has a separate React implementation. To start using Fullcalendar React component right away, check the official guide.

Please let us know if you have any further questions on this topic or anything else.

Regards,
Lauris Stepanovs,
Keenthemes Support Team


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(