CruxDevCruxDev Tools Studio Prompts

UI Components

Copy-ready UI components for every platform: Flutter, Jetpack Compose, SwiftUI, React Native, React, Vue, Tailwind & HTML/CSS.

Nine collections of copy-ready interface code, written as plain HTML and CSS you paste straight into a project. No framework, no build step, no dependency to install - which is what makes them useful across stacks, since the same markup drops into a static page, a Rails template or a React component without translation.

9 tools in this category

  • Button Components

    Copy-ready HTML & CSS for primary, secondary, ghost, outline, icon, and loading button variants.

  • Card Components

    Basic, media, stat, and horizontal card layouts with hover states. Copy HTML & CSS instantly.

  • Badge & Tag Components

    Status badges, pill tags, and dot indicators in every semantic color. Copy-ready snippets.

  • Alert & Toast Components

    Info, success, warning, and error alert boxes plus toast notification templates.

  • Form Input Components

    Styled text inputs, selects, checkboxes, radios, toggles, and textarea with focus states.

  • Modal & Dialog Template

    Accessible modal dialog HTML & CSS with overlay, header, body, footer, and close button.

  • Navigation Bar Templates

    Responsive top navbar and sidebar nav templates in plain HTML & CSS. Ready to drop in.

  • Hero Section Templates

    Centered, split-screen, and gradient hero section HTML & CSS templates. Paste and customize.

  • UI/UX Component Atlas

    300+ canonical components across Flutter, Jetpack Compose, SwiftUI, React Native, React, Vue, Tailwind & HTML/CSS — live previews, copy-ready code, official docs, and a full ecosystem map.

What is here

The building blocks cover the elements almost every interface repeats: Button Components in primary, secondary, ghost, outline, icon and loading states; Form Input Components with text fields, selects, checkboxes, radios, toggles and textareas carrying proper focus styles; Badge and Tag Components for status pills and dot indicators across the semantic colours; Alert and Toast Components for info, success, warning and error messaging; and Card Components in basic, media, stat and horizontal layouts with hover states. The larger pieces are Modal and Dialog Template, Navigation Bar Templates covering both a responsive top bar and a sidebar, and Hero Section Templates in centred, split-screen and gradient variants. UI/UX Component Atlas is the outlier and the largest: a cross-platform reference spanning Flutter, Jetpack Compose, SwiftUI, React Native, React, Vue, Tailwind and plain HTML, for when you know the component you want and need its name and shape in an unfamiliar framework.

Using them well

Treat these as a starting point rather than a design system. The fastest path is to paste a component, replace its hard-coded colours with your own CSS custom properties, and keep the structure and state handling - which is the part that takes the longest to get right and the part most likely to be skipped under deadline. Because everything is plain CSS, there is no specificity war with a framework and no class names to learn.

Accessibility notes

Focus styles are included on interactive elements and are worth keeping: removing the focus ring is a common cosmetic change that makes a form unusable for anyone navigating by keyboard. The modal template ships with the overlay, header, body, footer and close control, but a dialog is only genuinely accessible once focus is trapped inside it while open, Escape closes it, and focus returns to the element that opened it - that behaviour needs JavaScript and belongs in your application code. Colour alone should not carry meaning either: pair a red error badge with text or an icon so the state survives for colour-blind users. Alerts that appear dynamically need a live region to be announced by a screen reader.