<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Jonathan Irhodia</title>
    <description>The latest articles on Forem by Jonathan Irhodia (@elcharitas).</description>
    <link>https://forem.com/elcharitas</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F509155%2F8ac4f3e2-a428-4949-bdf1-fce3f9382cd3.jpeg</url>
      <title>Forem: Jonathan Irhodia</title>
      <link>https://forem.com/elcharitas</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/elcharitas"/>
    <language>en</language>
    <item>
      <title>Announcing Chakra UI Svelte</title>
      <dc:creator>Jonathan Irhodia</dc:creator>
      <pubDate>Sat, 07 May 2022 10:28:40 +0000</pubDate>
      <link>https://forem.com/elcharitas/announcing-chakra-ui-svelte-23dl</link>
      <guid>https://forem.com/elcharitas/announcing-chakra-ui-svelte-23dl</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;I'm so excited to share what I spent the better part of April building - Chakra UI implementation in svelte. This is an implementation of the popular &lt;a href="https://chakra-ui.com" rel="noopener noreferrer"&gt;Chakra UI&lt;/a&gt; just as we have for &lt;a href="https://vue.chakra-ui.com" rel="noopener noreferrer"&gt;Vue&lt;/a&gt;. I'm currently working on proper documentation for it. However, the package follows the Chakra UI React style guide.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Chakra UI?
&lt;/h2&gt;

&lt;p&gt;Chakra UI is a simple, modular and accessible component library that gives you the building blocks you need to build your React applications. I fell in love with Chakra UI last year when I first tried the framework. Being more of a svelte lover, I was looking for &lt;a href="https://github.com/chakra-ui/chakra-ui/issues/819" rel="noopener noreferrer"&gt;implementation in svelte&lt;/a&gt; but didn't find any. So, I set out to create it.&lt;/p&gt;

&lt;p&gt;It took me a whole month of testing components and checking style practices. I was also looking into &lt;a href="https://github.com/chakra-ui/chakra-ui" rel="noopener noreferrer"&gt;Chakra UI React source&lt;/a&gt;. I wanted the implementation to be so closely related to React. And at the moment, I've completed about 13 components.&lt;/p&gt;

&lt;h2&gt;
  
  
  Release Info
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Current Stable Prerelease Version: 0.0.2-next.2&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/elcharitas/chakra-ui-svelte" rel="noopener noreferrer"&gt;Github&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.npmjs.com/package/chakra-ui-svelte" rel="noopener noreferrer"&gt;NPM&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://chakra-svelte.vercel.app" rel="noopener noreferrer"&gt;Demo Website&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Getting Started
&lt;/h2&gt;

&lt;p&gt;To get started, simply install the package with&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pnpm i chakra-ui-svelte
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You may optionally install the svelte-icons package. It's the only icon package I've tested so far with chakra-ui-svelte. It's fairly stable and I have the plan of fully supporting it later on.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pnpm i svelte-icons
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Sample Application
&lt;/h3&gt;

&lt;p&gt;Let's try building a sample app, shall we?&lt;br&gt;
First, we need to import the ChakraProvider component which handles themes and other global configurations.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import { ChakraProvider } from 'chakra-ui-svelte';
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now we can go on ahead and use the provider to handle some of the stores which chakra-ui-svelte provides by default. and import other packages&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;script&amp;gt;&lt;/span&gt;
  &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;Box&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;Button&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;ChakraProvider&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;chakra-ui-svelte&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;

&lt;span class="nt"&gt;&amp;lt;ChakraProvider&amp;gt;&lt;/span&gt;
   &lt;span class="nt"&gt;&amp;lt;Box&amp;gt;&lt;/span&gt;Hello Box&lt;span class="nt"&gt;&amp;lt;/Box&amp;gt;&lt;/span&gt;
   &lt;span class="nt"&gt;&amp;lt;Button&amp;gt;&lt;/span&gt; Hello Button &lt;span class="nt"&gt;&amp;lt;/Button&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/ChakraProvider&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Styling Components
&lt;/h3&gt;

&lt;p&gt;We can also customize our components just like we do  in Chakra Ui React.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;script&amp;gt;&lt;/span&gt;
  &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;Button&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;Icon&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;chakra-ui-svelte&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nx"&gt;FaGithub&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;svelte-icons/fa/FaGithub.svelte&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;Button&lt;/span&gt;
    &lt;span class="na"&gt;as=&lt;/span&gt;&lt;span class="s"&gt;"a"&lt;/span&gt;
    &lt;span class="na"&gt;p=&lt;/span&gt;&lt;span class="s"&gt;"0"&lt;/span&gt;
    &lt;span class="na"&gt;mx=&lt;/span&gt;&lt;span class="s"&gt;"3"&lt;/span&gt;
    &lt;span class="na"&gt;size=&lt;/span&gt;&lt;span class="s"&gt;"xs"&lt;/span&gt;
    &lt;span class="na"&gt;bg=&lt;/span&gt;&lt;span class="s"&gt;"transparent"&lt;/span&gt;
    &lt;span class="na"&gt;href=&lt;/span&gt;&lt;span class="s"&gt;{"https://github.com/elcharitas/chakra-ui-svelte"}&lt;/span&gt;
    &lt;span class="na"&gt;target=&lt;/span&gt;&lt;span class="s"&gt;"_blank"&lt;/span&gt;
    &lt;span class="na"&gt;rel=&lt;/span&gt;&lt;span class="s"&gt;"noreferrer"&lt;/span&gt;
    &lt;span class="na"&gt;ariaLabel=&lt;/span&gt;&lt;span class="s"&gt;"Chakra UI on Github"&lt;/span&gt;
    &lt;span class="na"&gt;variant=&lt;/span&gt;&lt;span class="s"&gt;"ghost"&lt;/span&gt;
