Skip to main content
Solved

How to use Tailwind CSS with Airtable apps?

  • November 19, 2021
  • 2 replies
  • 58 views

Forum|alt.badge.img+1

I’m trying to use Tailwind CSS with Airtable, but I’m not quite sure how to properly integrate the CSS. For context, I’m an experienced backend developer but my frontend experience consists of simple HTML and building simple React components. I know little about different frontend build systems.

I know that it’s possible to import Tailwind from the CDN, but my understanding is that requires an HTML view to add the <a> tag that handles the import. Since Airtable doesn’t expose the HTML, I’m unsure if that is possible.

Does anyone know of a very simple guide that walks through creating an Airtable app with Tailwind (or any custom CSS), bundling/building it if necessary, and uploading it to Airtable?

Best answer by Kamille_Parks11

I haven’t used Tailwind but generally you import CSS either from a string (loadCSSFromString) or from a url (loadCSSFromURLAsync)

2 replies

Kamille_Parks11
Forum|alt.badge.img+27
  • Brainy
  • 2679 replies
  • Answer
  • November 19, 2021

I haven’t used Tailwind but generally you import CSS either from a string (loadCSSFromString) or from a url (loadCSSFromURLAsync)


Forum|alt.badge.img+1
  • Author
  • Inspiring
  • 5 replies
  • December 3, 2021

I haven’t used Tailwind but generally you import CSS either from a string (loadCSSFromString) or from a url (loadCSSFromURLAsync)


Perfect! Thanks so much @Kamille_Parks!!