Building apps
What is frontend?
Frontend is everything a user sees and interacts with in an application: the layout, the text, the buttons, the forms, and the behavior that responds to their input.
New to Bolt? Sign up free.
Technical definition
The frontend is the client-side portion of an application, rendered and executed in the user's browser or device. It covers markup and styling, component structure, client-side state, routing, form handling, and calls to backend APIs.
Modern frontends are usually built with a component framework, styled with a CSS framework or design system tokens, and bundled for delivery. Everything in the frontend is visible and modifiable by the user, which is why no security decision can rest there.
In plain terms
The frontend is the part of the app you can point at.
It is also the part running on your customer's device, which means they can see all of it, including anything you left in the code.
Why it matters
Two consequences matter for anyone building their own software.
The frontend is where the product either works or does not, in the only sense customers experience. A slow page, a form that fails on a phone, a button that is not obviously a button: none of these are backend problems, and all of them cost sales.
The second is a security point that catches people out. Anything you put in frontend code is public. An API key in browser JavaScript is readable by anyone who looks, and people look. Keys belong in server-side secrets storage. Permission checks belong on the server. The frontend can hide a button; it cannot stop the request behind it.