&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;Icon&lt;/span&gt; &lt;span class="na"&gt;as=&lt;/span&gt;&lt;span class="s"&gt;{FaGithub}&lt;/span&gt; &lt;span class="nt"&gt;/&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/Button&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Final  Thoughts?
&lt;/h2&gt;

&lt;p&gt;Sadly, there isn't any proper documentation at the time of this writing. However, a demo is available &lt;a href="https://chakra-svelte.vercel.app" rel="noopener noreferrer"&gt;here&lt;/a&gt;. I'd be updating the page with documentation in the coming week.&lt;br&gt;
Please leave feedback and feel free to contribute to the package.&lt;/p&gt;

&lt;p&gt;This post first appeared &lt;a href="https://elcharitas.wtf/blog/announcing-chakra-ui-svelte" rel="noopener noreferrer"&gt;here&lt;/a&gt;&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>chakraui</category>
      <category>react</category>
      <category>svelte</category>
    </item>
    <item>
      <title>Lovenotes - MongoDB Hackathon Submission</title>
      <dc:creator>Jonathan Irhodia</dc:creator>
      <pubDate>Fri, 14 Jan 2022 02:41:58 +0000</pubDate>
      <link>https://forem.com/elcharitas/lovenotes-mongodb-hackathon-submission-3l1c</link>
      <guid>https://forem.com/elcharitas/lovenotes-mongodb-hackathon-submission-3l1c</guid>
      <description>&lt;h3&gt;
  
  
  Overview of My Submission
&lt;/h3&gt;

&lt;p&gt;This project is my entry for the MongoDB hackathon. It's a fairly simple idea i came up with while thinking of the day of love coming up soon #Feb14 :D.&lt;/p&gt;

&lt;p&gt;This project allows for lovers to openly declare their affections for and to each other. It uses MongoDB Atlas to save the data and mongodb native drivers to read the data.&lt;/p&gt;

&lt;p&gt;Basically, a new love note is created by a user and sent to another. The love note is then automatically deleted thereafter.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;This is a React app project hosted on &lt;a href="//vercel.app"&gt;Vercel&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;The design was created using Chakra UI&lt;/li&gt;
&lt;li&gt;This project was created with create react app&lt;/li&gt;
&lt;li&gt;The project uses Node.js native drivers for MongoDB&lt;/li&gt;
&lt;li&gt;The source code is hosted on github at &lt;a href="https://github.com/elcharitas/mongodb-hackathon" rel="noopener noreferrer"&gt;elcharitas/mongodb-hackathon&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Submission Category: Choose Your Own Adventure
&lt;/h3&gt;

&lt;h3&gt;
  
  
  Link to Code
&lt;/h3&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fassets.dev.to%2Fassets%2Fgithub-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/elcharitas" rel="noopener noreferrer"&gt;
        elcharitas
      &lt;/a&gt; / &lt;a href="https://github.com/elcharitas/mongodb-hackathon" rel="noopener noreferrer"&gt;
        mongodb-hackathon
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Lovenotes allows lovers to connect through virtual love letters ❤️
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;
&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;Lovenotes - MongoDB Hackathon Submission&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;This project was bootstrapped with &lt;a href="https://github.com/facebook/create-react-app" rel="noopener noreferrer"&gt;Create React App&lt;/a&gt;
designed using the effluent &lt;a href="https://chakra-ui.com" rel="nofollow noopener noreferrer"&gt;Chakra UI&lt;/a&gt; and powered by &lt;a href="https://mongodb.com" rel="nofollow noopener noreferrer"&gt;MongoDB&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;This project is my entry for the MongoDB hackathon
It's a fairly simple idea i came up with while thinking of the day of love coming up soon #Feb14 :D.&lt;/p&gt;
&lt;p&gt;This project allows for lovers to openly declare their affections for and to each other.
It uses MongoDB Atlas to save the data and mongodb native drivers to read the data.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;This is a React app project hosted on &lt;a href="https://github.com/elcharitas/mongodb-hackathon/vercel.app" rel="noopener noreferrer"&gt;Vercel&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;This project was designed using &lt;a href="https://chakra-ui.com" rel="nofollow noopener noreferrer"&gt;Chakra UI&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;This project was created with create react app&lt;/li&gt;
&lt;li&gt;The project uses Node.js native drivers for MongoDB&lt;/li&gt;
&lt;li&gt;The source code is hosted on github at &lt;a href="https://github.com/elcharitas/mongodb-hackathon" rel="noopener noreferrer"&gt;elcharitas/mongodb-hackathon&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Music in this app is "Me You I" a song I love so much by &lt;a href="https://en.wikipedia.org/wiki/The_Cavemen_(band)" rel="nofollow noopener noreferrer"&gt;the cavemen&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;Submission Category: Choose Your Own Adventure&lt;/h3&gt;…&lt;/div&gt;
&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/elcharitas/mongodb-hackathon" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;h3&gt;
  
  
  Additional Resources / Info
&lt;/h3&gt;

&lt;p&gt;Demo can be found here: &lt;a href="https://mongodb-hackathon.vercel.app" rel="noopener noreferrer"&gt;https://mongodb-hackathon.vercel.app&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Screenshots
&lt;/h4&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6g09ouhqm55pnnspn2fq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6g09ouhqm55pnnspn2fq.png" alt="Home" width="800" height="800"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F419idptdrfah9io5ycnq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F419idptdrfah9io5ycnq.png" alt="Create Note" width="800" height="800"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>atlashackathon</category>
    </item>
  </channel>
</rss>
