MithrilUI.Components (Mithril UI v0.1.2)

View Source

Main entry point for importing Mithril UI components.

Usage

Import all components:

use MithrilUI.Components

Import specific categories:

use MithrilUI.Components, only: [:forms, :feedback]

Import individual components:

import MithrilUI.Components.Button
import MithrilUI.Components.Card

Available Categories

  • :actions - Button, ButtonGroup, Dropdown
  • :navigation - Navbar, Sidebar, Breadcrumb, Pagination, Tabs, BottomNavigation
  • :data_display - Card, Table, Avatar, Badge, Accordion, ListGroup, Timeline
  • :feedback - Alert, Toast, Modal, Drawer, Progress, Spinner, Skeleton
  • :forms - Input, Textarea, Select, Checkbox, Radio, Toggle, Range, FileInput
  • :typography - Heading, Text, Link, Blockquote, Code, Kbd