Components
Components are the core of Lapikit. Without them, the library wouldn’t exist. Each component is a reusable block of code that manages a complete UI element, fully aligned with the design system defined by Lapikit.
Application
Root structure to organize the app
Accordion
Displays foldable content in sections
Alert
Information, success or error messages
Appbar
Fixed top bar with actions or navigation
Aspect ratio
Maintains a consistent width/height ratio
Avatar
Displays a profile image or initials
Button
Customizable interactive button
Card
Container with background, border and structured content
Chip
Small visual or interactive elements (tags, statuses, actions)
Dialog
Centered modal window, for interactions or important messages
Dropdown
Drop-down menu linked to a button or element
Icon
Displays a configurable SVG icon
List
Vertical list of elements with variants
Modal
Overlay window for content display
Popover
Floating tooltip anchored to an element
Separator
Line or space to separate visual sections
Textfield
Input fields for text and data entry
Toolbar
Horizontal or vertical toolbars
Tooltip
Light tooltip on element hover
Every component receives props (parameters) that allow you to customize its appearance and behavior.
A concrete example: the Button component. It displays an interactive button that can receive text, an icon, a link, or combinations of these. It automatically inherits Lapikit’s styles while remaining fully customizable (size, color, variant, states, and more).
Components can also be nested. For instance, a Card can contain a Button, images, text, or any other components. This nesting respects the Lapikit global configuration, ensuring visual consistency and accessibility across your app.
Lapikit provides a complete library of Svelte components built for speed, clarity, and maintainability. Buttons, cards, dialogs, toolbars, and more are ready to use, so you spend less time reinventing UI elements and more time focusing on user experience.
All components follow the same design logic and naming conventions, keeping your code clean, readable, and scalable. The principle is simple: write less boilerplate, build faster, and maintain full control over your interface. Lapikit empowers you to prototype smarter, implement consistently, and ship reliable, polished Svelte applications.