2021-05-21
1682
#css#react
Edidiong Asikpo
49539
May 21, 2021 ⋅ 6 min read

How to use Bulma CSS with React

Edidiong Asikpo Developer Advocate at Ambassador Labs

Recent posts:

Handling File Uploads In Next.js Using UploadThing

Handling file uploads in Next.js using UploadThing

Manage file uploads in your Next.js app using UploadThing, a file upload tool to be used in full-stack TypeScript applications.

Jude Miracle
Jun 21, 2024 ⋅ 15 min read
Exploring Advanced Support For Vite 5 In Storybook 8

Exploring advanced support for Vite 5 in Storybook 8

Explore the latest updates in Storybook 8, focusing on its improved support for Vite 5 as a build tool.

Will Soares
Jun 20, 2024 ⋅ 5 min read
Using Next Js With React Suspense To Create A Loading Component

Using Next.js with Suspense to create a loading component

Next.js 13 introduced some new features like support for Suspense, a React feature that lets you delay displaying a component until the children have finished loading.

Suraj Vishwakarma
Jun 19, 2024 ⋅ 9 min read
Exploring Angular 18's Redirectcommand Class And Let Block

Exploring Angular 18’s RedirectCommand class and @let block

Angular’s latest update brings greater control over redirects and the ability to define and assign variables within the template.

Lewis Cianci
Jun 19, 2024 ⋅ 6 min read
View all posts

3 Replies to "How to use Bulma CSS with React"

  1. Thanks for the post.

    Just one thing I am confused about.

    In React I thought it was best practise to use className instead of class on html attributes?

    I see there is a mixture of class and className in this tutorial?

    Does using className on some attributes break the bulma css?

  2. The only reason behind the fact that it uses className over class is that the class is a reserved keyword in JavaScript and since we use JSX in React which itself is the extension of JavaScript, we have to use className instead of the class attribute

  3. The examples feature “classname” which is not the same as “className” and some of the elements still have plain old “class”. It’s littered with bugs, which makes me want to call into question the accuracy of this post.

Leave a Reply